namespace HRM.BO { #region AutoObject public class AutoObject : BasicBaseObject { #region Constructor public AutoObject() { MenuKey = string.Empty; Name = string.Empty; } #endregion #region Properties public string Name { get; set; } public string MenuKey { get; set; } //#region Service Factory IDesignationService : IDesignationService //internal static IAutoObjectService Service //{ // get { return Services.Factory.CreateService(typeof(IAutoObjectService)); } //} //#endregion #endregion } #endregion #region IAutoObjectService Service public interface IAutoObjectService { AutoObject Get(string sFormName); int Save(AutoObject item); void Delete(int id); } #endregion }