Exemplo n.º 1
0
 public CustomersRowChangeEvent(
     CustomersRow row,
     global::System.Data.DataRowAction action
     )
 {
     eventRow    = row;
     eventAction = action;
 }
 public CustomersRow AddCustomersRow(string CustomerID)
 {
     CustomersRow rowCustomersRow = ((CustomersRow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             CustomerID};
     rowCustomersRow.ItemArray = columnValuesArray;
     this.Rows.Add(rowCustomersRow);
     return rowCustomersRow;
 }
Exemplo n.º 3
0
            public CustomersRow AddCustomersRow(string CustomerID, string CompanyName)
            {
                CustomersRow rowCustomersRow = ((CustomersRow)(this.NewRow()));

                rowCustomersRow.ItemArray = new object[] {
                    CustomerID,
                    CompanyName
                };
                this.Rows.Add(rowCustomersRow);
                return(rowCustomersRow);
            }
Exemplo n.º 4
0
            public CustomersRow AddCustomersRow(string CustomerName, int Sex)
            {
                CustomersRow rowCustomersRow = ((CustomersRow)(this.NewRow()));

                rowCustomersRow.ItemArray = new object[] {
                    CustomerName,
                    null,
                    Sex
                };
                this.Rows.Add(rowCustomersRow);
                return(rowCustomersRow);
            }
Exemplo n.º 5
0
            public CustomersRow AddCustomersRow(string ContactName, string CompanyName, string Address, string City, string Country)
            {
                CustomersRow rowCustomersRow = ((CustomersRow)(this.NewRow()));

                rowCustomersRow.ItemArray = new object[] {
                    ContactName,
                    CompanyName,
                    Address,
                    City,
                    Country
                };
                this.Rows.Add(rowCustomersRow);
                return(rowCustomersRow);
            }
            public CustomersRow AddCustomersRow(string Id, string Name, string Address, string City, string State, string Zip)
            {
                CustomersRow rowCustomersRow = ((CustomersRow)(this.NewRow()));

                rowCustomersRow.ItemArray = new object[] {
                    Id,
                    Name,
                    Address,
                    City,
                    State,
                    Zip
                };
                this.Rows.Add(rowCustomersRow);
                return(rowCustomersRow);
            }
Exemplo n.º 7
0
            public CustomersRow AddCustomersRow(string CustomerID, string Country, string ContactTitle, string ContactName, string CompanyName, string City)
            {
                CustomersRow rowCustomersRow = ((CustomersRow)(this.NewRow()));

                object[] columnValuesArray = new object[] {
                    CustomerID,
                    Country,
                    ContactTitle,
                    ContactName,
                    CompanyName,
                    City
                };
                rowCustomersRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowCustomersRow);
                return(rowCustomersRow);
            }
Exemplo n.º 8
0
            public CustomersRow AddCustomersRow(string CustomerID, string CompanyName, string ContactName, string ContactTitle, string Region, string PostalCode, string Country, string Phone)
            {
                CustomersRow rowCustomersRow = ((CustomersRow)(this.NewRow()));

                rowCustomersRow.ItemArray = new object[] {
                    CustomerID,
                    CompanyName,
                    ContactName,
                    ContactTitle,
                    Region,
                    PostalCode,
                    Country,
                    Phone
                };
                this.Rows.Add(rowCustomersRow);
                return(rowCustomersRow);
            }
            public OrdersRow AddOrdersRow(CustomersRow parentCustomersRowByCustomersOrders, System.DateTime OrderDate, System.Decimal Freight, string ShipAddress, string ShipName, string ShipCity, string ShipPostalCode, string ShipCountry)
            {
                OrdersRow rowOrdersRow = ((OrdersRow)(this.NewRow()));

                rowOrdersRow.ItemArray = new object[] {
                    null,
                    parentCustomersRowByCustomersOrders[0],
                    OrderDate,
                    Freight,
                    ShipAddress,
                    ShipName,
                    ShipCity,
                    ShipPostalCode,
                    ShipCountry
                };
                this.Rows.Add(rowOrdersRow);
                return(rowOrdersRow);
            }
