This question is locked. New answers and comments are not allowed.
I am new to OpenAccess and using forward mapping in my project.
i have this class declared in Model :
[Persistent(IdentityField = "id")]
public class Currency : Entity
{
/********************************************************************
* Database Fields
* ******************************************************************/
#region Database Fields
private string code;
private string symbol;
#endregion
/********************************************************************
* Properties
* ******************************************************************/
#region Properties
[FieldAlias("code")]
public string Code
{
get { return code; }
set { code = value; }
}
[FieldAlias("symbol")]
public string Symbol
{
get { return symbol; }
set { symbol = value; }
}
}
Now i want to add two more properties here named currencyName and result . So how should i do it here so this column is also created in database side.
Thanks in advance..
i have this class declared in Model :
[Persistent(IdentityField = "id")]
public class Currency : Entity
{
/********************************************************************
* Database Fields
* ******************************************************************/
#region Database Fields
private string code;
private string symbol;
#endregion
/********************************************************************
* Properties
* ******************************************************************/
#region Properties
[FieldAlias("code")]
public string Code
{
get { return code; }
set { code = value; }
}
[FieldAlias("symbol")]
public string Symbol
{
get { return symbol; }
set { symbol = value; }
}
}
Now i want to add two more properties here named currencyName and result . So how should i do it here so this column is also created in database side.
Thanks in advance..