//------------------------------------------------------------------------------ // // This code was generated from a template. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ using System; using System.Data.Objects; using System.Data.EntityClient; using WNS.Entities; namespace Entities { public partial class WMSNSEntities : ObjectContext { public const string ConnectionString = "name=WMSNSEntities"; public const string ContainerName = "WMSNSEntities"; #region Constructors public WMSNSEntities() : base(ConnectionString, ContainerName) { this.ContextOptions.LazyLoadingEnabled = false; ContextOptions.ProxyCreationEnabled = false; } public WMSNSEntities(string connectionString) : base(connectionString, ContainerName) { this.ContextOptions.LazyLoadingEnabled = false; ContextOptions.ProxyCreationEnabled = false; } public WMSNSEntities(EntityConnection connection) : base(connection, ContainerName) { this.ContextOptions.LazyLoadingEnabled = false; ContextOptions.ProxyCreationEnabled = false; } #endregion #region ObjectSet Properties public ObjectSet Organizations { get { return _organizations ?? (_organizations = CreateObjectSet("Organizations")); } } private ObjectSet _organizations; public ObjectSet Devisions { get { return _devisions ?? (_devisions = CreateObjectSet("Devisions")); } } private ObjectSet _devisions; public ObjectSet Contacts { get { return _contacts ?? (_contacts = CreateObjectSet("Contacts")); } } private ObjectSet _contacts; public ObjectSet ContactInformationSet { get { return _contactInformationSet ?? (_contactInformationSet = CreateObjectSet("ContactInformationSet")); } } private ObjectSet _contactInformationSet; public ObjectSet WebMapServices { get { return _webMapServices ?? (_webMapServices = CreateObjectSet("WebMapServices")); } } private ObjectSet _webMapServices; public ObjectSet KeywordLists { get { return _keywordLists ?? (_keywordLists = CreateObjectSet("KeywordLists")); } } private ObjectSet _keywordLists; #endregion } }