Exemplo n.º 10
0
            public CustomersRow AddCustomersRow(string Address, string City, string CompanyName, string ContactName, string ContactTitle, string Country, string CustomerID, string Fax, string Phone, string PostalCode, string Region)
            {
                CustomersRow rowCustomersRow = ((CustomersRow)(this.NewRow()));

                object[] columnValuesArray = new object[] {
                    Address,
                    City,
                    CompanyName,
                    ContactName,
                    ContactTitle,
                    Country,
                    CustomerID,
                    Fax,
                    Phone,
                    PostalCode,
                    Region
                };
                rowCustomersRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowCustomersRow);
                return(rowCustomersRow);
            }
 public CustomerCustomerDemoRow AddCustomerCustomerDemoRow(CustomersRow parentCustomersRowByFK_CustomerCustomerDemo_Customers, CustomerDemographicsRow parentCustomerDemographicsRowByFK_CustomerCustomerDemo) {
     CustomerCustomerDemoRow rowCustomerCustomerDemoRow = ((CustomerCustomerDemoRow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             null,
             null};
     if ((parentCustomersRowByFK_CustomerCustomerDemo_Customers != null)) {
         columnValuesArray[0] = parentCustomersRowByFK_CustomerCustomerDemo_Customers[0];
     }
     if ((parentCustomerDemographicsRowByFK_CustomerCustomerDemo != null)) {
         columnValuesArray[1] = parentCustomerDemographicsRowByFK_CustomerCustomerDemo[0];
     }
     rowCustomerCustomerDemoRow.ItemArray = columnValuesArray;
     this.Rows.Add(rowCustomerCustomerDemoRow);
     return rowCustomerCustomerDemoRow;
 }
 public CustomerCustomerDemoRow AddCustomerCustomerDemoRow(CustomersRow parentCustomersRowByFK_CustomerCustomerDemo_Customers, CustomerDemographicsRow parentCustomerDemographicsRowByFK_CustomerCustomerDemo) {
     CustomerCustomerDemoRow rowCustomerCustomerDemoRow = ((CustomerCustomerDemoRow)(this.NewRow()));
     rowCustomerCustomerDemoRow.ItemArray = new object[] {
             parentCustomersRowByFK_CustomerCustomerDemo_Customers[0],
             parentCustomerDemographicsRowByFK_CustomerCustomerDemo[0]};
     this.Rows.Add(rowCustomerCustomerDemoRow);
     return rowCustomerCustomerDemoRow;
 }
 public OrdersRow AddOrdersRow(int OrderID, CustomersRow parentCustomersRowByFK_Orders_Customers, EmployeesRow parentEmployeesRowByFK_Orders_Employees, System.DateTime OrderDate, System.DateTime ShippedDate, string ShipAddress) {
     OrdersRow rowOrdersRow = ((OrdersRow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             OrderID,
             null,
             null,
             OrderDate,
             ShippedDate,
             ShipAddress};
     if ((parentCustomersRowByFK_Orders_Customers != null)) {
         columnValuesArray[1] = parentCustomersRowByFK_Orders_Customers[0];
     }
     if ((parentEmployeesRowByFK_Orders_Employees != null)) {
         columnValuesArray[2] = parentEmployeesRowByFK_Orders_Employees[0];
     }
     rowOrdersRow.ItemArray = columnValuesArray;
     this.Rows.Add(rowOrdersRow);
     return rowOrdersRow;
 }
 public void RemoveCustomersRow(CustomersRow row) {
     this.Rows.Remove(row);
 }
 public OrdersRow AddOrdersRow(CustomersRow parentCustomersRowByCustomersOrders, int EmployeeID, System.DateTime OrderDate, System.DateTime RequiredDate, System.DateTime ShippedDate, int ShipVia, decimal Freight, string ShipName, string ShipAddress, string ShipCity, string ShipRegion, string ShipPostalCode, string ShipCountry) {
     OrdersRow rowOrdersRow = ((OrdersRow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             null,
             null,
             EmployeeID,
             OrderDate,
             RequiredDate,
             ShippedDate,
             ShipVia,
             Freight,
             ShipName,
             ShipAddress,
             ShipCity,
             ShipRegion,
             ShipPostalCode,
             ShipCountry};
     if ((parentCustomersRowByCustomersOrders != null)) {
         columnValuesArray[1] = parentCustomersRowByCustomersOrders[0];
     }
     rowOrdersRow.ItemArray = columnValuesArray;
     this.Rows.Add(rowOrdersRow);
     return rowOrdersRow;
 }
 public CustomersRowChangeEvent(CustomersRow row, global::System.Data.DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }
 public void AddCustomersRow(CustomersRow row) {
     this.Rows.Add(row);
 }
Exemplo n.º 18
0
 public OrdersRow AddOrdersRow(CustomersRow parentCustomersRowByCustomersOrders, System.DateTime OrderDate, System.Decimal Freight, string ShipAddress, string ShipName, string ShipCity, string ShipPostalCode, string ShipCountry) {
     OrdersRow rowOrdersRow = ((OrdersRow)(this.NewRow()));
     rowOrdersRow.ItemArray = new object[] {
             null,
             parentCustomersRowByCustomersOrders[0],
             OrderDate,
             Freight,
             ShipAddress,
             ShipName,
             ShipCity,
             ShipPostalCode,
             ShipCountry};
     this.Rows.Add(rowOrdersRow);
     return rowOrdersRow;
 }
 public OrdersRow AddOrdersRow(CustomersRow parentCustomersRowByFK_Orders_Customers, int EmployeeID, System.DateTime OrderDate) {
     OrdersRow rowOrdersRow = ((OrdersRow)(this.NewRow()));
     rowOrdersRow.ItemArray = new object[] {
             null,
             parentCustomersRowByFK_Orders_Customers[0],
             EmployeeID,
             OrderDate};
     this.Rows.Add(rowOrdersRow);
     return rowOrdersRow;
 }
Exemplo n.º 20
0
 public void RemoveCustomersRow(CustomersRow row)
 {
     this.Rows.Remove(row);
 }
Exemplo n.º 21
0
 public PaymentsRow AddPaymentsRow(System.Guid Id, System.DateTime PaymentDate, System.DateTime MonthPaid, decimal Amount, decimal Rate, CustomersRow parentCustomersRowByCustomerIdForeignKey)
 {
     PaymentsRow rowPaymentsRow = ((PaymentsRow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             Id,
             PaymentDate,
             MonthPaid,
             Amount,
             Rate,
             null};
     if ((parentCustomersRowByCustomerIdForeignKey != null)) {
         columnValuesArray[5] = parentCustomersRowByCustomerIdForeignKey[0];
     }
     rowPaymentsRow.ItemArray = columnValuesArray;
     this.Rows.Add(rowPaymentsRow);
     return rowPaymentsRow;
 }
 public OrdersRow AddOrdersRow(CustomersRow parentCustomersRowByCustomersOrders, EmployeesRow parentEmployeesRowByEmployeesOrders, System.DateTime OrderDate, System.DateTime RequiredDate, System.DateTime ShippedDate, ShippersRow parentShippersRowByShippersOrders, decimal Freight, string ShipName, string ShipAddress, string ShipCity, string ShipRegion, string ShipPostalCode, string ShipCountry) {
     OrdersRow rowOrdersRow = ((OrdersRow)(this.NewRow()));
     rowOrdersRow.ItemArray = new object[] {
             null,
             parentCustomersRowByCustomersOrders[0],
             parentEmployeesRowByEmployeesOrders[0],
             OrderDate,
             RequiredDate,
             ShippedDate,
             parentShippersRowByShippersOrders[0],
             Freight,
             ShipName,
             ShipAddress,
             ShipCity,
             ShipRegion,
             ShipPostalCode,
             ShipCountry};
     this.Rows.Add(rowOrdersRow);
     return rowOrdersRow;
 }
Exemplo n.º 23
0
 public void AddCustomersRow(CustomersRow row)
 {
     this.Rows.Add(row);
 }
Exemplo n.º 24
0
 public CustomersRowChangeEvent(CustomersRow row, DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }
Exemplo n.º 25
0
 public CustomersRowChangeEvent(CustomersRow row, System.Data.DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
Exemplo n.º 26
0
 public CustomersRowChangedEventArgs(CustomersRow r, System.Data.DataRowAction a) {
     this.eventRow = r;
     this.eventAction = a;
 }