471,330 Members | 1,048 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,330 software developers and data experts.

Presisting attributes destroyed by SQLMetal

I use sqlmetal to generate cs code.

sql metal generates property attributes in form

[Column()]
public string Floorlimit { ....

I need to specify that this property is discriminator. Since C# does not
support partial properties, I added manually to generated code

[Column(IsDiscriminator=true)]

After I re-run sqlmetal, all IsDiscriminator values are lost.

How to set IsDiscriminator property so that this value persist after cs
code is re-generated by sqlmetal ?

Andrus.

Jun 27 '08 #1
0 831

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Charles Herman | last post: by
reply views Thread by hammad.awan_nospam | last post: by
reply views Thread by Robson Felix | last post: by
3 posts views Thread by Andy | last post: by
2 posts views Thread by =?Utf-8?B?Sm9lcm4gU2Nob3UtUm9kZQ==?= | last post: by
reply views Thread by Joern Schou-Rode | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.