public void load_Tag_tagId() { BLL.Entity.GasStation.Tag entity; BLL.Logic.GasStation.Tag logic; entity = new BLL.Entity.GasStation.Tag() { id = tagId }; logic = new BLL.Logic.GasStation.Tag("GasStation"); logic.read(entity); _Tag_tagId = entity; }
public void load_Tag_tagId() { BLL.Entity.GasStation.Tag entity; BLL.Logic.GasStation.Tag logic; entity = new BLL.Entity.GasStation.Tag() { id = tagId }; logic = new BLL.Logic.GasStation.Tag(Common.Enum.EDatabase.GasStation); logic.read(entity); _Tag_tagId = entity; }
public void loadTag_updatedById(int pageIndex = -1, int pageSize = 100) { CommandResult opResult; BLL.Logic.GasStation.Tag logic = new BLL.Logic.GasStation.Tag(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_Tag_updatedById = opResult.model as System.Data.DataTable; } }