public static List <UserType> GetUpdatesAfter(long?lastVersion, DateTime?lastUpdateTime) { BLL.UserType v = new BLL.UserType(); if (lastVersion.HasValue && lastVersion.Value != 0) { v.LoadUpdatesAfter(Convert.ToInt32(lastVersion.Value)); } else if (lastUpdateTime.HasValue) { // v.LoadUpdatesAfterByTime(lastUpdateTime.Value); } else { v.LoadAll(); } return(ToList(v)); }
public static List<UserType> GetAll() { BLL.UserType v = new BLL.UserType(); v.LoadAll(); return ToList(v); }
public static List <UserType> GetAll() { BLL.UserType v = new BLL.UserType(); v.LoadAll(); return(ToList(v)); }
public static List<UserType> GetUpdatesAfter(long? lastVersion,DateTime? lastUpdateTime) { BLL.UserType v = new BLL.UserType(); if(lastVersion.HasValue && lastVersion.Value != 0) { v.LoadUpdatesAfter( Convert.ToInt32(lastVersion.Value) ); }else if(lastUpdateTime.HasValue) { // v.LoadUpdatesAfterByTime(lastUpdateTime.Value); }else { v.LoadAll(); } return ToList(v); }