void insertDataKeyValue(int CompanyId, string DataKey, int DataValue)
 {
     DAL.DataKeyValue dk = new DAL.DataKeyValue();
     dk.CompanyId = CompanyId;
     dk.DataKey   = DataKey.Trim(' ');
     dk.DataValue = DataValue;
     DB.DataKeyValues.Add(dk);
     DB.SaveChanges();
 }
Example #2
0
 void SetDataKeyValue(int FundMasterId, string DataKey, int DataValue)
 {
     DAL.DataKeyValue dk = new DAL.DataKeyValue();
     dk.FundMasterId = FundMasterId;
     dk.DataKey      = DataKey.Trim(' ');
     dk.DataValue    = DataValue;
     DB.DataKeyValues.Add(dk);
     DB.SaveChanges();
 }
Example #3
0
 private BLL.DataKeyValue DataKeyValueDAL_BLL(DAL.DataKeyValue DataKeyValueFrom)
 {
     BLL.DataKeyValue DataKeyValueTo = DataKeyValueFrom.toCopy <BLL.DataKeyValue>(new BLL.DataKeyValue());
     return(DataKeyValueTo);
 }