internal List <DMBangKeThueInfo> Search(DMBangKeThueInfo dmBangKeThueInfo) { return(GetListCommand <DMBangKeThueInfo>(Declare.StoreProcedureNamespace.spBangKeThueSearch, dmBangKeThueInfo.KyHieu, dmBangKeThueInfo.Ten)); }
public bool Exist(DMBangKeThueInfo dmBangKeThueInfo) { ExecuteCommand(Declare.StoreProcedureNamespace.spBangKeThueExist, dmBangKeThueInfo.Id, dmBangKeThueInfo.KyHieu); return(Convert.ToInt32(Parameters["p_Count"].Value) == 1); }
internal int Insert(DMBangKeThueInfo dmBangKeThueInfo) { ExecuteCommand(Declare.StoreProcedureNamespace.spBangKeThueInsert, ParseToParams(dmBangKeThueInfo)); return(Convert.ToInt32(Parameters["p_Id"].Value.ToString())); }
internal void Delete(DMBangKeThueInfo dmBangKeThueInfo) { ExecuteCommand(Declare.StoreProcedureNamespace.spBangKeThueDelete, dmBangKeThueInfo.Id); }
internal void Update(DMBangKeThueInfo dmBangKeThueInfo) { ExecuteCommand(Declare.StoreProcedureNamespace.spBangKeThueUpdate, ParseToParams(dmBangKeThueInfo)); }