Identifier 'Logic.DomainObjectBase._isNew' is not CLS-compliant

http://stackoverflow.com/questions/1195030/why-is-this-name-not-cls-compliant

To get around this error you can either:

  1. Rename your property (recommended):

    protected bool isNew;
  2. Set your whole assembly to be non CLS compliant:

    [assembly:CLSCompliant(false)]
  3. Add an attribute just to your property:

    [CLSCompliant(false)]protected bool _isNew;
  4. Change the scope of the property, so that it can not be seen outside the assembly.

    private bool _isNew;

你可能感兴趣的:(object)