R
rcook349
I would like to be in full-compliance with Code Analysis.
However, since I am using LINQ to SQL, I am frequently re-generating my
DataClasses.dbml as the data model continues to evolve. I.e. if I modified
the DBML to satisfy the Code Analysis items, I would just be wiping them out
again the next time (every time) I generate an updated DBML.
I'm sure I could turn off the Code Analysis checkboxes that pertain to those
errors, but I would really like to be able to say I am in full-compliance.
Any thoughts/suggestions?
Here are two sample errors:
Error 6 CA2227 : Microsoft.Usage : Change 'Tournament.TournamentPlayers' to
be read-only by removing the property setter.
C:\Data\Westinis\Projects\Tournama.Business.Library\DataClasses.designer.cs
1336 Tournama.Business.Library
Error 7 CA1056 : Microsoft.Design : Change the type of property
'Tournament.TournamentUrl' from string to System.Uri.
C:\Data\Westinis\Projects\Tournama.Business.Library\DataClasses.designer.cs
1259 Tournama.Business.Library
Thanks.
However, since I am using LINQ to SQL, I am frequently re-generating my
DataClasses.dbml as the data model continues to evolve. I.e. if I modified
the DBML to satisfy the Code Analysis items, I would just be wiping them out
again the next time (every time) I generate an updated DBML.
I'm sure I could turn off the Code Analysis checkboxes that pertain to those
errors, but I would really like to be able to say I am in full-compliance.
Any thoughts/suggestions?
Here are two sample errors:
Error 6 CA2227 : Microsoft.Usage : Change 'Tournament.TournamentPlayers' to
be read-only by removing the property setter.
C:\Data\Westinis\Projects\Tournama.Business.Library\DataClasses.designer.cs
1336 Tournama.Business.Library
Error 7 CA1056 : Microsoft.Design : Change the type of property
'Tournament.TournamentUrl' from string to System.Uri.
C:\Data\Westinis\Projects\Tournama.Business.Library\DataClasses.designer.cs
1259 Tournama.Business.Library
Thanks.