//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3082
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
[assembly: global::System.Data.Objects.DataClasses.EdmSchemaAttribute()]
[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("LekModel", "FK_DltAlloc_Item", "Item", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(DalEF.Item), "DltAlloc", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(DalEF.DltAlloc))]
[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("LekModel", "FK_DltAlloc_Participant", "Participant", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(DalEF.Participant), "DltAlloc", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(DalEF.DltAlloc))]
[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("LekModel", "FK_Item_DltAllocAccnt", "DltAllocAccnt", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(DalEF.DltAllocAccnt), "Item", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(DalEF.Item))]
[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("LekModel", "FK_Item_Transaction", "Transaction", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(DalEF.Transaction), "Item", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(DalEF.Item))]
[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("LekModel", "FK_NWAccntDlt_NWAccnt", "NWAccnt", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(DalEF.NWAccnt), "NWAccntDlt", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(DalEF.NWAccntDlt))]
[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("LekModel", "FK_Ownership_NWAccnt", "NWAccnt", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(DalEF.NWAccnt), "Ownership", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(DalEF.Ownership))]
[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("LekModel", "FK_NWAccntDlt_Transaction", "Transaction", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(DalEF.Transaction), "NWAccntDlt", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(DalEF.NWAccntDlt))]
[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("LekModel", "FK_Ownership_Participant", "Participant", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(DalEF.Participant), "Ownership", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(DalEF.Ownership))]
[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("LekModel", "FK_Transaction_Participant", "Participant", global::System.Data.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(DalEF.Participant), "Transaction", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(DalEF.Transaction))]
[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("LekModel", "FK_WashDlt_Participant", "Participant", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(DalEF.Participant), "WashDlt", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(DalEF.WashDlt))]
[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("LekModel", "FK_Transaction_Post", "Post", global::System.Data.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(DalEF.Post), "Transaction", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(DalEF.Transaction))]
[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("LekModel", "FK_WashDlt_Transaction", "Transaction", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(DalEF.Transaction), "WashDlt", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(DalEF.WashDlt))]
// Original file name:
// Generation date: 10/18/2009 1:46:15 PM
namespace DalEF
{
/// <summary>
/// There are no comments for LekEntities in the schema.
/// </summary>
public partial class LekEntities : global::System.Data.Objects.ObjectContext
{
/// <summary>
/// Initializes a new LekEntities object using the connection string found in the 'LekEntities' section of the application configuration file.
/// </summary>
public LekEntities() :
base("name=LekEntities", "LekEntities")
{
this.OnContextCreated();
}
/// <summary>
/// Initialize a new LekEntities object.
/// </summary>
public LekEntities(string connectionString) :
base(connectionString, "LekEntities")
{
this.OnContextCreated();
}
/// <summary>
/// Initialize a new LekEntities object.
/// </summary>
public LekEntities(global::System.Data.EntityClient.EntityConnection connection) :
base(connection, "LekEntities")
{
this.OnContextCreated();
}
partial void OnContextCreated();
/// <summary>
/// There are no comments for DltAlloc in the schema.
/// </summary>
public global::System.Data.Objects.ObjectQuery<DltAlloc> DltAlloc
{
get
{
if ((this._DltAlloc == null))
{
this._DltAlloc = base.CreateQuery<DltAlloc>("[DltAlloc]");
}
return this._DltAlloc;
}
}
private global::System.Data.Objects.ObjectQuery<DltAlloc> _DltAlloc;
/// <summary>
/// There are no comments for DltAllocAccnt in the schema.
/// </summary>
public global::System.Data.Objects.ObjectQuery<DltAllocAccnt> DltAllocAccnt
{
get
{
if ((this._DltAllocAccnt == null))
{
this._DltAllocAccnt = base.CreateQuery<DltAllocAccnt>("[DltAllocAccnt]");
}
return this._DltAllocAccnt;
}
}
private global::System.Data.Objects.ObjectQuery<DltAllocAccnt> _DltAllocAccnt;
/// <summary>
/// There are no comments for Item in the schema.
/// </summary>
public global::System.Data.Objects.ObjectQuery<Item> Item
{
get
{
if ((this._Item == null))
{
this._Item = base.CreateQuery<Item>("[Item]");
}
return this._Item;
}
}
private global::System.Data.Objects.ObjectQuery<Item> _Item;
/// <summary>
/// There are no comments for NWAccnt in the schema.
/// </summary>
public global::System.Data.Objects.ObjectQuery<NWAccnt> NWAccnt
{
get
{
if ((this._NWAccnt == null))
{
this._NWAccnt = base.CreateQuery<NWAccnt>("[NWAccnt]");
}
return this._NWAccnt;
}
}
private global::System.Data.Objects.ObjectQuery<NWAccnt> _NWAccnt;
/// <summary>
/// There are no comments for NWAccntDlt in the schema.
/// </summary>
public global::System.Data.Objects.ObjectQuery<NWAccntDlt> NWAccntDlt
{
get
{
if ((this._NWAccntDlt == null))
{
this._NWAccntDlt = base.CreateQuery<NWAccntDlt>("[NWAccntDlt]");
}
return this._NWAccntDlt;
}
}
private global::System.Data.Objects.ObjectQuery<NWAccntDlt> _NWAccntDlt;
/// <summary>
/// There are no comments for Ownership in the schema.
/// </summary>
public global::System.Data.Objects.ObjectQuery<Ownership> Ownership
{
get
{
if ((this._Ownership == null))
{
this._Ownership = base.CreateQuery<Ownership>("[Ownership]");
}
return this._Ownership;
}
}
private global::System.Data.Objects.ObjectQuery<Ownership> _Ownership;
/// <summary>
/// There are no comments for Participant in the schema.
/// </summary>
public global::System.Data.Objects.ObjectQuery<Participant> Participant
{
get
{
if ((this._Participant == null))
{
this._Participant = base.CreateQuery<Participant>("[Participant]");
}
return this._Participant;
}
}
private global::System.Data.Objects.ObjectQuery<Participant> _Participant;
/// <summary>
/// There are no comments for Post in the schema.
/// </summary>
public global::System.Data.Objects.ObjectQuery<Post> Post
{
get
{
if ((this._Post == null))
{
this._Post = base.CreateQuery<Post>("[Post]");
}
return this._Post;
}
}
private global::System.Data.Objects.ObjectQuery<Post> _Post;
/// <summary>
/// There are no comments for Transaction in the schema.
/// </summary>
public global::System.Data.Objects.ObjectQuery<Transaction> Transaction
{
get
{
if ((this._Transaction == null))
{
this._Transaction = base.CreateQuery<Transaction>("[Transaction]");
}
return this._Transaction;
}
}
private global::System.Data.Objects.ObjectQuery<Transaction> _Transaction;
/// <summary>
/// There are no comments for WashDlt in the schema.
/// </summary>
public global::System.Data.Objects.ObjectQuery<WashDlt> WashDlt
{
get
{
if ((this._WashDlt == null))
{
this._WashDlt = base.CreateQuery<WashDlt>("[WashDlt]");
}
return this._WashDlt;
}
}
private global::System.Data.Objects.ObjectQuery<WashDlt> _WashDlt;
/// <summary>
/// There are no comments for DltAlloc in the schema.
/// </summary>
public void AddToDltAlloc(DltAlloc dltAlloc)
{
base.AddObject("DltAlloc", dltAlloc);
}
/// <summary>
/// There are no comments for DltAllocAccnt in the schema.
/// </summary>
public void AddToDltAllocAccnt(DltAllocAccnt dltAllocAccnt)
{
base.AddObject("DltAllocAccnt", dltAllocAccnt);
}
/// <summary>
/// There are no comments for Item in the schema.
/// </summary>
public void AddToItem(Item item)
{
base.AddObject("Item", item);
}
/// <summary>
/// There are no comments for NWAccnt in the schema.
/// </summary>
public void AddToNWAccnt(NWAccnt nWAccnt)
{
base.AddObject("NWAccnt", nWAccnt);
}
/// <summary>
/// There are no comments for NWAccntDlt in the schema.
/// </summary>
public void AddToNWAccntDlt(NWAccntDlt nWAccntDlt)
{
base.AddObject("NWAccntDlt", nWAccntDlt);
}
/// <summary>
/// There are no comments for Ownership in the schema.
/// </summary>
public void AddToOwnership(Ownership ownership)
{
base.AddObject("Ownership", ownership);
}
/// <summary>
/// There are no comments for Participant in the schema.
/// </summary>
public void AddToParticipant(Participant participant)
{
base.AddObject("Participant", participant);
}
/// <summary>
/// There are no comments for Post in the schema.
/// </summary>
public void AddToPost(Post post)
{
base.AddObject("Post", post);
}
/// <summary>
/// There are no comments for Transaction in the schema.
/// </summary>
public void AddToTransaction(Transaction transaction)
{
base.AddObject("Transaction", transaction);
}
/// <summary>
/// There are no comments for WashDlt in the schema.
/// </summary>
public void AddToWashDlt(WashDlt washDlt)
{
base.AddObject("WashDlt", washDlt);
}
}
/// <summary>
/// There are no comments for LekModel.DltAlloc in the schema.
/// </summary>
/// <KeyProperties>
/// ID
/// </KeyProperties>
[global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="LekModel", Name="DltAlloc")]
[global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
[global::System.Serializable()]
public partial class DltAlloc : global::System.Data.Objects.DataClasses.EntityObject
{
/// <summary>
/// Create a new DltAlloc object.
/// </summary>
/// <param name="id">Initial value of ID.</param>
/// <param name="amount">Initial value of Amount.</param>
public static DltAlloc CreateDltAlloc(int id, int amount)
{
DltAlloc dltAlloc = new DltAlloc();
dltAlloc.ID = id;
dltAlloc.Amount = amount;
return dltAlloc;
}
/// <summary>
/// There are no comments for Property ID in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public int ID
{
get
{
return this._ID;
}
set
{
this.OnIDChanging(value);
this.ReportPropertyChanging("ID");
this._ID = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
this.ReportPropertyChanged("ID");
this.OnIDChanged();
}
}
private int _ID;
partial void OnIDChanging(int value);
partial void OnIDChanged();
/// <summary>
/// There are no comments for Property Amount in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public int Amount
{
get
{
return this._Amount;
}
set
{
this.OnAmountChanging(value);
this.ReportPropertyChanging("Amount");
this._Amount = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
this.ReportPropertyChanged("Amount");
this.OnAmountChanged();
}
}
private int _Amount;
partial void OnAmountChanging(int value);
partial void OnAmountChanged();
/// <summary>
/// There are no comments for Item in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("LekModel", "FK_DltAlloc_Item", "Item")]
[global::System.Xml.Serialization.XmlIgnoreAttribute()]
[global::System.Xml.Serialization.SoapIgnoreAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public Item Item
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Item>("LekModel.FK_DltAlloc_Item", "Item").Value;
}
set
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Item>("LekModel.FK_DltAlloc_Item", "Item").Value = value;
}
}
/// <summary>
/// There are no comments for Item in the schema.
/// </summary>
[global::System.ComponentModel.BrowsableAttribute(false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public global::System.Data.Objects.DataClasses.EntityReference<Item> ItemReference
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Item>("LekModel.FK_DltAlloc_Item", "Item");
}
set
{
if ((value != null))
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<Item>("LekModel.FK_DltAlloc_Item", "Item", value);
}
}
}
/// <summary>
/// There are no comments for Participant in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("LekModel", "FK_DltAlloc_Participant", "Participant")]
[global::System.Xml.Serialization.XmlIgnoreAttribute()]
[global::System.Xml.Serialization.SoapIgnoreAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public Participant Participant
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Participant>("LekModel.FK_DltAlloc_Participant", "Participant").Value;
}
set
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Participant>("LekModel.FK_DltAlloc_Participant", "Participant").Value = value;
}
}
/// <summary>
/// There are no comments for Participant in the schema.
/// </summary>
[global::System.ComponentModel.BrowsableAttribute(false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public global::System.Data.Objects.DataClasses.EntityReference<Participant> ParticipantReference
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Participant>("LekModel.FK_DltAlloc_Participant", "Participant");
}
set
{
if ((value != null))
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<Participant>("LekModel.FK_DltAlloc_Participant", "Participant", value);
}
}
}
}
/// <summary>
/// There are no comments for LekModel.DltAllocAccnt in the schema.
/// </summary>
/// <KeyProperties>
/// ID
/// </KeyProperties>
[global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="LekModel", Name="DltAllocAccnt")]
[global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
[global::System.Serializable()]
public partial class DltAllocAccnt : global::System.Data.Objects.DataClasses.EntityObject
{
/// <summary>
/// Create a new DltAllocAccnt object.
/// </summary>
/// <param name="id">Initial value of ID.</param>
/// <param name="name">Initial value of Name.</param>
/// <param name="budgeted">Initial value of Budgeted.</param>
/// <param name="timestamp">Initial value of timestamp.</param>
public static DltAllocAccnt CreateDltAllocAccnt(int id, string name, bool budgeted, byte[] timestamp)
{
DltAllocAccnt dltAllocAccnt = new DltAllocAccnt();
dltAllocAccnt.ID = id;
dltAllocAccnt.Name = name;
dltAllocAccnt.Budgeted = budgeted;
dltAllocAccnt.timestamp = timestamp;
return dltAllocAccnt;
}
/// <summary>
/// There are no comments for Property ID in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public int ID
{
get
{
return this._ID;
}
set
{
this.OnIDChanging(value);
this.ReportPropertyChanging("ID");
this._ID = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
this.ReportPropertyChanged("ID");
this.OnIDChanged();
}
}
private int _ID;
partial void OnIDChanging(int value);
partial void OnIDChanged();
/// <summary>
/// There are no comments for Property Name in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public string Name
{
get
{
return this._Name;
}
set
{
this.OnNameChanging(value);
this.ReportPropertyChanging("Name");
this._Name = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
this.ReportPropertyChanged("Name");
this.OnNameChanged();
}
}
private string _Name;
partial void OnNameChanging(string value);
partial void OnNameChanged();
/// <summary>
/// There are no comments for Property Descrip in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public string Descrip
{
get
{
return this._Descrip;
}
set
{
this.OnDescripChanging(value);
this.ReportPropertyChanging("Descrip");
this._Descrip = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
this.ReportPropertyChanged("Descrip");
this.OnDescripChanged();
}
}
private string _Descrip;
partial void OnDescripChanging(string value);
partial void OnDescripChanged();
/// <summary>
/// There are no comments for Property Budgeted in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public bool Budgeted
{
get
{
return this._Budgeted;
}
set
{
this.OnBudgetedChanging(value);
this.ReportPropertyChanging("Budgeted");
this._Budgeted = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
this.ReportPropertyChanged("Budgeted");
this.OnBudgetedChanged();
}
}
private bool _Budgeted;
partial void OnBudgetedChanging(bool value);
partial void OnBudgetedChanged();
/// <summary>
/// There are no comments for Property timestamp in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public byte[] timestamp
{
get
{
return global::System.Data.Objects.DataClasses.StructuralObject.GetValidValue(this._timestamp);
}
set
{
this.OntimestampChanging(value);
this.ReportPropertyChanging("timestamp");
this._timestamp = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
this.ReportPropertyChanged("timestamp");
this.OntimestampChanged();
}
}
private byte[] _timestamp;
partial void OntimestampChanging(byte[] value);
partial void OntimestampChanged();
/// <summary>
/// There are no comments for Item in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("LekModel", "FK_Item_DltAllocAccnt", "Item")]
[global::System.Xml.Serialization.XmlIgnoreAttribute()]
[global::System.Xml.Serialization.SoapIgnoreAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public global::System.Data.Objects.DataClasses.EntityCollection<Item> Item
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<Item>("LekModel.FK_Item_DltAllocAccnt", "Item");
}
set
{
if ((value != null))
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<Item>("LekModel.FK_Item_DltAllocAccnt", "Item", value);
}
}
}
}
/// <summary>
/// There are no comments for LekModel.Item in the schema.
/// </summary>
/// <KeyProperties>
/// ID
/// </KeyProperties>
[global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="LekModel", Name="Item")]
[global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
[global::System.Serializable()]
public partial class Item : global::System.Data.Objects.DataClasses.EntityObject
{
/// <summary>
/// Create a new Item object.
/// </summary>
/// <param name="id">Initial value of ID.</param>
/// <param name="descrip">Initial value of Descrip.</param>
public static Item CreateItem(int id, string descrip)
{
Item item = new Item();
item.ID = id;
item.Descrip = descrip;
return item;
}
/// <summary>
/// There are no comments for Property ID in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public int ID
{
get
{
return this._ID;
}
set
{
this.OnIDChanging(value);
this.ReportPropertyChanging("ID");
this._ID = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
this.ReportPropertyChanged("ID");
this.OnIDChanged();
}
}
private int _ID;
partial void OnIDChanging(int value);
partial void OnIDChanged();
/// <summary>
/// There are no comments for Property Descrip in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public string Descrip
{
get
{
return this._Descrip;
}
set
{
this.OnDescripChanging(value);
this.ReportPropertyChanging("Descrip");
this._Descrip = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
this.ReportPropertyChanged("Descrip");
this.OnDescripChanged();
}
}
private string _Descrip;
partial void OnDescripChanging(string value);
partial void OnDescripChanged();
/// <summary>
/// There are no comments for DltAlloc in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("LekModel", "FK_DltAlloc_Item", "DltAlloc")]
[global::System.Xml.Serialization.XmlIgnoreAttribute()]
[global::System.Xml.Serialization.SoapIgnoreAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public global::System.Data.Objects.DataClasses.EntityCollection<DltAlloc> DltAlloc
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<DltAlloc>("LekModel.FK_DltAlloc_Item", "DltAlloc");
}
set
{
if ((value != null))
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<DltAlloc>("LekModel.FK_DltAlloc_Item", "DltAlloc", value);
}
}
}
/// <summary>
/// There are no comments for DltAllocAccnt in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("LekModel", "FK_Item_DltAllocAccnt", "DltAllocAccnt")]
[global::System.Xml.Serialization.XmlIgnoreAttribute()]
[global::System.Xml.Serialization.SoapIgnoreAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public DltAllocAccnt DltAllocAccnt
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<DltAllocAccnt>("LekModel.FK_Item_DltAllocAccnt", "DltAllocAccnt").Value;
}
set
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<DltAllocAccnt>("LekModel.FK_Item_DltAllocAccnt", "DltAllocAccnt").Value = value;
}
}
/// <summary>
/// There are no comments for DltAllocAccnt in the schema.
/// </summary>
[global::System.ComponentModel.BrowsableAttribute(false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public global::System.Data.Objects.DataClasses.EntityReference<DltAllocAccnt> DltAllocAccntReference
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<DltAllocAccnt>("LekModel.FK_Item_DltAllocAccnt", "DltAllocAccnt");
}
set
{
if ((value != null))
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<DltAllocAccnt>("LekModel.FK_Item_DltAllocAccnt", "DltAllocAccnt", value);
}
}
}
/// <summary>
/// There are no comments for Transaction in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("LekModel", "FK_Item_Transaction", "Transaction")]
[global::System.Xml.Serialization.XmlIgnoreAttribute()]
[global::System.Xml.Serialization.SoapIgnoreAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public Transaction Transaction
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Transaction>("LekModel.FK_Item_Transaction", "Transaction").Value;
}
set
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Transaction>("LekModel.FK_Item_Transaction", "Transaction").Value = value;
}
}
/// <summary>
/// There are no comments for Transaction in the schema.
/// </summary>
[global::System.ComponentModel.BrowsableAttribute(false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public global::System.Data.Objects.DataClasses.EntityReference<Transaction> TransactionReference
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Transaction>("LekModel.FK_Item_Transaction", "Transaction");
}
set
{
if ((value != null))
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<Transaction>("LekModel.FK_Item_Transaction", "Transaction", value);
}
}
}
}
/// <summary>
/// There are no comments for LekModel.NWAccnt in the schema.
/// </summary>
/// <KeyProperties>
/// ID
/// </KeyProperties>
[global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="LekModel", Name="NWAccnt")]
[global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
[global::System.Serializable()]
public partial class NWAccnt : global::System.Data.Objects.DataClasses.EntityObject
{
/// <summary>
/// Create a new NWAccnt object.
/// </summary>
/// <param name="id">Initial value of ID.</param>
/// <param name="name">Initial value of Name.</param>
/// <param name="budgeted">Initial value of Budgeted.</param>
/// <param name="timestamp">Initial value of timestamp.</param>
public static NWAccnt CreateNWAccnt(int id, string name, bool budgeted, byte[] timestamp)
{
NWAccnt nWAccnt = new NWAccnt();
nWAccnt.ID = id;
nWAccnt.Name = name;
nWAccnt.Budgeted = budgeted;
nWAccnt.timestamp = timestamp;
return nWAccnt;
}
/// <summary>
/// There are no comments for Property ID in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public int ID
{
get
{
return this._ID;
}
set
{
this.OnIDChanging(value);
this.ReportPropertyChanging("ID");
this._ID = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
this.ReportPropertyChanged("ID");
this.OnIDChanged();
}
}
private int _ID;
partial void OnIDChanging(int value);
partial void OnIDChanged();
/// <summary>
/// There are no comments for Property Name in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public string Name
{
get
{
return this._Name;
}
set
{
this.OnNameChanging(value);
this.ReportPropertyChanging("Name");
this._Name = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
this.ReportPropertyChanged("Name");
this.OnNameChanged();
}
}
private string _Name;
partial void OnNameChanging(string value);
partial void OnNameChanged();
/// <summary>
/// There are no comments for Property Descrip in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public string Descrip
{
get
{
return this._Descrip;
}
set
{
this.OnDescripChanging(value);
this.ReportPropertyChanging("Descrip");
this._Descrip = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
this.ReportPropertyChanged("Descrip");
this.OnDescripChanged();
}
}
private string _Descrip;
partial void OnDescripChanging(string value);
partial void OnDescripChanged();
/// <summary>
/// There are no comments for Property Budgeted in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public bool Budgeted
{
get
{
return this._Budgeted;
}
set
{
this.OnBudgetedChanging(value);
this.ReportPropertyChanging("Budgeted");
this._Budgeted = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
this.ReportPropertyChanged("Budgeted");
this.OnBudgetedChanged();
}
}
private bool _Budgeted;
partial void OnBudgetedChanging(bool value);
partial void OnBudgetedChanged();
/// <summary>
/// There are no comments for Property timestamp in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public byte[] timestamp
{
get
{
return global::System.Data.Objects.DataClasses.StructuralObject.GetValidValue(this._timestamp);
}
set
{
this.OntimestampChanging(value);
this.ReportPropertyChanging("timestamp");
this._timestamp = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
this.ReportPropertyChanged("timestamp");
this.OntimestampChanged();
}
}
private byte[] _timestamp;
partial void OntimestampChanging(byte[] value);
partial void OntimestampChanged();
/// <summary>
/// There are no comments for NWAccntDlt in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("LekModel", "FK_NWAccntDlt_NWAccnt", "NWAccntDlt")]
[global::System.Xml.Serialization.XmlIgnoreAttribute()]
[global::System.Xml.Serialization.SoapIgnoreAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public global::System.Data.Objects.DataClasses.EntityCollection<NWAccntDlt> NWAccntDlt
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<NWAccntDlt>("LekModel.FK_NWAccntDlt_NWAccnt", "NWAccntDlt");
}
set
{
if ((value != null))
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<NWAccntDlt>("LekModel.FK_NWAccntDlt_NWAccnt", "NWAccntDlt", value);
}
}
}
/// <summary>
/// There are no comments for Ownership in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("LekModel", "FK_Ownership_NWAccnt", "Ownership")]
[global::System.Xml.Serialization.XmlIgnoreAttribute()]
[global::System.Xml.Serialization.SoapIgnoreAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public global::System.Data.Objects.DataClasses.EntityCollection<Ownership> Ownership
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<Ownership>("LekModel.FK_Ownership_NWAccnt", "Ownership");
}
set
{
if ((value != null))
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<Ownership>("LekModel.FK_Ownership_NWAccnt", "Ownership", value);
}
}
}
}
/// <summary>
/// There are no comments for LekModel.NWAccntDlt in the schema.
/// </summary>
/// <KeyProperties>
/// ID
/// </KeyProperties>
[global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="LekModel", Name="NWAccntDlt")]
[global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
[global::System.Serializable()]
public partial class NWAccntDlt : global::System.Data.Objects.DataClasses.EntityObject
{
/// <summary>
/// Create a new NWAccntDlt object.
/// </summary>
/// <param name="id">Initial value of ID.</param>
/// <param name="amount">Initial value of Amount.</param>
public static NWAccntDlt CreateNWAccntDlt(int id, int amount)
{
NWAccntDlt nWAccntDlt = new NWAccntDlt();
nWAccntDlt.ID = id;
nWAccntDlt.Amount = amount;
return nWAccntDlt;
}
/// <summary>
/// There are no comments for Property ID in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public int ID
{
get
{
return this._ID;
}
set
{
this.OnIDChanging(value);
this.ReportPropertyChanging("ID");
this._ID = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
this.ReportPropertyChanged("ID");
this.OnIDChanged();
}
}
private int _ID;
partial void OnIDChanging(int value);
partial void OnIDChanged();
/// <summary>
/// There are no comments for Property Amount in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public int Amount
{
get
{
return this._Amount;
}
set
{
this.OnAmountChanging(value);
this.ReportPropertyChanging("Amount");
this._Amount = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
this.ReportPropertyChanged("Amount");
this.OnAmountChanged();
}
}
private int _Amount;
partial void OnAmountChanging(int value);
partial void OnAmountChanged();
/// <summary>
/// There are no comments for NWAccnt in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("LekModel", "FK_NWAccntDlt_NWAccnt", "NWAccnt")]
[global::System.Xml.Serialization.XmlIgnoreAttribute()]
[global::System.Xml.Serialization.SoapIgnoreAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public NWAccnt NWAccnt
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<NWAccnt>("LekModel.FK_NWAccntDlt_NWAccnt", "NWAccnt").Value;
}
set
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<NWAccnt>("LekModel.FK_NWAccntDlt_NWAccnt", "NWAccnt").Value = value;
}
}
/// <summary>
/// There are no comments for NWAccnt in the schema.
/// </summary>
[global::System.ComponentModel.BrowsableAttribute(false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public global::System.Data.Objects.DataClasses.EntityReference<NWAccnt> NWAccntReference
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<NWAccnt>("LekModel.FK_NWAccntDlt_NWAccnt", "NWAccnt");
}
set
{
if ((value != null))
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<NWAccnt>("LekModel.FK_NWAccntDlt_NWAccnt", "NWAccnt", value);
}
}
}
/// <summary>
/// There are no comments for Transaction in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("LekModel", "FK_NWAccntDlt_Transaction", "Transaction")]
[global::System.Xml.Serialization.XmlIgnoreAttribute()]
[global::System.Xml.Serialization.SoapIgnoreAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public Transaction Transaction
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Transaction>("LekModel.FK_NWAccntDlt_Transaction", "Transaction").Value;
}
set
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Transaction>("LekModel.FK_NWAccntDlt_Transaction", "Transaction").Value = value;
}
}
/// <summary>
/// There are no comments for Transaction in the schema.
/// </summary>
[global::System.ComponentModel.BrowsableAttribute(false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public global::System.Data.Objects.DataClasses.EntityReference<Transaction> TransactionReference
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Transaction>("LekModel.FK_NWAccntDlt_Transaction", "Transaction");
}
set
{
if ((value != null))
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<Transaction>("LekModel.FK_NWAccntDlt_Transaction", "Transaction", value);
}
}
}
}
/// <summary>
/// There are no comments for LekModel.Ownership in the schema.
/// </summary>
/// <KeyProperties>
/// ID
/// </KeyProperties>
[global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="LekModel", Name="Ownership")]
[global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
[global::System.Serializable()]
public partial class Ownership : global::System.Data.Objects.DataClasses.EntityObject
{
/// <summary>
/// Create a new Ownership object.
/// </summary>
/// <param name="id">Initial value of ID.</param>
/// <param name="shares">Initial value of Shares.</param>
public static Ownership CreateOwnership(int id, int shares)
{
Ownership ownership = new Ownership();
ownership.ID = id;
ownership.Shares = shares;
return ownership;
}
/// <summary>
/// There are no comments for Property ID in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public int ID
{
get
{
return this._ID;
}
set
{
this.OnIDChanging(value);
this.ReportPropertyChanging("ID");
this._ID = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
this.ReportPropertyChanged("ID");
this.OnIDChanged();
}
}
private int _ID;
partial void OnIDChanging(int value);
partial void OnIDChanged();
/// <summary>
/// There are no comments for Property Shares in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public int Shares
{
get
{
return this._Shares;
}
set
{
this.OnSharesChanging(value);
this.ReportPropertyChanging("Shares");
this._Shares = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
this.ReportPropertyChanged("Shares");
this.OnSharesChanged();
}
}
private int _Shares;
partial void OnSharesChanging(int value);
partial void OnSharesChanged();
/// <summary>
/// There are no comments for NWAccnt in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("LekModel", "FK_Ownership_NWAccnt", "NWAccnt")]
[global::System.Xml.Serialization.XmlIgnoreAttribute()]
[global::System.Xml.Serialization.SoapIgnoreAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public NWAccnt NWAccnt
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<NWAccnt>("LekModel.FK_Ownership_NWAccnt", "NWAccnt").Value;
}
set
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<NWAccnt>("LekModel.FK_Ownership_NWAccnt", "NWAccnt").Value = value;
}
}
/// <summary>
/// There are no comments for NWAccnt in the schema.
/// </summary>
[global::System.ComponentModel.BrowsableAttribute(false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public global::System.Data.Objects.DataClasses.EntityReference<NWAccnt> NWAccntReference
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<NWAccnt>("LekModel.FK_Ownership_NWAccnt", "NWAccnt");
}
set
{
if ((value != null))
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<NWAccnt>("LekModel.FK_Ownership_NWAccnt", "NWAccnt", value);
}
}
}
/// <summary>
/// There are no comments for Participant in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("LekModel", "FK_Ownership_Participant", "Participant")]
[global::System.Xml.Serialization.XmlIgnoreAttribute()]
[global::System.Xml.Serialization.SoapIgnoreAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public Participant Participant
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Participant>("LekModel.FK_Ownership_Participant", "Participant").Value;
}
set
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Participant>("LekModel.FK_Ownership_Participant", "Participant").Value = value;
}
}
/// <summary>
/// There are no comments for Participant in the schema.
/// </summary>
[global::System.ComponentModel.BrowsableAttribute(false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public global::System.Data.Objects.DataClasses.EntityReference<Participant> ParticipantReference
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Participant>("LekModel.FK_Ownership_Participant", "Participant");
}
set
{
if ((value != null))
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<Participant>("LekModel.FK_Ownership_Participant", "Participant", value);
}
}
}
}
/// <summary>
/// There are no comments for LekModel.Participant in the schema.
/// </summary>
/// <KeyProperties>
/// ID
/// </KeyProperties>
[global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="LekModel", Name="Participant")]
[global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
[global::System.Serializable()]
public partial class Participant : global::System.Data.Objects.DataClasses.EntityObject
{
/// <summary>
/// Create a new Participant object.
/// </summary>
/// <param name="id">Initial value of ID.</param>
/// <param name="name">Initial value of Name.</param>
/// <param name="timestamp">Initial value of timestamp.</param>
public static Participant CreateParticipant(int id, string name, byte[] timestamp)
{
Participant participant = new Participant();
participant.ID = id;
participant.Name = name;
participant.timestamp = timestamp;
return participant;
}
/// <summary>
/// There are no comments for Property ID in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public int ID
{
get
{
return this._ID;
}
set
{
this.OnIDChanging(value);
this.ReportPropertyChanging("ID");
this._ID = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
this.ReportPropertyChanged("ID");
this.OnIDChanged();
}
}
private int _ID;
partial void OnIDChanging(int value);
partial void OnIDChanged();
/// <summary>
/// There are no comments for Property Name in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public string Name
{
get
{
return this._Name;
}
set
{
this.OnNameChanging(value);
this.ReportPropertyChanging("Name");
this._Name = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
this.ReportPropertyChanged("Name");
this.OnNameChanged();
}
}
private string _Name;
partial void OnNameChanging(string value);
partial void OnNameChanged();
/// <summary>
/// There are no comments for Property timestamp in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public byte[] timestamp
{
get
{
return global::System.Data.Objects.DataClasses.StructuralObject.GetValidValue(this._timestamp);
}
set
{
this.OntimestampChanging(value);
this.ReportPropertyChanging("timestamp");
this._timestamp = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
this.ReportPropertyChanged("timestamp");
this.OntimestampChanged();
}
}
private byte[] _timestamp;
partial void OntimestampChanging(byte[] value);
partial void OntimestampChanged();
/// <summary>
/// There are no comments for DltAlloc in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("LekModel", "FK_DltAlloc_Participant", "DltAlloc")]
[global::System.Xml.Serialization.XmlIgnoreAttribute()]
[global::System.Xml.Serialization.SoapIgnoreAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public global::System.Data.Objects.DataClasses.EntityCollection<DltAlloc> DltAlloc
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<DltAlloc>("LekModel.FK_DltAlloc_Participant", "DltAlloc");
}
set
{
if ((value != null))
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<DltAlloc>("LekModel.FK_DltAlloc_Participant", "DltAlloc", value);
}
}
}
/// <summary>
/// There are no comments for Ownership in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("LekModel", "FK_Ownership_Participant", "Ownership")]
[global::System.Xml.Serialization.XmlIgnoreAttribute()]
[global::System.Xml.Serialization.SoapIgnoreAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public global::System.Data.Objects.DataClasses.EntityCollection<Ownership> Ownership
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<Ownership>("LekModel.FK_Ownership_Participant", "Ownership");
}
set
{
if ((value != null))
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<Ownership>("LekModel.FK_Ownership_Participant", "Ownership", value);
}
}
}
/// <summary>
/// There are no comments for Transaction in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("LekModel", "FK_Transaction_Participant", "Transaction")]
[global::System.Xml.Serialization.XmlIgnoreAttribute()]
[global::System.Xml.Serialization.SoapIgnoreAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public global::System.Data.Objects.DataClasses.EntityCollection<Transaction> Transaction
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<Transaction>("LekModel.FK_Transaction_Participant", "Transaction");
}
set
{
if ((value != null))
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<Transaction>("LekModel.FK_Transaction_Participant", "Transaction", value);
}
}
}
/// <summary>
/// There are no comments for WashDlt in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("LekModel", "FK_WashDlt_Participant", "WashDlt")]
[global::System.Xml.Serialization.XmlIgnoreAttribute()]
[global::System.Xml.Serialization.SoapIgnoreAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public global::System.Data.Objects.DataClasses.EntityCollection<WashDlt> WashDlt
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<WashDlt>("LekModel.FK_WashDlt_Participant", "WashDlt");
}
set
{
if ((value != null))
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<WashDlt>("LekModel.FK_WashDlt_Participant", "WashDlt", value);
}
}
}
}
/// <summary>
/// There are no comments for LekModel.Post in the schema.
/// </summary>
/// <KeyProperties>
/// ID
/// </KeyProperties>
[global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="LekModel", Name="Post")]
[global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
[global::System.Serializable()]
public partial class Post : global::System.Data.Objects.DataClasses.EntityObject
{
/// <summary>
/// Create a new Post object.
/// </summary>
/// <param name="id">Initial value of ID.</param>
/// <param name="instant">Initial value of Instant.</param>
public static Post CreatePost(int id, global::System.DateTime instant)
{
Post post = new Post();
post.ID = id;
post.Instant = instant;
return post;
}
/// <summary>
/// There are no comments for Property ID in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public int ID
{
get
{
return this._ID;
}
set
{
this.OnIDChanging(value);
this.ReportPropertyChanging("ID");
this._ID = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
this.ReportPropertyChanged("ID");
this.OnIDChanged();
}
}
private int _ID;
partial void OnIDChanging(int value);
partial void OnIDChanged();
/// <summary>
/// There are no comments for Property Instant in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public global::System.DateTime Instant
{
get
{
return this._Instant;
}
set
{
this.OnInstantChanging(value);
this.ReportPropertyChanging("Instant");
this._Instant = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
this.ReportPropertyChanged("Instant");
this.OnInstantChanged();
}
}
private global::System.DateTime _Instant;
partial void OnInstantChanging(global::System.DateTime value);
partial void OnInstantChanged();
/// <summary>
/// There are no comments for Transaction in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("LekModel", "FK_Transaction_Post", "Transaction")]
[global::System.Xml.Serialization.XmlIgnoreAttribute()]
[global::System.Xml.Serialization.SoapIgnoreAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public global::System.Data.Objects.DataClasses.EntityCollection<Transaction> Transaction
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<Transaction>("LekModel.FK_Transaction_Post", "Transaction");
}
set
{
if ((value != null))
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<Transaction>("LekModel.FK_Transaction_Post", "Transaction", value);
}
}
}
}
/// <summary>
/// There are no comments for LekModel.Transaction in the schema.
/// </summary>
/// <KeyProperties>
/// ID
/// </KeyProperties>
[global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="LekModel", Name="Transaction")]
[global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
[global::System.Serializable()]
public partial class Transaction : global::System.Data.Objects.DataClasses.EntityObject
{
/// <summary>
/// Create a new Transaction object.
/// </summary>
/// <param name="id">Initial value of ID.</param>
/// <param name="descrip">Initial value of Descrip.</param>
/// <param name="instant">Initial value of Instant.</param>
/// <param name="timestamp">Initial value of timestamp.</param>
public static Transaction CreateTransaction(int id, string descrip, global::System.DateTime instant, byte[] timestamp)
{
Transaction transaction = new Transaction();
transaction.ID = id;
transaction.Descrip = descrip;
transaction.Instant = instant;
transaction.timestamp = timestamp;
return transaction;
}
/// <summary>
/// There are no comments for Property ID in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public int ID
{
get
{
return this._ID;
}
set
{
this.OnIDChanging(value);
this.ReportPropertyChanging("ID");
this._ID = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
this.ReportPropertyChanged("ID");
this.OnIDChanged();
}
}
private int _ID;
partial void OnIDChanging(int value);
partial void OnIDChanged();
/// <summary>
/// There are no comments for Property Descrip in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public string Descrip
{
get
{
return this._Descrip;
}
set
{
this.OnDescripChanging(value);
this.ReportPropertyChanging("Descrip");
this._Descrip = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
this.ReportPropertyChanged("Descrip");
this.OnDescripChanged();
}
}
private string _Descrip;
partial void OnDescripChanging(string value);
partial void OnDescripChanged();
/// <summary>
/// There are no comments for Property Instant in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public global::System.DateTime Instant
{
get
{
return this._Instant;
}
set
{
this.OnInstantChanging(value);
this.ReportPropertyChanging("Instant");
this._Instant = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
this.ReportPropertyChanged("Instant");
this.OnInstantChanged();
}
}
private global::System.DateTime _Instant;
partial void OnInstantChanging(global::System.DateTime value);
partial void OnInstantChanged();
/// <summary>
/// There are no comments for Property timestamp in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public byte[] timestamp
{
get
{
return global::System.Data.Objects.DataClasses.StructuralObject.GetValidValue(this._timestamp);
}
set
{
this.OntimestampChanging(value);
this.ReportPropertyChanging("timestamp");
this._timestamp = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
this.ReportPropertyChanged("timestamp");
this.OntimestampChanged();
}
}
private byte[] _timestamp;
partial void OntimestampChanging(byte[] value);
partial void OntimestampChanged();
/// <summary>
/// There are no comments for Item in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("LekModel", "FK_Item_Transaction", "Item")]
[global::System.Xml.Serialization.XmlIgnoreAttribute()]
[global::System.Xml.Serialization.SoapIgnoreAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public global::System.Data.Objects.DataClasses.EntityCollection<Item> Item
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<Item>("LekModel.FK_Item_Transaction", "Item");
}
set
{
if ((value != null))
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<Item>("LekModel.FK_Item_Transaction", "Item", value);
}
}
}
/// <summary>
/// There are no comments for NWAccntDlt in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("LekModel", "FK_NWAccntDlt_Transaction", "NWAccntDlt")]
[global::System.Xml.Serialization.XmlIgnoreAttribute()]
[global::System.Xml.Serialization.SoapIgnoreAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public global::System.Data.Objects.DataClasses.EntityCollection<NWAccntDlt> NWAccntDlt
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<NWAccntDlt>("LekModel.FK_NWAccntDlt_Transaction", "NWAccntDlt");
}
set
{
if ((value != null))
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<NWAccntDlt>("LekModel.FK_NWAccntDlt_Transaction", "NWAccntDlt", value);
}
}
}
/// <summary>
/// There are no comments for Participant in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("LekModel", "FK_Transaction_Participant", "Participant")]
[global::System.Xml.Serialization.XmlIgnoreAttribute()]
[global::System.Xml.Serialization.SoapIgnoreAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public Participant Participant
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Participant>("LekModel.FK_Transaction_Participant", "Participant").Value;
}
set
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Participant>("LekModel.FK_Transaction_Participant", "Participant").Value = value;
}
}
/// <summary>
/// There are no comments for Participant in the schema.
/// </summary>
[global::System.ComponentModel.BrowsableAttribute(false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public global::System.Data.Objects.DataClasses.EntityReference<Participant> ParticipantReference
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Participant>("LekModel.FK_Transaction_Participant", "Participant");
}
set
{
if ((value != null))
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<Participant>("LekModel.FK_Transaction_Participant", "Participant", value);
}
}
}
/// <summary>
/// There are no comments for Post in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("LekModel", "FK_Transaction_Post", "Post")]
[global::System.Xml.Serialization.XmlIgnoreAttribute()]
[global::System.Xml.Serialization.SoapIgnoreAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public Post Post
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Post>("LekModel.FK_Transaction_Post", "Post").Value;
}
set
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Post>("LekModel.FK_Transaction_Post", "Post").Value = value;
}
}
/// <summary>
/// There are no comments for Post in the schema.
/// </summary>
[global::System.ComponentModel.BrowsableAttribute(false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public global::System.Data.Objects.DataClasses.EntityReference<Post> PostReference
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Post>("LekModel.FK_Transaction_Post", "Post");
}
set
{
if ((value != null))
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<Post>("LekModel.FK_Transaction_Post", "Post", value);
}
}
}
/// <summary>
/// There are no comments for WashDlt in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("LekModel", "FK_WashDlt_Transaction", "WashDlt")]
[global::System.Xml.Serialization.XmlIgnoreAttribute()]
[global::System.Xml.Serialization.SoapIgnoreAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public global::System.Data.Objects.DataClasses.EntityCollection<WashDlt> WashDlt
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<WashDlt>("LekModel.FK_WashDlt_Transaction", "WashDlt");
}
set
{
if ((value != null))
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<WashDlt>("LekModel.FK_WashDlt_Transaction", "WashDlt", value);
}
}
}
}
/// <summary>
/// There are no comments for LekModel.WashDlt in the schema.
/// </summary>
/// <KeyProperties>
/// ID
/// </KeyProperties>
[global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="LekModel", Name="WashDlt")]
[global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
[global::System.Serializable()]
public partial class WashDlt : global::System.Data.Objects.DataClasses.EntityObject
{
/// <summary>
/// Create a new WashDlt object.
/// </summary>
/// <param name="id">Initial value of ID.</param>
/// <param name="amount">Initial value of Amount.</param>
public static WashDlt CreateWashDlt(int id, int amount)
{
WashDlt washDlt = new WashDlt();
washDlt.ID = id;
washDlt.Amount = amount;
return washDlt;
}
/// <summary>
/// There are no comments for Property ID in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public int ID
{
get
{
return this._ID;
}
set
{
this.OnIDChanging(value);
this.ReportPropertyChanging("ID");
this._ID = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
this.ReportPropertyChanged("ID");
this.OnIDChanged();
}
}
private int _ID;
partial void OnIDChanging(int value);
partial void OnIDChanged();
/// <summary>
/// There are no comments for Property Amount in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public int Amount
{
get
{
return this._Amount;
}
set
{
this.OnAmountChanging(value);
this.ReportPropertyChanging("Amount");
this._Amount = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
this.ReportPropertyChanged("Amount");
this.OnAmountChanged();
}
}
private int _Amount;
partial void OnAmountChanging(int value);
partial void OnAmountChanged();
/// <summary>
/// There are no comments for Participant in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("LekModel", "FK_WashDlt_Participant", "Participant")]
[global::System.Xml.Serialization.XmlIgnoreAttribute()]
[global::System.Xml.Serialization.SoapIgnoreAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public Participant Participant
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Participant>("LekModel.FK_WashDlt_Participant", "Participant").Value;
}
set
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Participant>("LekModel.FK_WashDlt_Participant", "Participant").Value = value;
}
}
/// <summary>
/// There are no comments for Participant in the schema.
/// </summary>
[global::System.ComponentModel.BrowsableAttribute(false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public global::System.Data.Objects.DataClasses.EntityReference<Participant> ParticipantReference
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Participant>("LekModel.FK_WashDlt_Participant", "Participant");
}
set
{
if ((value != null))
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<Participant>("LekModel.FK_WashDlt_Participant", "Participant", value);
}
}
}
/// <summary>
/// There are no comments for Transaction in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("LekModel", "FK_WashDlt_Transaction", "Transaction")]
[global::System.Xml.Serialization.XmlIgnoreAttribute()]
[global::System.Xml.Serialization.SoapIgnoreAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public Transaction Transaction
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Transaction>("LekModel.FK_WashDlt_Transaction", "Transaction").Value;
}
set
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Transaction>("LekModel.FK_WashDlt_Transaction", "Transaction").Value = value;
}
}
/// <summary>
/// There are no comments for Transaction in the schema.
/// </summary>
[global::System.ComponentModel.BrowsableAttribute(false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public global::System.Data.Objects.DataClasses.EntityReference<Transaction> TransactionReference
{
get
{
return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Transaction>("LekModel.FK_WashDlt_Transaction", "Transaction");
}
set
{
if ((value != null))
{
((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<Transaction>("LekModel.FK_WashDlt_Transaction", "Transaction", value);
}
}
}
}
}