public virtual bool Equals(Order other) { if(ReferenceEquals(null, other)) { return false; } if(ReferenceEquals(this, other)) { return true; } if(OrderId != default(int)) { return other.OrderId == OrderId; } return other.OrderId == OrderId && other.OrderDate == OrderDate && other.RequiredDate == RequiredDate && other.ShippedDate == ShippedDate && other.Freight == Freight && other.ShipName == ShipName && other.ShipAddress == ShipAddress && other.ShipCity == ShipCity && other.ShipRegion == ShipRegion && other.ShipPostalCode == ShipPostalCode && other.ShipCountry == ShipCountry && other.Customer == Customer && other.Employee == Employee && other.Shipper == Shipper; }
public void Create(Order v) { _Northwind.Save(v); }
public void Delete(Order v) { _Northwind.Delete(v); }
public void Update(Order v) { _Northwind.Update(v); }
public void Delete(Order v) { _northwind.GetCurrentSession().Delete(v); }
public void Create(Order v) { _northwind.GetCurrentSession().Save(v); }
public void Update(Order v) { _northwind.GetCurrentSession().Update(v); }
public string ToString(Order obj) { return obj.OrderId.ToString(); }