This question is locked. New answers and comments are not allowed.
Hello
I have a partial class For EntitiesModel and i have a property type string for this class.
I want to instantiate the property oBind on the constructor
and the constructor is only static
How i can write this ?
thanks
Olivier
I have a partial class For EntitiesModel and i have a property type string for this class.
public
partial
class
EntitiesModel
{
#region Déclaration des Propriétés
public
string
cTableName {
get
;
set
;
}
protected
Binding oBind
{
get
;
set
;
}
#endregion
I want to instantiate the property oBind on the constructor
and the constructor is only static
How i can write this ?
static
EntitiesModel()
{
this
.oBind =
new
Binding();
}
thanks
Olivier