Exemple #1
0
 public Employee()
 {
     this._Employees = new DbLinq.Data.Linq.EntitySet<Employee>(new Action<Employee>(this.attach_Employees), new Action<Employee>(this.detach_Employees));
     this._EmployeeTerritories = new DbLinq.Data.Linq.EntitySet<EmployeeTerritory>(new Action<EmployeeTerritory>(this.attach_EmployeeTerritories), new Action<EmployeeTerritory>(this.detach_EmployeeTerritories));
     this._Orders = new DbLinq.Data.Linq.EntitySet<Order>(new Action<Order>(this.attach_Orders), new Action<Order>(this.detach_Orders));
     this._ReportsToEmployee = default(DbLinq.Data.Linq.EntityRef<Employee>);
     OnCreated();
 }
Exemple #2
0
 public Territory()
 {
     this._EmployeeTerritories = new DbLinq.Data.Linq.EntitySet<EmployeeTerritory>(new Action<EmployeeTerritory>(this.attach_EmployeeTerritories), new Action<EmployeeTerritory>(this.detach_EmployeeTerritories));
     this._Region = default(DbLinq.Data.Linq.EntityRef<Region>);
     OnCreated();
 }
Exemple #3
0
 public Product()
 {
     this._OrderDetails = new DbLinq.Data.Linq.EntitySet<OrderDetail>(new Action<OrderDetail>(this.attach_OrderDetails), new Action<OrderDetail>(this.detach_OrderDetails));
     this._Category = default(DbLinq.Data.Linq.EntityRef<Category>);
     this._Supplier = default(DbLinq.Data.Linq.EntityRef<Supplier>);
     OnCreated();
 }
Exemple #4
0
 public Order()
 {
     this._OrderDetails = new DbLinq.Data.Linq.EntitySet<OrderDetail>(new Action<OrderDetail>(this.attach_OrderDetails), new Action<OrderDetail>(this.detach_OrderDetails));
     this._Customer = default(DbLinq.Data.Linq.EntityRef<Customer>);
     this._Employee = default(DbLinq.Data.Linq.EntityRef<Employee>);
     this._Shipper = default(DbLinq.Data.Linq.EntityRef<Shipper>);
     OnCreated();
 }
Exemple #5
0
 public EmployeeTerritory()
 {
     this._Employee = default(DbLinq.Data.Linq.EntityRef<Employee>);
     this._Territory = default(DbLinq.Data.Linq.EntityRef<Territory>);
     OnCreated();
 }
Exemple #6
0
 public OrderDetail()
 {
     this._Order = default(DbLinq.Data.Linq.EntityRef<Order>);
     this._Product = default(DbLinq.Data.Linq.EntityRef<Product>);
     OnCreated();
 }