public static bool Update(ActivityHistoryEntity activityHistoryEntity, DbTransaction trans = null, string zoneId = "") { var provider = new ActivityHistoryProvider(zoneId); return(provider.Update(activityHistoryEntity, trans)); }
public static List <ActivityHistoryEntity> GetAll(string zoneId = "") { var provider = new ActivityHistoryProvider(zoneId); return(provider.GetAll()); }
public static bool Delete(System.Int32 idx, DbTransaction trans = null, string zoneId = "") { ActivityHistoryProvider provider = new ActivityHistoryProvider(zoneId); return(provider.Delete(idx, trans)); }
public static ActivityHistoryEntity GetById(System.Int32 idx, string zoneId = "") { var provider = new ActivityHistoryProvider(zoneId); return(provider.GetById(idx)); }