[DataMember]
[Column(DayColumn)]
public int DayOfWeek
{
get { return (int)this[DayColumn]; }
set { this[DayColumn] = value; }
}
/// <summary>
/// Gets or sets the open time.
/// </summary>
[DataMember]
[Column(OpenTimeColumn)]
public int OpenTime
{
get { return (int)this[OpenTimeColumn]; }
set { this[OpenTimeColumn] = value; }
}
/// <summary>
/// Gets or sets the closing time.
/// </summary>
[DataMember]
[Column(CloseTimeColumn)]
public int CloseTime
{
get { return (int)this[CloseTimeColumn]; }
set { this[CloseTimeColumn] = value; }
}
/// <summary>
/// Gets or sets the id.
/// </summary>
[Key]
[DataMember]
[Column(IdColumn)]
public long Id
{
get { return (long)this[IdColumn]; }
set { this[IdColumn] = value; }
}
}
[Help]
code above, how to generate it ?, Can it be generated directly from the database / tool or only write from scratch?
thanks,
Regrds. F20