| Milos Quick Start |
| Typical modifications to BusinessEntity source code |
/// <summary> /// NewEntity /// Used to create a new entity instance. /// </summary> public static UserBusinessEntity NewEntity() { return new UserBusinessEntity(); }
/// <summary> /// Load Entity /// Used to create a new entity instance using the passed id. /// </summary> /// <param name="id">Primary Key</param> public static UserBusinessEntity LoadEntity(System.Guid id) { return new UserBusinessEntity(id); }
/// <summary> /// Override the GetBusinessObject method /// </summary> public override EPS.Business.BusinessObjects.IBusinessObject GetBusinessObject() { return UserBusinessObject.NewInstance(); }
/// <summary> /// Property for Note /// </summary> public string Note { get { return this.GetFieldValue("Note").ToString().Trim(); } set { this.SetFieldValue("Note", value); } }