public static void Update(BoPhanInfo _BoPhanInfo) { DataAccessProvider.Instance().InsertBoPhan(_BoPhanInfo); }
public static int Insert(BoPhanInfo _BoPhanInfo) { return DataAccessProvider.Instance().InsertBoPhan(_BoPhanInfo); }
public static int Insert(BoPhanInfo _BoPhanInfo) { return(DataAccessProvider.Instance().InsertBoPhan(_BoPhanInfo)); }
public override void UpdateBoPhan(BoPhanInfo _BoPhanInfo) { SqlHelper.ExecuteNonQuery(this.ConnectionString, "BoPhan_Update", _BoPhanInfo.ID, _BoPhanInfo.Ten, _BoPhanInfo.MoTa); }
public override int InsertBoPhan(BoPhanInfo _BoPhanInfo) { return (int)SqlHelper.ExecuteScalar(this.ConnectionString, "BoPhan_Insert", _BoPhanInfo.Ten, _BoPhanInfo.MoTa); }
public abstract void UpdateBoPhan(BoPhanInfo _BoPhanInfo);
public abstract int InsertBoPhan(BoPhanInfo _BoPhanInfo);