Exemplo n.º 1
0
 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();
 }
Exemplo n.º 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();
 }
Exemplo n.º 3
0
 private BLL.DataKeyValue DataKeyValueDAL_BLL(DAL.DataKeyValue DataKeyValueFrom)
 {
     BLL.DataKeyValue DataKeyValueTo = DataKeyValueFrom.toCopy <BLL.DataKeyValue>(new BLL.DataKeyValue());
     return(DataKeyValueTo);
 }