Click here to Skip to main content
15,893,663 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello

I want to My DBML designer.cs class default constructor is not automatically generated when I changed my dbml class file.

I can Set Application Setting = "False" but still it created default constructor.How can I Avoid this?

how can I do that?It is possible?

Thanks
Piyush

[edit]SHOUTING removed - OriginalGriff[/edit]
Posted
Updated 24-Jan-13 1:00am
v2
Comments
OriginalGriff 24-Jan-13 7:00am    
DON'T SHOUT. Using all capitals is considered shouting on the internet, and rude (using all lower case is considered childish). Use proper capitalisation if you want to be taken seriously.

1 solution

I too have this problem.

The only way I have found is to set the connection string on the dbml designer to 'none' each time I change the dbml designer.

I hope that's an answer to the question you asked. If not then please clarify the issue
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900