I've created entity model for my DB classes, here is one of them:
[EdmEntityTypeAttribute(NamespaceName="SotiModel", Name="SKUPrice")]
[Serializable()]
[DataContractAttribute(IsReference=true)]
public partial class SKUPrice : EntityObject
{
...
}
and created partial class for one of them
public partial class SKUPrice
{
}
The problem here is that 'partial' world is written in 'light' color and resharper suggests: 'partial class with a single part'.
It seems like my 'own' part of partial class is not matched to the 'main' part...
Why? How to fix that?
P.S. I'm working in VS2010, under Windows7 (64bit)
I don't know what is actually a problem, but due to some reason if I copy/paste class source code from one file to another and after that rename class name and name of metadata class name - that is not 'considered' by Visual studio as valid class.
If I delete file with that "broken" class, and TYPE EVERYTHING manualy from scratch - file is accepted by studio...
Strange and stupid thing... but it is...