[global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(
	NamespaceName="NorthwindModel", Name="Customers")]
[global::System.Runtime.Serialization.DataContractAttribute()]
[global::System.Serializable()]
public partial class Customers:
global::System.Data.Objects.DataClasses.EntityObject {

public static Customers CreateCustomers(
string customerID, string companyName) {
Customers customers = new Customers();
customers.CustomerID = customerID;
customers.CompanyName = companyName;
return customers;
}

[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(
	EntityKeyProperty=true, IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public string CustomerID {
get {
	return this._CustomerID;
}
set {
this.OnCustomerIDChanging(value);
this.ReportPropertyChanging("CustomerID");
this._CustomerID =
global::System.Data.Objects.DataClasses
.StructuralObject.SetValidValue(value, false, 5);
this.ReportPropertyChanged("CustomerID");
this.OnCustomerIDChanged();
}
}
private string _CustomerID;
partial void OnCustomerIDChanging(string value);
partial void OnCustomerIDChanged();

// kd vynechn ...
[global::System.Data.Objects.DataClasses
.EdmRelationshipNavigationPropertyAttribute("NorthwindModel",
	"FK_Orders_Customers", "Orders")]
[global::System.Xml.Serialization.XmlIgnoreAttribute()]
[global::System.Xml.Serialization.SoapIgnoreAttribute()]
[global::System.ComponentModel.BrowsableAttribute(false)]
public global::System.Data.Objects.DataClasses
.EntityCollection<Orders> Orders {
get {
return ((global::System.Data.Objects.DataClasses
.IEntityWithRelationships)(this)).RelationshipManager
.GetRelatedCollection<Orders>(
	"NorthwindModel.FK_Orders_Customers", "Orders");
}
}
}
