コード例 #1
0
ファイル: MDataSet.Designer.cs プロジェクト: vpjulia/Salvia
 public virtual int Fill(MDataSet.inventoryDetailsDataTable dataTable) {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     if ((this.ClearBeforeFill == true)) {
         dataTable.Clear();
     }
     int returnValue = this.Adapter.Fill(dataTable);
     return returnValue;
 }
コード例 #2
0
ファイル: MDataSet.Designer.cs プロジェクト: vpjulia/Salvia
 public virtual int FillNew(MDataSet.RemainsDataTable dataTable) {
     this.Adapter.SelectCommand = this.CommandCollection[3];
     if ((this.ClearBeforeFill == true)) {
         dataTable.Clear();
     }
     int returnValue = this.Adapter.Fill(dataTable);
     return returnValue;
 }
コード例 #3
0
ファイル: MDataSet.Designer.cs プロジェクト: vpjulia/Salvia
 public virtual int FillByStartPeriod(MDataSet.OrdersDataTable dataTable, System.Nullable<System.DateTime> begin) {
     this.Adapter.SelectCommand = this.CommandCollection[1];
     if ((begin.HasValue == true)) {
         this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(begin.Value));
     }
     else {
         this.Adapter.SelectCommand.Parameters[1].Value = System.DBNull.Value;
     }
     if ((this.ClearBeforeFill == true)) {
         dataTable.Clear();
     }
     int returnValue = this.Adapter.Fill(dataTable);
     return returnValue;
 }
コード例 #4
0
ファイル: MDataSet.Designer.cs プロジェクト: vpjulia/Salvia
 public virtual int FillOrders(MDataSet.ProductDataTable dataTable) {
     this.Adapter.SelectCommand = this.CommandCollection[4];
     if ((this.ClearBeforeFill == true)) {
         dataTable.Clear();
     }
     int returnValue = this.Adapter.Fill(dataTable);
     return returnValue;
 }
コード例 #5
0
ファイル: MDataSet.Designer.cs プロジェクト: vpjulia/Salvia
 public virtual int FillByReceiptDetailRef(MDataSet.RemainsDataTable dataTable, System.Nullable<int> id) {
     this.Adapter.SelectCommand = this.CommandCollection[2];
     if ((id.HasValue == true)) {
         this.Adapter.SelectCommand.Parameters[1].Value = ((int)(id.Value));
     }
     else {
         this.Adapter.SelectCommand.Parameters[1].Value = System.DBNull.Value;
     }
     if ((this.ClearBeforeFill == true)) {
         dataTable.Clear();
     }
     int returnValue = this.Adapter.Fill(dataTable);
     return returnValue;
 }
コード例 #6
0
ファイル: MDataSet.Designer.cs プロジェクト: vpjulia/Salvia
 public virtual int FillByPeriodNum(MDataSet.ReceiptMasterDataTable dataTable, System.Nullable<int> num) {
     this.Adapter.SelectCommand = this.CommandCollection[2];
     if ((num.HasValue == true)) {
         this.Adapter.SelectCommand.Parameters[1].Value = ((int)(num.Value));
     }
     else {
         this.Adapter.SelectCommand.Parameters[1].Value = System.DBNull.Value;
     }
     if ((this.ClearBeforeFill == true)) {
         dataTable.Clear();
     }
     int returnValue = this.Adapter.Fill(dataTable);
     return returnValue;
 }
コード例 #7
0
ファイル: MDataSet.Designer.cs プロジェクト: vpjulia/Salvia
 public virtual int FillById(MDataSet.ProductDataTable dataTable, System.Nullable<int> ProductRef) {
     this.Adapter.SelectCommand = this.CommandCollection[2];
     if ((ProductRef.HasValue == true)) {
         this.Adapter.SelectCommand.Parameters[1].Value = ((int)(ProductRef.Value));
     }
     else {
         this.Adapter.SelectCommand.Parameters[1].Value = System.DBNull.Value;
     }
     if ((this.ClearBeforeFill == true)) {
         dataTable.Clear();
     }
     int returnValue = this.Adapter.Fill(dataTable);
     return returnValue;
 }
