//------------------------------------------------------------------------------ // // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated. // //------------------------------------------------------------------------------ using System; using System.Data.Objects; using System.Data.Objects.DataClasses; using System.Data.EntityClient; using System.ComponentModel; using System.Xml.Serialization; using System.Runtime.Serialization; [assembly: EdmSchemaAttribute()] namespace edm { #region Contexts /// /// No Metadata Documentation available. /// public partial class Model1Container : ObjectContext { #region Constructors /// /// Initializes a new Model1Container object using the connection string found in the 'Model1Container' section of the application configuration file. /// public Model1Container() : base("name=Model1Container", "Model1Container") { this.ContextOptions.LazyLoadingEnabled = true; OnContextCreated(); } /// /// Initialize a new Model1Container object. /// public Model1Container(string connectionString) : base(connectionString, "Model1Container") { this.ContextOptions.LazyLoadingEnabled = true; OnContextCreated(); } /// /// Initialize a new Model1Container object. /// public Model1Container(EntityConnection connection) : base(connection, "Model1Container") { this.ContextOptions.LazyLoadingEnabled = true; OnContextCreated(); } #endregion #region Partial Methods partial void OnContextCreated(); #endregion } #endregion }