public bool SaveAreaPO(ADMAreaPO areaPO) { try { areaPO.ModifiedDate = System.DateTime.Now; if (areaPO.AreaPOID > 0) { areaPO.CreatedDate = System.DateTime.Now; return _AreaPODAOLinq.Add(areaPO); } else { return _AreaPODAOLinq.Edit(areaPO); } } catch (Exception ex) { return false; } }
partial void DeleteADMAreaPO(ADMAreaPO instance);
partial void UpdateADMAreaPO(ADMAreaPO instance);
partial void InsertADMAreaPO(ADMAreaPO instance);
private void detach_ADMAreaPOs(ADMAreaPO entity) { this.SendPropertyChanging(); entity.ADMUpazilaPS = null; }