コード例 #1
0
ファイル: BusinessEntityLogic.cs プロジェクト: ramyothman/RBM
 public bool Insert(BusinessEntity businessentity)
 {
     int autonumber = 0;
     BusinessEntityDAC businessentityComponent = new BusinessEntityDAC();
     bool endedSuccessfuly = businessentityComponent.InsertNewBusinessEntity( ref autonumber,  businessentity.RowGuid,  businessentity.ModifiedDate);
     if(endedSuccessfuly)
     {
         businessentity.BusinessEntityId = autonumber;
     }
     return endedSuccessfuly;
 }
コード例 #2
0
ファイル: BusinessEntityLogic.cs プロジェクト: ramyothman/RBM
        public bool Insert( Guid RowGuid,  DateTime ModifiedDate)
        {
            BusinessEntityDAC businessentityComponent = new BusinessEntityDAC();
            int BusinessEntityId = 0;

            return businessentityComponent.InsertNewBusinessEntity( ref BusinessEntityId,  RowGuid,  ModifiedDate);
        }