コード例 #8
0
ファイル: MDataSet.Designer.cs プロジェクト: vpjulia/Salvia
 public virtual int FillById(MDataSet.InvoiceDetailDataTable dataTable, System.Nullable<int> Id) {
     this.Adapter.SelectCommand = this.CommandCollection[1];
     if ((Id.HasValue == true)) {
         this.Adapter.SelectCommand.Parameters[1].Value = ((int)(Id.Value));
     }
     else {
         this.Adapter.SelectCommand.Parameters[1].Value = System.DBNull.Value;
     }
     if ((this.ClearBeforeFill == true)) {
         dataTable.Clear();
     }
     int returnValue = this.Adapter.Fill(dataTable);
     return returnValue;
 }
コード例 #9
0
ファイル: MDataSet.Designer.cs プロジェクト: vpjulia/Salvia
 public virtual int Fill(MDataSet.LinkedInvoiceMasterDataTable dataTable, System.Nullable<int> TradePutletRef) {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     if ((TradePutletRef.HasValue == true)) {
         this.Adapter.SelectCommand.Parameters[1].Value = ((int)(TradePutletRef.Value));
     }
     else {
         this.Adapter.SelectCommand.Parameters[1].Value = System.DBNull.Value;
     }
     if ((this.ClearBeforeFill == true)) {
         dataTable.Clear();
     }
     int returnValue = this.Adapter.Fill(dataTable);
     return returnValue;
 }
コード例 #10
0
ファイル: MDataSet.Designer.cs プロジェクト: vpjulia/Salvia
 public virtual int FillBy(MDataSet.RemainsDataTable dataTable, System.Nullable<int> Original_ID, byte[] Original_RowVersion) {
     this.Adapter.SelectCommand = this.CommandCollection[1];
     if ((Original_ID.HasValue == true)) {
         this.Adapter.SelectCommand.Parameters[1].Value = ((int)(Original_ID.Value));
     }
     else {
         this.Adapter.SelectCommand.Parameters[1].Value = System.DBNull.Value;
     }
     if ((Original_RowVersion == null)) {
         this.Adapter.SelectCommand.Parameters[2].Value = System.DBNull.Value;
     }
     else {
         this.Adapter.SelectCommand.Parameters[2].Value = ((byte[])(Original_RowVersion));
     }
     if ((this.ClearBeforeFill == true)) {
         dataTable.Clear();
     }
     int returnValue = this.Adapter.Fill(dataTable);
     return returnValue;
 }
コード例 #11
0
ファイル: MDataSet.Designer.cs プロジェクト: vpjulia/Salvia
 public virtual int FillByName(MDataSet.ManufacturerDataTable dataTable, string name) {
     this.Adapter.SelectCommand = this.CommandCollection[1];
     if ((name == null)) {
         this.Adapter.SelectCommand.Parameters[1].Value = System.DBNull.Value;
     }
     else {
         this.Adapter.SelectCommand.Parameters[1].Value = ((string)(name));
     }
     if ((this.ClearBeforeFill == true)) {
         dataTable.Clear();
     }
     int returnValue = this.Adapter.Fill(dataTable);
     return returnValue;
 }
コード例 #12
0
ファイル: MDataSet.Designer.cs プロジェクト: vpjulia/Salvia
 public virtual int FillNew(MDataSet.OrganizationDataTable dataTable, System.Nullable<System.DateTime> DateLastUpdate) {
     this.Adapter.SelectCommand = this.CommandCollection[1];
     if ((DateLastUpdate.HasValue == true)) {
         this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(DateLastUpdate.Value));
     }
     else {
         this.Adapter.SelectCommand.Parameters[1].Value = System.DBNull.Value;
     }
     if ((this.ClearBeforeFill == true)) {
         dataTable.Clear();
     }
     int returnValue = this.Adapter.Fill(dataTable);
     return returnValue;
 }