public void load_Base__CarType_carTypeId() { BLL.Entity.GasStation.Base__CarType entity; BLL.Logic.GasStation.Base__CarType logic; entity = new BLL.Entity.GasStation.Base__CarType() { id = carTypeId }; logic = new BLL.Logic.GasStation.Base__CarType("GasStation"); logic.read(entity); _Base__CarType_carTypeId = entity; }
public void loadBase__CarType_updatedById(int pageIndex = -1, int pageSize = 100) { CommandResult opResult; BLL.Logic.GasStation.Base__CarType logic = new BLL.Logic.GasStation.Base__CarType(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__CarType_updatedById = opResult.model as System.Data.DataTable; } }