Exemple #1
0
        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;
            }
        }
Exemple #2
0
 partial void DeleteADMAreaPO(ADMAreaPO instance);
Exemple #3
0
 partial void UpdateADMAreaPO(ADMAreaPO instance);
Exemple #4
0
 partial void InsertADMAreaPO(ADMAreaPO instance);
Exemple #5
0
		private void detach_ADMAreaPOs(ADMAreaPO entity)
		{
			this.SendPropertyChanging();
			entity.ADMUpazilaPS = null;
		}