public void load_Base__PlateType_plateTypeId() { BLL.Entity.GasStation.Base__PlateType entity; BLL.Logic.GasStation.Base__PlateType logic; entity = new BLL.Entity.GasStation.Base__PlateType() { id = plateTypeId }; logic = new BLL.Logic.GasStation.Base__PlateType("GasStation"); logic.read(entity); _Base__PlateType_plateTypeId = entity; }
public void loadBase__PlateType_updatedById(int pageIndex = -1, int pageSize = 100) { CommandResult opResult; BLL.Logic.GasStation.Base__PlateType logic = new BLL.Logic.GasStation.Base__PlateType(Common.Enum.EDatabase.GasStation); if (pageIndex == -1) { opResult = logic.allData("updatedById = @updatedById", "", false, true, new KeyValuePair("@updatedById", id)); } else { opResult = logic.allByPaging(pageIndex, pageSize, "updatedById = @updatedById", "", false, true, new KeyValuePair("@updatedById", id)); } if (opResult.status == BaseDAL.Base.EnumCommandStatus.success) { _get_Base__PlateType_updatedById = opResult.model as System.Data.DataTable; } }