[Table(Name="dbo.Customers")]
[DataContract()]
public partial class Customer : INotifyPropertyChanging, InotifyPropertyChanged {
// ...
private string _CustomerID;
// ...

[Column(Storage="_CustomerID", DbType="NChar(5) NOT NULL",
	CanBeNull=false, IsPrimaryKey=true)]
[DataMember(Order = 1)]
public string CustomerID {
get { return this._CustomerID; }
set {
if ((this._CustomerID != value)) {
this.OnCustomerIDChanging(value);
this.SendPropertyChanging();
this._CustomerID = value;
this.SendPropertyChanged("CustomerID");
this.OnCustomerIDChanged();
}
}
}
// kd vynechn ...
[Association(Name="Customer_Order", Storage="_Orders", OtherKey="CustomerID")]
[DataMember(Order = 12)]
public EntitySet<Order> Orders {
get {
	return this._Orders;
}
set {
	this._Orders.Assign(value);
}
}
}
