A
Andrus
I looked into northwind database sample code in MS Linq samples
Every entity has 3 partial methods:
#region Extensibility Method Definitions
partial void OnLoaded();
partial void OnValidate();
partial void OnCreated();
OnLoaded and OnValidate are not called in any place.
Why they are in generated code ?
Why compiler does not throw error if partial method is not used in any place
? This is is coding error and must be addressed.
Andrus.
Every entity has 3 partial methods:
#region Extensibility Method Definitions
partial void OnLoaded();
partial void OnValidate();
partial void OnCreated();
OnLoaded and OnValidate are not called in any place.
Why they are in generated code ?
Why compiler does not throw error if partial method is not used in any place
? This is is coding error and must be addressed.
Andrus.