//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// 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()]
// Original file name:
// Generation date: 2010/4/16 14:50:20
namespace Everest.Providers.Versioning.DB{
/// <summary>
/// There are no comments for EverestVersioningEntities in the schema.
/// </summary>
public partial class EverestVersioningEntities : global::System.Data.Objects.ObjectContext
{
/// <summary>
/// Initializes a new EverestVersioningEntities object using the connection string found in the 'EverestVersioningEntities' section of the application configuration file.
/// </summary>
public EverestVersioningEntities() :
base("name=EverestVersioningEntities", "EverestVersioningEntities")
{
this.OnContextCreated();
}
/// <summary>
/// Initialize a new EverestVersioningEntities object.
/// </summary>
public EverestVersioningEntities(string connectionString) :
base(connectionString, "EverestVersioningEntities")
{
this.OnContextCreated();
}
/// <summary>
/// Initialize a new EverestVersioningEntities object.
/// </summary>
public EverestVersioningEntities(global::System.Data.EntityClient.EntityConnection connection) :
base(connection, "EverestVersioningEntities")
{
this.OnContextCreated();
}
partial void OnContextCreated();
/// <summary>
/// There are no comments for Everest_VersionItem in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
public global::System.Data.Objects.ObjectQuery<Everest_VersionItem> Everest_VersionItem
{
get
{
if ((this._Everest_VersionItem == null))
{
this._Everest_VersionItem = base.CreateQuery<Everest_VersionItem>("[Everest_VersionItem]");
}
return this._Everest_VersionItem;
}
}
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
private global::System.Data.Objects.ObjectQuery<Everest_VersionItem> _Everest_VersionItem;
/// <summary>
/// There are no comments for Everest_VersionItem in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
public void AddToEverest_VersionItem(Everest_VersionItem everest_VersionItem)
{
base.AddObject("Everest_VersionItem", everest_VersionItem);
}
}
/// <summary>
/// There are no comments for EverestVersioningModel.Everest_VersionItem in the schema.
/// </summary>
/// <KeyProperties>
/// VersionUUID
/// </KeyProperties>
[global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="EverestVersioningModel", Name="Everest_VersionItem")]
[global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
[global::System.Serializable()]
public partial class Everest_VersionItem : global::System.Data.Objects.DataClasses.EntityObject
{
/// <summary>
/// Create a new Everest_VersionItem object.
/// </summary>
/// <param name="uUID">Initial value of UUID.</param>
/// <param name="dateTime">Initial value of DateTime.</param>
/// <param name="revision">Initial value of Revision.</param>
/// <param name="checkinUser">Initial value of CheckinUser.</param>
/// <param name="checkinComment">Initial value of CheckinComment.</param>
/// <param name="versionUUID">Initial value of VersionUUID.</param>
/// <param name="versionID">Initial value of VersionID.</param>
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
public static Everest_VersionItem CreateEverest_VersionItem(global::System.Guid uUID, global::System.DateTime dateTime, int revision, string checkinUser, string checkinComment, global::System.Guid versionUUID, int versionID)
{
Everest_VersionItem everest_VersionItem = new Everest_VersionItem();
everest_VersionItem.UUID = uUID;
everest_VersionItem.DateTime = dateTime;
everest_VersionItem.Revision = revision;
everest_VersionItem.CheckinUser = checkinUser;
everest_VersionItem.CheckinComment = checkinComment;
everest_VersionItem.VersionUUID = versionUUID;
everest_VersionItem.VersionID = versionID;
return everest_VersionItem;
}
/// <summary>
/// There are no comments for property UUID in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
public global::System.Guid UUID
{
get
{
return this._UUID;
}
set
{
this.OnUUIDChanging(value);
this.ReportPropertyChanging("UUID");
this._UUID = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
this.ReportPropertyChanged("UUID");
this.OnUUIDChanged();
}
}
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
private global::System.Guid _UUID;
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
partial void OnUUIDChanging(global::System.Guid value);
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
partial void OnUUIDChanged();
/// <summary>
/// There are no comments for property Size in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
public global::System.Nullable<int> Size
{
get
{
return this._Size;
}
set
{
this.OnSizeChanging(value);
this.ReportPropertyChanging("Size");
this._Size = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
this.ReportPropertyChanged("Size");
this.OnSizeChanged();
}
}
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
private global::System.Nullable<int> _Size;
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
partial void OnSizeChanging(global::System.Nullable<int> value);
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
partial void OnSizeChanged();
/// <summary>
/// There are no comments for property DateTime in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
public global::System.DateTime DateTime
{
get
{
return this._DateTime;
}
set
{
this.OnDateTimeChanging(value);
this.ReportPropertyChanging("DateTime");
this._DateTime = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
this.ReportPropertyChanged("DateTime");
this.OnDateTimeChanged();
}
}
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
private global::System.DateTime _DateTime;
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
partial void OnDateTimeChanging(global::System.DateTime value);
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
partial void OnDateTimeChanged();
/// <summary>
/// There are no comments for property Revision in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
public int Revision
{
get
{
return this._Revision;
}
set
{
this.OnRevisionChanging(value);
this.ReportPropertyChanging("Revision");
this._Revision = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
this.ReportPropertyChanged("Revision");
this.OnRevisionChanged();
}
}
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
private int _Revision;
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
partial void OnRevisionChanging(int value);
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
partial void OnRevisionChanged();
/// <summary>
/// There are no comments for property Body in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
public string Body
{
get
{
return this._Body;
}
set
{
this.OnBodyChanging(value);
this.ReportPropertyChanging("Body");
this._Body = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
this.ReportPropertyChanged("Body");
this.OnBodyChanged();
}
}
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
private string _Body;
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
partial void OnBodyChanging(string value);
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
partial void OnBodyChanged();
/// <summary>
/// There are no comments for property CheckoutBy in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
public string CheckoutBy
{
get
{
return this._CheckoutBy;
}
set
{
this.OnCheckoutByChanging(value);
this.ReportPropertyChanging("CheckoutBy");
this._CheckoutBy = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
this.ReportPropertyChanged("CheckoutBy");
this.OnCheckoutByChanged();
}
}
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
private string _CheckoutBy;
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
partial void OnCheckoutByChanging(string value);
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
partial void OnCheckoutByChanged();
/// <summary>
/// There are no comments for property ObjectType in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
public string ObjectType
{
get
{
return this._ObjectType;
}
set
{
this.OnObjectTypeChanging(value);
this.ReportPropertyChanging("ObjectType");
this._ObjectType = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
this.ReportPropertyChanged("ObjectType");
this.OnObjectTypeChanged();
}
}
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
private string _ObjectType;
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
partial void OnObjectTypeChanging(string value);
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
partial void OnObjectTypeChanged();
/// <summary>
/// There are no comments for property CheckinUser in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
public string CheckinUser
{
get
{
return this._CheckinUser;
}
set
{
this.OnCheckinUserChanging(value);
this.ReportPropertyChanging("CheckinUser");
this._CheckinUser = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
this.ReportPropertyChanged("CheckinUser");
this.OnCheckinUserChanged();
}
}
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
private string _CheckinUser;
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
partial void OnCheckinUserChanging(string value);
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
partial void OnCheckinUserChanged();
/// <summary>
/// There are no comments for property CheckinComment in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
public string CheckinComment
{
get
{
return this._CheckinComment;
}
set
{
this.OnCheckinCommentChanging(value);
this.ReportPropertyChanging("CheckinComment");
this._CheckinComment = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
this.ReportPropertyChanged("CheckinComment");
this.OnCheckinCommentChanged();
}
}
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
private string _CheckinComment;
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
partial void OnCheckinCommentChanging(string value);
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
partial void OnCheckinCommentChanged();
/// <summary>
/// There are no comments for property CheckoutComment in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
public string CheckoutComment
{
get
{
return this._CheckoutComment;
}
set
{
this.OnCheckoutCommentChanging(value);
this.ReportPropertyChanging("CheckoutComment");
this._CheckoutComment = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
this.ReportPropertyChanged("CheckoutComment");
this.OnCheckoutCommentChanged();
}
}
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
private string _CheckoutComment;
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
partial void OnCheckoutCommentChanging(string value);
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
partial void OnCheckoutCommentChanged();
/// <summary>
/// There are no comments for property SnapshotFormName in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
public string SnapshotFormName
{
get
{
return this._SnapshotFormName;
}
set
{
this.OnSnapshotFormNameChanging(value);
this.ReportPropertyChanging("SnapshotFormName");
this._SnapshotFormName = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
this.ReportPropertyChanged("SnapshotFormName");
this.OnSnapshotFormNameChanged();
}
}
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
private string _SnapshotFormName;
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
partial void OnSnapshotFormNameChanging(string value);
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
partial void OnSnapshotFormNameChanged();
/// <summary>
/// There are no comments for property VersionUUID in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
public global::System.Guid VersionUUID
{
get
{
return this._VersionUUID;
}
set
{
this.OnVersionUUIDChanging(value);
this.ReportPropertyChanging("VersionUUID");
this._VersionUUID = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
this.ReportPropertyChanged("VersionUUID");
this.OnVersionUUIDChanged();
}
}
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
private global::System.Guid _VersionUUID;
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
partial void OnVersionUUIDChanging(global::System.Guid value);
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
partial void OnVersionUUIDChanged();
/// <summary>
/// There are no comments for property VersionID in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
public int VersionID
{
get
{
return this._VersionID;
}
set
{
this.OnVersionIDChanging(value);
this.ReportPropertyChanging("VersionID");
this._VersionID = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
this.ReportPropertyChanged("VersionID");
this.OnVersionIDChanged();
}
}
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
private int _VersionID;
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
partial void OnVersionIDChanging(int value);
[global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
partial void OnVersionIDChanged();
}
}
|