text:
namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server
{

    /// <summary>
    /// There are no comments for ServerContextInternal in the schema.
    /// </summary>
    public abstract partial class ServerContextInternal : global::System.Data.Services.Client.DataServiceContext
    {
        /// <summary>
        /// Initialize a new ServerContextInternal object.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public ServerContextInternal(global::System.Uri serviceRoot) :
                base(serviceRoot)
        {
            this.OnContextCreated();
        }
        partial void OnContextCreated();
        /// <summary>
        /// There are no comments for Servers in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<Server> Servers
        {
            get
            {
                if ((this._Servers == null))
                {
                    this._Servers = base.CreateQuery<Server>("Servers");
                }
                return this._Servers;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<Server> _Servers;
        /// <summary>
        /// There are no comments for Databases in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<Database> Databases
        {
            get
            {
                if ((this._Databases == null))
                {
                    this._Databases = base.CreateQuery<Database>("Databases");
                }
                return this._Databases;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<Database> _Databases;
        /// <summary>
        /// There are no comments for RecoverableDatabases in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<RecoverableDatabase> RecoverableDatabases
        {
            get
            {
                if ((this._RecoverableDatabases == null))
                {
                    this._RecoverableDatabases = base.CreateQuery<RecoverableDatabase>("RecoverableDatabases");
                }
                return this._RecoverableDatabases;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<RecoverableDatabase> _RecoverableDatabases;
        /// <summary>
        /// There are no comments for RestorableDroppedDatabases in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<RestorableDroppedDatabase> RestorableDroppedDatabases
        {
            get
            {
                if ((this._RestorableDroppedDatabases == null))
                {
                    this._RestorableDroppedDatabases = base.CreateQuery<RestorableDroppedDatabase>("RestorableDroppedDatabases");
                }
                return this._RestorableDroppedDatabases;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<RestorableDroppedDatabase> _RestorableDroppedDatabases;
        /// <summary>
        /// There are no comments for DimensionSettings in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<DimensionSetting> DimensionSettings
        {
            get
            {
                if ((this._DimensionSettings == null))
                {
                    this._DimensionSettings = base.CreateQuery<DimensionSetting>("DimensionSettings");
                }
                return this._DimensionSettings;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<DimensionSetting> _DimensionSettings;
        /// <summary>
        /// There are no comments for ServiceObjectives in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<ServiceObjective> ServiceObjectives
        {
            get
            {
                if ((this._ServiceObjectives == null))
                {
                    this._ServiceObjectives = base.CreateQuery<ServiceObjective>("ServiceObjectives");
                }
                return this._ServiceObjectives;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<ServiceObjective> _ServiceObjectives;
        /// <summary>
        /// There are no comments for Operations in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<Operation> Operations
        {
            get
            {
                if ((this._Operations == null))
                {
                    this._Operations = base.CreateQuery<Operation>("Operations");
                }
                return this._Operations;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<Operation> _Operations;
        /// <summary>
        /// There are no comments for OperationDetails in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<OperationDetail> OperationDetails
        {
            get
            {
                if ((this._OperationDetails == null))
                {
                    this._OperationDetails = base.CreateQuery<OperationDetail>("OperationDetails");
                }
                return this._OperationDetails;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<OperationDetail> _OperationDetails;
        /// <summary>
        /// There are no comments for CreateDatabaseFromDacPacOperations in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<CreateDatabaseFromDacPacOperation> CreateDatabaseFromDacPacOperations
        {
            get
            {
                if ((this._CreateDatabaseFromDacPacOperations == null))
                {
                    this._CreateDatabaseFromDacPacOperations = base.CreateQuery<CreateDatabaseFromDacPacOperation>("CreateDatabaseFromDacPacOperations");
                }
                return this._CreateDatabaseFromDacPacOperations;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<CreateDatabaseFromDacPacOperation> _CreateDatabaseFromDacPacOperations;
        /// <summary>
        /// There are no comments for ExtractDacPacOperations in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<ExtractDacPacOperation> ExtractDacPacOperations
        {
            get
            {
                if ((this._ExtractDacPacOperations == null))
                {
                    this._ExtractDacPacOperations = base.CreateQuery<ExtractDacPacOperation>("ExtractDacPacOperations");
                }
                return this._ExtractDacPacOperations;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<ExtractDacPacOperation> _ExtractDacPacOperations;
        /// <summary>
        /// There are no comments for UpgradeDatabaseFromDacPacOperations in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<UpgradeDatabaseFromDacPacOperation> UpgradeDatabaseFromDacPacOperations
        {
            get
            {
                if ((this._UpgradeDatabaseFromDacPacOperations == null))
                {
                    this._UpgradeDatabaseFromDacPacOperations = base.CreateQuery<UpgradeDatabaseFromDacPacOperation>("UpgradeDatabaseFromDacPacOperations");
                }
                return this._UpgradeDatabaseFromDacPacOperations;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<UpgradeDatabaseFromDacPacOperation> _UpgradeDatabaseFromDacPacOperations;
        /// <summary>
        /// There are no comments for ViewDatabaseChangesOperations in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<ViewDatabaseChangesOperation> ViewDatabaseChangesOperations
        {
            get
            {
                if ((this._ViewDatabaseChangesOperations == null))
                {
                    this._ViewDatabaseChangesOperations = base.CreateQuery<ViewDatabaseChangesOperation>("ViewDatabaseChangesOperations");
                }
                return this._ViewDatabaseChangesOperations;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<ViewDatabaseChangesOperation> _ViewDatabaseChangesOperations;
        /// <summary>
        /// There are no comments for ViewUpgradePlanOperations in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<ViewUpgradePlanOperation> ViewUpgradePlanOperations
        {
            get
            {
                if ((this._ViewUpgradePlanOperations == null))
                {
                    this._ViewUpgradePlanOperations = base.CreateQuery<ViewUpgradePlanOperation>("ViewUpgradePlanOperations");
                }
                return this._ViewUpgradePlanOperations;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<ViewUpgradePlanOperation> _ViewUpgradePlanOperations;
        /// <summary>
        /// There are no comments for DatabaseRestoreStatus in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<DatabaseRestoreStatus> DatabaseRestoreStatus
        {
            get
            {
                if ((this._DatabaseRestoreStatus == null))
                {
                    this._DatabaseRestoreStatus = base.CreateQuery<DatabaseRestoreStatus>("DatabaseRestoreStatus");
                }
                return this._DatabaseRestoreStatus;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<DatabaseRestoreStatus> _DatabaseRestoreStatus;
        /// <summary>
        /// There are no comments for RestoreDatabaseOperations in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<RestoreDatabaseOperation> RestoreDatabaseOperations
        {
            get
            {
                if ((this._RestoreDatabaseOperations == null))
                {
                    this._RestoreDatabaseOperations = base.CreateQuery<RestoreDatabaseOperation>("RestoreDatabaseOperations");
                }
                return this._RestoreDatabaseOperations;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<RestoreDatabaseOperation> _RestoreDatabaseOperations;
        /// <summary>
        /// There are no comments for RecoverDatabaseOperations in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<RecoverDatabaseOperation> RecoverDatabaseOperations
        {
            get
            {
                if ((this._RecoverDatabaseOperations == null))
                {
                    this._RecoverDatabaseOperations = base.CreateQuery<RecoverDatabaseOperation>("RecoverDatabaseOperations");
                }
                return this._RecoverDatabaseOperations;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<RecoverDatabaseOperation> _RecoverDatabaseOperations;
        /// <summary>
        /// There are no comments for DatabaseCopies in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<DatabaseCopy> DatabaseCopies
        {
            get
            {
                if ((this._DatabaseCopies == null))
                {
                    this._DatabaseCopies = base.CreateQuery<DatabaseCopy>("DatabaseCopies");
                }
                return this._DatabaseCopies;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<DatabaseCopy> _DatabaseCopies;
        /// <summary>
        /// There are no comments for DatabaseCopyValidationOperations in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<DatabaseCopyValidationOperation> DatabaseCopyValidationOperations
        {
            get
            {
                if ((this._DatabaseCopyValidationOperations == null))
                {
                    this._DatabaseCopyValidationOperations = base.CreateQuery<DatabaseCopyValidationOperation>("DatabaseCopyValidationOperations");
                }
                return this._DatabaseCopyValidationOperations;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<DatabaseCopyValidationOperation> _DatabaseCopyValidationOperations;
        /// <summary>
        /// There are no comments for FirewallRules in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<FirewallRule> FirewallRules
        {
            get
            {
                if ((this._FirewallRules == null))
                {
                    this._FirewallRules = base.CreateQuery<FirewallRule>("FirewallRules");
                }
                return this._FirewallRules;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<FirewallRule> _FirewallRules;
        /// <summary>
        /// There are no comments for DatabaseMetrics in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<DatabaseMetrics> DatabaseMetrics
        {
            get
            {
                if ((this._DatabaseMetrics == null))
                {
                    this._DatabaseMetrics = base.CreateQuery<DatabaseMetrics>("DatabaseMetrics");
                }
                return this._DatabaseMetrics;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<DatabaseMetrics> _DatabaseMetrics;
        /// <summary>
        /// There are no comments for ServerMetrics in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<ServerMetrics> ServerMetrics
        {
            get
            {
                if ((this._ServerMetrics == null))
                {
                    this._ServerMetrics = base.CreateQuery<ServerMetrics>("ServerMetrics");
                }
                return this._ServerMetrics;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<ServerMetrics> _ServerMetrics;
        /// <summary>
        /// There are no comments for EventLogs in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<EventLog> EventLogs
        {
            get
            {
                if ((this._EventLogs == null))
                {
                    this._EventLogs = base.CreateQuery<EventLog>("EventLogs");
                }
                return this._EventLogs;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<EventLog> _EventLogs;
        /// <summary>
        /// There are no comments for ServerQuotas in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<ServerQuota> ServerQuotas
        {
            get
            {
                if ((this._ServerQuotas == null))
                {
                    this._ServerQuotas = base.CreateQuery<ServerQuota>("ServerQuotas");
                }
                return this._ServerQuotas;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<ServerQuota> _ServerQuotas;
        /// <summary>
        /// There are no comments for DatabaseOperations in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<DatabaseOperation> DatabaseOperations
        {
            get
            {
                if ((this._DatabaseOperations == null))
                {
                    this._DatabaseOperations = base.CreateQuery<DatabaseOperation>("DatabaseOperations");
                }
                return this._DatabaseOperations;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<DatabaseOperation> _DatabaseOperations;
        /// <summary>
        /// There are no comments for Servers in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToServers(Server server)
        {
            base.AddObject("Servers", server);
        }
        /// <summary>
        /// There are no comments for Databases in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToDatabases(Database database)
        {
            base.AddObject("Databases", database);
        }
        /// <summary>
        /// There are no comments for RecoverableDatabases in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToRecoverableDatabases(RecoverableDatabase recoverableDatabase)
        {
            base.AddObject("RecoverableDatabases", recoverableDatabase);
        }
        /// <summary>
        /// There are no comments for RestorableDroppedDatabases in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToRestorableDroppedDatabases(RestorableDroppedDatabase restorableDroppedDatabase)
        {
            base.AddObject("RestorableDroppedDatabases", restorableDroppedDatabase);
        }
        /// <summary>
        /// There are no comments for DimensionSettings in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToDimensionSettings(DimensionSetting dimensionSetting)
        {
            base.AddObject("DimensionSettings", dimensionSetting);
        }
        /// <summary>
        /// There are no comments for ServiceObjectives in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToServiceObjectives(ServiceObjective serviceObjective)
        {
            base.AddObject("ServiceObjectives", serviceObjective);
        }
        /// <summary>
        /// There are no comments for Operations in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToOperations(Operation operation)
        {
            base.AddObject("Operations", operation);
        }
        /// <summary>
        /// There are no comments for OperationDetails in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToOperationDetails(OperationDetail operationDetail)
        {
            base.AddObject("OperationDetails", operationDetail);
        }
        /// <summary>
        /// There are no comments for CreateDatabaseFromDacPacOperations in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToCreateDatabaseFromDacPacOperations(CreateDatabaseFromDacPacOperation createDatabaseFromDacPacOperation)
        {
            base.AddObject("CreateDatabaseFromDacPacOperations", createDatabaseFromDacPacOperation);
        }
        /// <summary>
        /// There are no comments for ExtractDacPacOperations in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToExtractDacPacOperations(ExtractDacPacOperation extractDacPacOperation)
        {
            base.AddObject("ExtractDacPacOperations", extractDacPacOperation);
        }
        /// <summary>
        /// There are no comments for UpgradeDatabaseFromDacPacOperations in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToUpgradeDatabaseFromDacPacOperations(UpgradeDatabaseFromDacPacOperation upgradeDatabaseFromDacPacOperation)
        {
            base.AddObject("UpgradeDatabaseFromDacPacOperations", upgradeDatabaseFromDacPacOperation);
        }
        /// <summary>
        /// There are no comments for ViewDatabaseChangesOperations in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToViewDatabaseChangesOperations(ViewDatabaseChangesOperation viewDatabaseChangesOperation)
        {
            base.AddObject("ViewDatabaseChangesOperations", viewDatabaseChangesOperation);
        }
        /// <summary>
        /// There are no comments for ViewUpgradePlanOperations in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToViewUpgradePlanOperations(ViewUpgradePlanOperation viewUpgradePlanOperation)
        {
            base.AddObject("ViewUpgradePlanOperations", viewUpgradePlanOperation);
        }
        /// <summary>
        /// There are no comments for DatabaseRestoreStatus in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToDatabaseRestoreStatus(DatabaseRestoreStatus databaseRestoreStatus)
        {
            base.AddObject("DatabaseRestoreStatus", databaseRestoreStatus);
        }
        /// <summary>
        /// There are no comments for RestoreDatabaseOperations in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToRestoreDatabaseOperations(RestoreDatabaseOperation restoreDatabaseOperation)
        {
            base.AddObject("RestoreDatabaseOperations", restoreDatabaseOperation);
        }
        /// <summary>
        /// There are no comments for RecoverDatabaseOperations in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToRecoverDatabaseOperations(RecoverDatabaseOperation recoverDatabaseOperation)
        {
            base.AddObject("RecoverDatabaseOperations", recoverDatabaseOperation);
        }
        /// <summary>
        /// There are no comments for DatabaseCopies in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToDatabaseCopies(DatabaseCopy databaseCopy)
        {
            base.AddObject("DatabaseCopies", databaseCopy);
        }
        /// <summary>
        /// There are no comments for DatabaseCopyValidationOperations in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToDatabaseCopyValidationOperations(DatabaseCopyValidationOperation databaseCopyValidationOperation)
        {
            base.AddObject("DatabaseCopyValidationOperations", databaseCopyValidationOperation);
        }
        /// <summary>
        /// There are no comments for FirewallRules in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToFirewallRules(FirewallRule firewallRule)
        {
            base.AddObject("FirewallRules", firewallRule);
        }
        /// <summary>
        /// There are no comments for DatabaseMetrics in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToDatabaseMetrics(DatabaseMetrics databaseMetrics)
        {
            base.AddObject("DatabaseMetrics", databaseMetrics);
        }
        /// <summary>
        /// There are no comments for ServerMetrics in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToServerMetrics(ServerMetrics serverMetrics)
        {
            base.AddObject("ServerMetrics", serverMetrics);
        }
        /// <summary>
        /// There are no comments for EventLogs in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToEventLogs(EventLog eventLog)
        {
            base.AddObject("EventLogs", eventLog);
        }
        /// <summary>
        /// There are no comments for ServerQuotas in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToServerQuotas(ServerQuota serverQuota)
        {
            base.AddObject("ServerQuotas", serverQuota);
        }
        /// <summary>
        /// There are no comments for DatabaseOperations in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToDatabaseOperations(DatabaseOperation databaseOperation)
        {
            base.AddObject("DatabaseOperations", databaseOperation);
        }
    }
    /// <summary>
    /// There are no comments for Microsoft.SqlServer.Management.Server.Domain.Server in the schema.
    /// </summary>
    /// <KeyProperties>
    /// Name
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("Name")]
    public partial class Server
    {
        /// <summary>
        /// Create a new Server object.
        /// </summary>
        /// <param name="name">Initial value of Name.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static Server CreateServer(string name)
        {
            Server server = new Server();
            server.Name = name;
            return server;
        }
        /// <summary>
        /// There are no comments for Property Name in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Name
        {
            get
            {
                return this._Name;
            }
            set
            {
                this.OnNameChanging(value);
                this._Name = value;
                this.OnNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Name;
        partial void OnNameChanging(string value);
        partial void OnNameChanged();
        /// <summary>
        /// There are no comments for Property SubscriptionId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<global::System.Guid> SubscriptionId
        {
            get
            {
                return this._SubscriptionId;
            }
            set
            {
                this.OnSubscriptionIdChanging(value);
                this._SubscriptionId = value;
                this.OnSubscriptionIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<global::System.Guid> _SubscriptionId;
        partial void OnSubscriptionIdChanging(global::System.Nullable<global::System.Guid> value);
        partial void OnSubscriptionIdChanged();
        /// <summary>
        /// There are no comments for Property Version in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Version
        {
            get
            {
                return this._Version;
            }
            set
            {
                this.OnVersionChanging(value);
                this._Version = value;
                this.OnVersionChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Version;
        partial void OnVersionChanging(string value);
        partial void OnVersionChanged();
        /// <summary>
        /// There are no comments for Databases in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Collections.ObjectModel.Collection<Database> Databases
        {
            get
            {
                return this._Databases;
            }
            set
            {
                if ((value != null))
                {
                    this._Databases = value;
                }
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Collections.ObjectModel.Collection<Database> _Databases = new global::System.Collections.ObjectModel.Collection<Database>();
        /// <summary>
        /// There are no comments for ServerMetrics in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public ServerMetrics ServerMetrics
        {
            get
            {
                return this._ServerMetrics;
            }
            set
            {
                this._ServerMetrics = value;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private ServerMetrics _ServerMetrics;
        /// <summary>
        /// There are no comments for ServerQuotas in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Collections.ObjectModel.Collection<ServerQuota> ServerQuotas
        {
            get
            {
                return this._ServerQuotas;
            }
            set
            {
                if ((value != null))
                {
                    this._ServerQuotas = value;
                }
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Collections.ObjectModel.Collection<ServerQuota> _ServerQuotas = new global::System.Collections.ObjectModel.Collection<ServerQuota>();
        /// <summary>
        /// There are no comments for DatabaseOperations in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Collections.ObjectModel.Collection<DatabaseOperation> DatabaseOperations
        {
            get
            {
                return this._DatabaseOperations;
            }
            set
            {
                if ((value != null))
                {
                    this._DatabaseOperations = value;
                }
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Collections.ObjectModel.Collection<DatabaseOperation> _DatabaseOperations = new global::System.Collections.ObjectModel.Collection<DatabaseOperation>();
    }
    /// <summary>
    /// There are no comments for Microsoft.SqlServer.Management.Server.Domain.Database in the schema.
    /// </summary>
    /// <KeyProperties>
    /// Id
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("Id")]
    public partial class Database
    {
        /// <summary>
        /// Create a new Database object.
        /// </summary>
        /// <param name="ID">Initial value of Id.</param>
        /// <param name="creationDate">Initial value of CreationDate.</param>
        /// <param name="isSystemObject">Initial value of IsSystemObject.</param>
        /// <param name="status">Initial value of Status.</param>
        /// <param name="sizeMB">Initial value of SizeMB.</param>
        /// <param name="isReadOnly">Initial value of IsReadOnly.</param>
        /// <param name="isFederationMember">Initial value of IsFederationMember.</param>
        /// <param name="isQueryStoreOn">Initial value of IsQueryStoreOn.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static Database CreateDatabase(int ID, global::System.DateTime creationDate, bool isSystemObject, int status, decimal sizeMB, bool isReadOnly, bool isFederationMember, bool isQueryStoreOn)
        {
            Database database = new Database();
            database.Id = ID;
            database.CreationDate = creationDate;
            database.IsSystemObject = isSystemObject;
            database.Status = status;
            database.SizeMB = sizeMB;
            database.IsReadOnly = isReadOnly;
            database.IsFederationMember = isFederationMember;
            database.IsQueryStoreOn = isQueryStoreOn;
            return database;
        }
        /// <summary>
        /// There are no comments for Property Id in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public int Id
        {
            get
            {
                return this._Id;
            }
            set
            {
                this.OnIdChanging(value);
                this._Id = value;
                this.OnIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private int _Id;
        partial void OnIdChanging(int value);
        partial void OnIdChanged();
        /// <summary>
        /// There are no comments for Property Name in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Name
        {
            get
            {
                return this._Name;
            }
            set
            {
                this.OnNameChanging(value);
                this._Name = value;
                this.OnNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Name;
        partial void OnNameChanging(string value);
        partial void OnNameChanged();
        /// <summary>
        /// There are no comments for Property ServiceObjectiveId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<global::System.Guid> ServiceObjectiveId
        {
            get
            {
                return this._ServiceObjectiveId;
            }
            set
            {
                this.OnServiceObjectiveIdChanging(value);
                this._ServiceObjectiveId = value;
                this.OnServiceObjectiveIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<global::System.Guid> _ServiceObjectiveId;
        partial void OnServiceObjectiveIdChanging(global::System.Nullable<global::System.Guid> value);
        partial void OnServiceObjectiveIdChanged();
        /// <summary>
        /// There are no comments for Property AssignedServiceObjectiveId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<global::System.Guid> AssignedServiceObjectiveId
        {
            get
            {
                return this._AssignedServiceObjectiveId;
            }
            set
            {
                this.OnAssignedServiceObjectiveIdChanging(value);
                this._AssignedServiceObjectiveId = value;
                this.OnAssignedServiceObjectiveIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<global::System.Guid> _AssignedServiceObjectiveId;
        partial void OnAssignedServiceObjectiveIdChanging(global::System.Nullable<global::System.Guid> value);
        partial void OnAssignedServiceObjectiveIdChanged();
        /// <summary>
        /// There are no comments for Property ServiceObjectiveAssignmentState in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<byte> ServiceObjectiveAssignmentState
        {
            get
            {
                return this._ServiceObjectiveAssignmentState;
            }
            set
            {
                this.OnServiceObjectiveAssignmentStateChanging(value);
                this._ServiceObjectiveAssignmentState = value;
                this.OnServiceObjectiveAssignmentStateChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<byte> _ServiceObjectiveAssignmentState;
        partial void OnServiceObjectiveAssignmentStateChanging(global::System.Nullable<byte> value);
        partial void OnServiceObjectiveAssignmentStateChanged();
        /// <summary>
        /// There are no comments for Property ServiceObjectiveAssignmentStateDescription in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string ServiceObjectiveAssignmentStateDescription
        {
            get
            {
                return this._ServiceObjectiveAssignmentStateDescription;
            }
            set
            {
                this.OnServiceObjectiveAssignmentStateDescriptionChanging(value);
                this._ServiceObjectiveAssignmentStateDescription = value;
                this.OnServiceObjectiveAssignmentStateDescriptionChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _ServiceObjectiveAssignmentStateDescription;
        partial void OnServiceObjectiveAssignmentStateDescriptionChanging(string value);
        partial void OnServiceObjectiveAssignmentStateDescriptionChanged();
        /// <summary>
        /// There are no comments for Property ServiceObjectiveAssignmentErrorCode in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<int> ServiceObjectiveAssignmentErrorCode
        {
            get
            {
                return this._ServiceObjectiveAssignmentErrorCode;
            }
            set
            {
                this.OnServiceObjectiveAssignmentErrorCodeChanging(value);
                this._ServiceObjectiveAssignmentErrorCode = value;
                this.OnServiceObjectiveAssignmentErrorCodeChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<int> _ServiceObjectiveAssignmentErrorCode;
        partial void OnServiceObjectiveAssignmentErrorCodeChanging(global::System.Nullable<int> value);
        partial void OnServiceObjectiveAssignmentErrorCodeChanged();
        /// <summary>
        /// There are no comments for Property ServiceObjectiveAssignmentErrorDescription in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string ServiceObjectiveAssignmentErrorDescription
        {
            get
            {
                return this._ServiceObjectiveAssignmentErrorDescription;
            }
            set
            {
                this.OnServiceObjectiveAssignmentErrorDescriptionChanging(value);
                this._ServiceObjectiveAssignmentErrorDescription = value;
                this.OnServiceObjectiveAssignmentErrorDescriptionChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _ServiceObjectiveAssignmentErrorDescription;
        partial void OnServiceObjectiveAssignmentErrorDescriptionChanging(string value);
        partial void OnServiceObjectiveAssignmentErrorDescriptionChanged();
        /// <summary>
        /// There are no comments for Property ServiceObjectiveAssignmentSuccessDate in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<global::System.DateTime> ServiceObjectiveAssignmentSuccessDate
        {
            get
            {
                return this._ServiceObjectiveAssignmentSuccessDate;
            }
            set
            {
                this.OnServiceObjectiveAssignmentSuccessDateChanging(value);
                this._ServiceObjectiveAssignmentSuccessDate = value;
                this.OnServiceObjectiveAssignmentSuccessDateChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<global::System.DateTime> _ServiceObjectiveAssignmentSuccessDate;
        partial void OnServiceObjectiveAssignmentSuccessDateChanging(global::System.Nullable<global::System.DateTime> value);
        partial void OnServiceObjectiveAssignmentSuccessDateChanged();
        /// <summary>
        /// There are no comments for Property Edition in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Edition
        {
            get
            {
                return this._Edition;
            }
            set
            {
                this.OnEditionChanging(value);
                this._Edition = value;
                this.OnEditionChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Edition;
        partial void OnEditionChanging(string value);
        partial void OnEditionChanged();
        /// <summary>
        /// There are no comments for Property MaxSizeGB in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<int> MaxSizeGB
        {
            get
            {
                return this._MaxSizeGB;
            }
            set
            {
                this.OnMaxSizeGBChanging(value);
                this._MaxSizeGB = value;
                this.OnMaxSizeGBChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<int> _MaxSizeGB;
        partial void OnMaxSizeGBChanging(global::System.Nullable<int> value);
        partial void OnMaxSizeGBChanged();
        /// <summary>
        /// There are no comments for Property MaxSizeBytes in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<long> MaxSizeBytes
        {
            get
            {
                return this._MaxSizeBytes;
            }
            set
            {
                this.OnMaxSizeBytesChanging(value);
                this._MaxSizeBytes = value;
                this.OnMaxSizeBytesChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<long> _MaxSizeBytes;
        partial void OnMaxSizeBytesChanging(global::System.Nullable<long> value);
        partial void OnMaxSizeBytesChanged();
        /// <summary>
        /// There are no comments for Property CollationName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string CollationName
        {
            get
            {
                return this._CollationName;
            }
            set
            {
                this.OnCollationNameChanging(value);
                this._CollationName = value;
                this.OnCollationNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _CollationName;
        partial void OnCollationNameChanging(string value);
        partial void OnCollationNameChanged();
        /// <summary>
        /// There are no comments for Property CreationDate in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.DateTime CreationDate
        {
            get
            {
                return this._CreationDate;
            }
            set
            {
                this.OnCreationDateChanging(value);
                this._CreationDate = value;
                this.OnCreationDateChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.DateTime _CreationDate;
        partial void OnCreationDateChanging(global::System.DateTime value);
        partial void OnCreationDateChanged();
        /// <summary>
        /// There are no comments for Property RecoveryPeriodStartDate in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<global::System.DateTime> RecoveryPeriodStartDate
        {
            get
            {
                return this._RecoveryPeriodStartDate;
            }
            set
            {
                this.OnRecoveryPeriodStartDateChanging(value);
                this._RecoveryPeriodStartDate = value;
                this.OnRecoveryPeriodStartDateChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<global::System.DateTime> _RecoveryPeriodStartDate;
        partial void OnRecoveryPeriodStartDateChanging(global::System.Nullable<global::System.DateTime> value);
        partial void OnRecoveryPeriodStartDateChanged();
        /// <summary>
        /// There are no comments for Property IsSystemObject in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public bool IsSystemObject
        {
            get
            {
                return this._IsSystemObject;
            }
            set
            {
                this.OnIsSystemObjectChanging(value);
                this._IsSystemObject = value;
                this.OnIsSystemObjectChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _IsSystemObject;
        partial void OnIsSystemObjectChanging(bool value);
        partial void OnIsSystemObjectChanged();
        /// <summary>
        /// There are no comments for Property Status in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public int Status
        {
            get
            {
                return this._Status;
            }
            set
            {
                this.OnStatusChanging(value);
                this._Status = value;
                this.OnStatusChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private int _Status;
        partial void OnStatusChanging(int value);
        partial void OnStatusChanged();
        /// <summary>
        /// There are no comments for Property IsFederationRoot in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<bool> IsFederationRoot
        {
            get
            {
                return this._IsFederationRoot;
            }
            set
            {
                this.OnIsFederationRootChanging(value);
                this._IsFederationRoot = value;
                this.OnIsFederationRootChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<bool> _IsFederationRoot;
        partial void OnIsFederationRootChanging(global::System.Nullable<bool> value);
        partial void OnIsFederationRootChanged();
        /// <summary>
        /// There are no comments for Property SizeMB in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public decimal SizeMB
        {
            get
            {
                return this._SizeMB;
            }
            set
            {
                this.OnSizeMBChanging(value);
                this._SizeMB = value;
                this.OnSizeMBChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private decimal _SizeMB;
        partial void OnSizeMBChanging(decimal value);
        partial void OnSizeMBChanged();
        /// <summary>
        /// There are no comments for Property IsRecursiveTriggersOn in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<bool> IsRecursiveTriggersOn
        {
            get
            {
                return this._IsRecursiveTriggersOn;
            }
            set
            {
                this.OnIsRecursiveTriggersOnChanging(value);
                this._IsRecursiveTriggersOn = value;
                this.OnIsRecursiveTriggersOnChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<bool> _IsRecursiveTriggersOn;
        partial void OnIsRecursiveTriggersOnChanging(global::System.Nullable<bool> value);
        partial void OnIsRecursiveTriggersOnChanged();
        /// <summary>
        /// There are no comments for Property IsReadOnly in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public bool IsReadOnly
        {
            get
            {
                return this._IsReadOnly;
            }
            set
            {
                this.OnIsReadOnlyChanging(value);
                this._IsReadOnly = value;
                this.OnIsReadOnlyChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _IsReadOnly;
        partial void OnIsReadOnlyChanging(bool value);
        partial void OnIsReadOnlyChanged();
        /// <summary>
        /// There are no comments for Property IsFederationMember in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public bool IsFederationMember
        {
            get
            {
                return this._IsFederationMember;
            }
            set
            {
                this.OnIsFederationMemberChanging(value);
                this._IsFederationMember = value;
                this.OnIsFederationMemberChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _IsFederationMember;
        partial void OnIsFederationMemberChanging(bool value);
        partial void OnIsFederationMemberChanged();
        /// <summary>
        /// There are no comments for Property IsQueryStoreOn in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public bool IsQueryStoreOn
        {
            get
            {
                return this._IsQueryStoreOn;
            }
            set
            {
                this.OnIsQueryStoreOnChanging(value);
                this._IsQueryStoreOn = value;
                this.OnIsQueryStoreOnChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _IsQueryStoreOn;
        partial void OnIsQueryStoreOnChanging(bool value);
        partial void OnIsQueryStoreOnChanged();
        /// <summary>
        /// There are no comments for Property IsQueryStoreReadOnly in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<bool> IsQueryStoreReadOnly
        {
            get
            {
                return this._IsQueryStoreReadOnly;
            }
            set
            {
                this.OnIsQueryStoreReadOnlyChanging(value);
                this._IsQueryStoreReadOnly = value;
                this.OnIsQueryStoreReadOnlyChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<bool> _IsQueryStoreReadOnly;
        partial void OnIsQueryStoreReadOnlyChanging(global::System.Nullable<bool> value);
        partial void OnIsQueryStoreReadOnlyChanged();
        /// <summary>
        /// There are no comments for Property QueryStoreMaxSizeMB in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<int> QueryStoreMaxSizeMB
        {
            get
            {
                return this._QueryStoreMaxSizeMB;
            }
            set
            {
                this.OnQueryStoreMaxSizeMBChanging(value);
                this._QueryStoreMaxSizeMB = value;
                this.OnQueryStoreMaxSizeMBChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<int> _QueryStoreMaxSizeMB;
        partial void OnQueryStoreMaxSizeMBChanging(global::System.Nullable<int> value);
        partial void OnQueryStoreMaxSizeMBChanged();
        /// <summary>
        /// There are no comments for Property QueryStoreFlushPeriodSeconds in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<int> QueryStoreFlushPeriodSeconds
        {
            get
            {
                return this._QueryStoreFlushPeriodSeconds;
            }
            set
            {
                this.OnQueryStoreFlushPeriodSecondsChanging(value);
                this._QueryStoreFlushPeriodSeconds = value;
                this.OnQueryStoreFlushPeriodSecondsChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<int> _QueryStoreFlushPeriodSeconds;
        partial void OnQueryStoreFlushPeriodSecondsChanging(global::System.Nullable<int> value);
        partial void OnQueryStoreFlushPeriodSecondsChanged();
        /// <summary>
        /// There are no comments for Property QueryStoreIntervalLengthMinutes in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<int> QueryStoreIntervalLengthMinutes
        {
            get
            {
                return this._QueryStoreIntervalLengthMinutes;
            }
            set
            {
                this.OnQueryStoreIntervalLengthMinutesChanging(value);
                this._QueryStoreIntervalLengthMinutes = value;
                this.OnQueryStoreIntervalLengthMinutesChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<int> _QueryStoreIntervalLengthMinutes;
        partial void OnQueryStoreIntervalLengthMinutesChanging(global::System.Nullable<int> value);
        partial void OnQueryStoreIntervalLengthMinutesChanged();
        /// <summary>
        /// There are no comments for Property QueryStoreClearAll in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<bool> QueryStoreClearAll
        {
            get
            {
                return this._QueryStoreClearAll;
            }
            set
            {
                this.OnQueryStoreClearAllChanging(value);
                this._QueryStoreClearAll = value;
                this.OnQueryStoreClearAllChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<bool> _QueryStoreClearAll;
        partial void OnQueryStoreClearAllChanging(global::System.Nullable<bool> value);
        partial void OnQueryStoreClearAllChanged();
        /// <summary>
        /// There are no comments for Property QueryStoreStaleQueryThresholdDays in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<int> QueryStoreStaleQueryThresholdDays
        {
            get
            {
                return this._QueryStoreStaleQueryThresholdDays;
            }
            set
            {
                this.OnQueryStoreStaleQueryThresholdDaysChanging(value);
                this._QueryStoreStaleQueryThresholdDays = value;
                this.OnQueryStoreStaleQueryThresholdDaysChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<int> _QueryStoreStaleQueryThresholdDays;
        partial void OnQueryStoreStaleQueryThresholdDaysChanging(global::System.Nullable<int> value);
        partial void OnQueryStoreStaleQueryThresholdDaysChanged();
        /// <summary>
        /// There are no comments for Property IsSuspended in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<bool> IsSuspended
        {
            get
            {
                return this._IsSuspended;
            }
            set
            {
                this.OnIsSuspendedChanging(value);
                this._IsSuspended = value;
                this.OnIsSuspendedChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<bool> _IsSuspended;
        partial void OnIsSuspendedChanging(global::System.Nullable<bool> value);
        partial void OnIsSuspendedChanged();
        /// <summary>
        /// There are no comments for Server in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public Server Server
        {
            get
            {
                return this._Server;
            }
            set
            {
                this._Server = value;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private Server _Server;
        /// <summary>
        /// There are no comments for ServiceObjective in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public ServiceObjective ServiceObjective
        {
            get
            {
                return this._ServiceObjective;
            }
            set
            {
                this._ServiceObjective = value;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private ServiceObjective _ServiceObjective;
        /// <summary>
        /// There are no comments for DatabaseMetrics in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public DatabaseMetrics DatabaseMetrics
        {
            get
            {
                return this._DatabaseMetrics;
            }
            set
            {
                this._DatabaseMetrics = value;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private DatabaseMetrics _DatabaseMetrics;
        /// <summary>
        /// There are no comments for DatabaseCopies in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Collections.ObjectModel.Collection<DatabaseCopy> DatabaseCopies
        {
            get
            {
                return this._DatabaseCopies;
            }
            set
            {
                if ((value != null))
                {
                    this._DatabaseCopies = value;
                }
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Collections.ObjectModel.Collection<DatabaseCopy> _DatabaseCopies = new global::System.Collections.ObjectModel.Collection<DatabaseCopy>();
    }
    /// <summary>
    /// There are no comments for Microsoft.SqlServer.Management.Server.Domain.RecoverableDatabase in the schema.
    /// </summary>
    /// <KeyProperties>
    /// EntityId
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("EntityId")]
    public partial class RecoverableDatabase
    {
        /// <summary>
        /// Create a new RecoverableDatabase object.
        /// </summary>
        /// <param name="entityId">Initial value of EntityId.</param>
        /// <param name="lastAvailableBackupDate">Initial value of LastAvailableBackupDate.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static RecoverableDatabase CreateRecoverableDatabase(string entityId, global::System.DateTime lastAvailableBackupDate)
        {
            RecoverableDatabase recoverableDatabase = new RecoverableDatabase();
            recoverableDatabase.EntityId = entityId;
            recoverableDatabase.LastAvailableBackupDate = lastAvailableBackupDate;
            return recoverableDatabase;
        }
        /// <summary>
        /// There are no comments for Property EntityId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string EntityId
        {
            get
            {
                return this._EntityId;
            }
            set
            {
                this.OnEntityIdChanging(value);
                this._EntityId = value;
                this.OnEntityIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _EntityId;
        partial void OnEntityIdChanging(string value);
        partial void OnEntityIdChanged();
        /// <summary>
        /// There are no comments for Property Name in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Name
        {
            get
            {
                return this._Name;
            }
            set
            {
                this.OnNameChanging(value);
                this._Name = value;
                this.OnNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Name;
        partial void OnNameChanging(string value);
        partial void OnNameChanged();
        /// <summary>
        /// There are no comments for Property ServerName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string ServerName
        {
            get
            {
                return this._ServerName;
            }
            set
            {
                this.OnServerNameChanging(value);
                this._ServerName = value;
                this.OnServerNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _ServerName;
        partial void OnServerNameChanging(string value);
        partial void OnServerNameChanged();
        /// <summary>
        /// There are no comments for Property Edition in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Edition
        {
            get
            {
                return this._Edition;
            }
            set
            {
                this.OnEditionChanging(value);
                this._Edition = value;
                this.OnEditionChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Edition;
        partial void OnEditionChanging(string value);
        partial void OnEditionChanged();
        /// <summary>
        /// There are no comments for Property LastAvailableBackupDate in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.DateTime LastAvailableBackupDate
        {
            get
            {
                return this._LastAvailableBackupDate;
            }
            set
            {
                this.OnLastAvailableBackupDateChanging(value);
                this._LastAvailableBackupDate = value;
                this.OnLastAvailableBackupDateChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.DateTime _LastAvailableBackupDate;
        partial void OnLastAvailableBackupDateChanging(global::System.DateTime value);
        partial void OnLastAvailableBackupDateChanged();
    }
    /// <summary>
    /// There are no comments for Microsoft.SqlServer.Management.Server.Domain.RestorableDroppedDatabase in the schema.
    /// </summary>
    /// <KeyProperties>
    /// EntityId
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("EntityId")]
    public partial class RestorableDroppedDatabase
    {
        /// <summary>
        /// Create a new RestorableDroppedDatabase object.
        /// </summary>
        /// <param name="entityId">Initial value of EntityId.</param>
        /// <param name="maxSizeBytes">Initial value of MaxSizeBytes.</param>
        /// <param name="creationDate">Initial value of CreationDate.</param>
        /// <param name="deletionDate">Initial value of DeletionDate.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static RestorableDroppedDatabase CreateRestorableDroppedDatabase(string entityId, long maxSizeBytes, global::System.DateTime creationDate, global::System.DateTime deletionDate)
        {
            RestorableDroppedDatabase restorableDroppedDatabase = new RestorableDroppedDatabase();
            restorableDroppedDatabase.EntityId = entityId;
            restorableDroppedDatabase.MaxSizeBytes = maxSizeBytes;
            restorableDroppedDatabase.CreationDate = creationDate;
            restorableDroppedDatabase.DeletionDate = deletionDate;
            return restorableDroppedDatabase;
        }
        /// <summary>
        /// There are no comments for Property EntityId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string EntityId
        {
            get
            {
                return this._EntityId;
            }
            set
            {
                this.OnEntityIdChanging(value);
                this._EntityId = value;
                this.OnEntityIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _EntityId;
        partial void OnEntityIdChanging(string value);
        partial void OnEntityIdChanged();
        /// <summary>
        /// There are no comments for Property Name in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Name
        {
            get
            {
                return this._Name;
            }
            set
            {
                this.OnNameChanging(value);
                this._Name = value;
                this.OnNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Name;
        partial void OnNameChanging(string value);
        partial void OnNameChanged();
        /// <summary>
        /// There are no comments for Property ServerName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string ServerName
        {
            get
            {
                return this._ServerName;
            }
            set
            {
                this.OnServerNameChanging(value);
                this._ServerName = value;
                this.OnServerNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _ServerName;
        partial void OnServerNameChanging(string value);
        partial void OnServerNameChanged();
        /// <summary>
        /// There are no comments for Property Edition in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Edition
        {
            get
            {
                return this._Edition;
            }
            set
            {
                this.OnEditionChanging(value);
                this._Edition = value;
                this.OnEditionChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Edition;
        partial void OnEditionChanging(string value);
        partial void OnEditionChanged();
        /// <summary>
        /// There are no comments for Property MaxSizeBytes in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public long MaxSizeBytes
        {
            get
            {
                return this._MaxSizeBytes;
            }
            set
            {
                this.OnMaxSizeBytesChanging(value);
                this._MaxSizeBytes = value;
                this.OnMaxSizeBytesChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private long _MaxSizeBytes;
        partial void OnMaxSizeBytesChanging(long value);
        partial void OnMaxSizeBytesChanged();
        /// <summary>
        /// There are no comments for Property CreationDate in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.DateTime CreationDate
        {
            get
            {
                return this._CreationDate;
            }
            set
            {
                this.OnCreationDateChanging(value);
                this._CreationDate = value;
                this.OnCreationDateChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.DateTime _CreationDate;
        partial void OnCreationDateChanging(global::System.DateTime value);
        partial void OnCreationDateChanged();
        /// <summary>
        /// There are no comments for Property DeletionDate in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.DateTime DeletionDate
        {
            get
            {
                return this._DeletionDate;
            }
            set
            {
                this.OnDeletionDateChanging(value);
                this._DeletionDate = value;
                this.OnDeletionDateChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.DateTime _DeletionDate;
        partial void OnDeletionDateChanging(global::System.DateTime value);
        partial void OnDeletionDateChanged();
        /// <summary>
        /// There are no comments for Property RecoveryPeriodStartDate in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<global::System.DateTime> RecoveryPeriodStartDate
        {
            get
            {
                return this._RecoveryPeriodStartDate;
            }
            set
            {
                this.OnRecoveryPeriodStartDateChanging(value);
                this._RecoveryPeriodStartDate = value;
                this.OnRecoveryPeriodStartDateChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<global::System.DateTime> _RecoveryPeriodStartDate;
        partial void OnRecoveryPeriodStartDateChanging(global::System.Nullable<global::System.DateTime> value);
        partial void OnRecoveryPeriodStartDateChanged();
    }
    /// <summary>
    /// There are no comments for Microsoft.SqlServer.Management.Server.Domain.DimensionSetting in the schema.
    /// </summary>
    /// <KeyProperties>
    /// Id
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("Id")]
    public partial class DimensionSetting
    {
        /// <summary>
        /// Create a new DimensionSetting object.
        /// </summary>
        /// <param name="ID">Initial value of Id.</param>
        /// <param name="ordinal">Initial value of Ordinal.</param>
        /// <param name="isDefault">Initial value of IsDefault.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static DimensionSetting CreateDimensionSetting(global::System.Guid ID, byte ordinal, bool isDefault)
        {
            DimensionSetting dimensionSetting = new DimensionSetting();
            dimensionSetting.Id = ID;
            dimensionSetting.Ordinal = ordinal;
            dimensionSetting.IsDefault = isDefault;
            return dimensionSetting;
        }
        /// <summary>
        /// There are no comments for Property Id in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Guid Id
        {
            get
            {
                return this._Id;
            }
            set
            {
                this.OnIdChanging(value);
                this._Id = value;
                this.OnIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Guid _Id;
        partial void OnIdChanging(global::System.Guid value);
        partial void OnIdChanged();
        /// <summary>
        /// There are no comments for Property Name in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Name
        {
            get
            {
                return this._Name;
            }
            set
            {
                this.OnNameChanging(value);
                this._Name = value;
                this.OnNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Name;
        partial void OnNameChanging(string value);
        partial void OnNameChanged();
        /// <summary>
        /// There are no comments for Property Description in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Description
        {
            get
            {
                return this._Description;
            }
            set
            {
                this.OnDescriptionChanging(value);
                this._Description = value;
                this.OnDescriptionChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Description;
        partial void OnDescriptionChanging(string value);
        partial void OnDescriptionChanged();
        /// <summary>
        /// There are no comments for Property Ordinal in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public byte Ordinal
        {
            get
            {
                return this._Ordinal;
            }
            set
            {
                this.OnOrdinalChanging(value);
                this._Ordinal = value;
                this.OnOrdinalChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private byte _Ordinal;
        partial void OnOrdinalChanging(byte value);
        partial void OnOrdinalChanged();
        /// <summary>
        /// There are no comments for Property IsDefault in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public bool IsDefault
        {
            get
            {
                return this._IsDefault;
            }
            set
            {
                this.OnIsDefaultChanging(value);
                this._IsDefault = value;
                this.OnIsDefaultChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _IsDefault;
        partial void OnIsDefaultChanging(bool value);
        partial void OnIsDefaultChanged();
    }
    /// <summary>
    /// There are no comments for Microsoft.SqlServer.Management.Server.Domain.ServiceObjective in the schema.
    /// </summary>
    /// <KeyProperties>
    /// Id
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("Id")]
    public partial class ServiceObjective
    {
        /// <summary>
        /// Create a new ServiceObjective object.
        /// </summary>
        /// <param name="ID">Initial value of Id.</param>
        /// <param name="isDefault">Initial value of IsDefault.</param>
        /// <param name="isSystem">Initial value of IsSystem.</param>
        /// <param name="enabled">Initial value of Enabled.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static ServiceObjective CreateServiceObjective(global::System.Guid ID, bool isDefault, bool isSystem, bool enabled)
        {
            ServiceObjective serviceObjective = new ServiceObjective();
            serviceObjective.Id = ID;
            serviceObjective.IsDefault = isDefault;
            serviceObjective.IsSystem = isSystem;
            serviceObjective.Enabled = enabled;
            return serviceObjective;
        }
        /// <summary>
        /// There are no comments for Property Id in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Guid Id
        {
            get
            {
                return this._Id;
            }
            set
            {
                this.OnIdChanging(value);
                this._Id = value;
                this.OnIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Guid _Id;
        partial void OnIdChanging(global::System.Guid value);
        partial void OnIdChanged();
        /// <summary>
        /// There are no comments for Property Name in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Name
        {
            get
            {
                return this._Name;
            }
            set
            {
                this.OnNameChanging(value);
                this._Name = value;
                this.OnNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Name;
        partial void OnNameChanging(string value);
        partial void OnNameChanged();
        /// <summary>
        /// There are no comments for Property Description in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Description
        {
            get
            {
                return this._Description;
            }
            set
            {
                this.OnDescriptionChanging(value);
                this._Description = value;
                this.OnDescriptionChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Description;
        partial void OnDescriptionChanging(string value);
        partial void OnDescriptionChanged();
        /// <summary>
        /// There are no comments for Property IsDefault in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public bool IsDefault
        {
            get
            {
                return this._IsDefault;
            }
            set
            {
                this.OnIsDefaultChanging(value);
                this._IsDefault = value;
                this.OnIsDefaultChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _IsDefault;
        partial void OnIsDefaultChanging(bool value);
        partial void OnIsDefaultChanged();
        /// <summary>
        /// There are no comments for Property IsSystem in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public bool IsSystem
        {
            get
            {
                return this._IsSystem;
            }
            set
            {
                this.OnIsSystemChanging(value);
                this._IsSystem = value;
                this.OnIsSystemChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _IsSystem;
        partial void OnIsSystemChanging(bool value);
        partial void OnIsSystemChanged();
        /// <summary>
        /// There are no comments for Property Enabled in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public bool Enabled
        {
            get
            {
                return this._Enabled;
            }
            set
            {
                this.OnEnabledChanging(value);
                this._Enabled = value;
                this.OnEnabledChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _Enabled;
        partial void OnEnabledChanging(bool value);
        partial void OnEnabledChanged();
        /// <summary>
        /// There are no comments for DimensionSettings in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Collections.ObjectModel.Collection<DimensionSetting> DimensionSettings
        {
            get
            {
                return this._DimensionSettings;
            }
            set
            {
                if ((value != null))
                {
                    this._DimensionSettings = value;
                }
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Collections.ObjectModel.Collection<DimensionSetting> _DimensionSettings = new global::System.Collections.ObjectModel.Collection<DimensionSetting>();
    }
    /// <summary>
    /// There are no comments for Microsoft.SqlServer.Management.Server.Domain.Operation in the schema.
    /// </summary>
    /// <KeyProperties>
    /// ActionId
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("ActionId")]
    public partial class Operation
    {
        /// <summary>
        /// Create a new Operation object.
        /// </summary>
        /// <param name="dateCreated">Initial value of DateCreated.</param>
        /// <param name="dateModified">Initial value of DateModified.</param>
        /// <param name="actionId">Initial value of ActionId.</param>
        /// <param name="completedSteps">Initial value of CompletedSteps.</param>
        /// <param name="totalSteps">Initial value of TotalSteps.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static Operation CreateOperation(global::System.DateTime dateCreated, global::System.DateTime dateModified, int actionId, int completedSteps, int totalSteps)
        {
            Operation operation = new Operation();
            operation.DateCreated = dateCreated;
            operation.DateModified = dateModified;
            operation.ActionId = actionId;
            operation.CompletedSteps = completedSteps;
            operation.TotalSteps = totalSteps;
            return operation;
        }
        /// <summary>
        /// There are no comments for Property ActionTypeName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string ActionTypeName
        {
            get
            {
                return this._ActionTypeName;
            }
            set
            {
                this.OnActionTypeNameChanging(value);
                this._ActionTypeName = value;
                this.OnActionTypeNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _ActionTypeName;
        partial void OnActionTypeNameChanging(string value);
        partial void OnActionTypeNameChanged();
        /// <summary>
        /// There are no comments for Property ActionStatusName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string ActionStatusName
        {
            get
            {
                return this._ActionStatusName;
            }
            set
            {
                this.OnActionStatusNameChanging(value);
                this._ActionStatusName = value;
                this.OnActionStatusNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _ActionStatusName;
        partial void OnActionStatusNameChanging(string value);
        partial void OnActionStatusNameChanged();
        /// <summary>
        /// There are no comments for Property DacDatabaseName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string DacDatabaseName
        {
            get
            {
                return this._DacDatabaseName;
            }
            set
            {
                this.OnDacDatabaseNameChanging(value);
                this._DacDatabaseName = value;
                this.OnDacDatabaseNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _DacDatabaseName;
        partial void OnDacDatabaseNameChanging(string value);
        partial void OnDacDatabaseNameChanged();
        /// <summary>
        /// There are no comments for Property CreatedBy in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string CreatedBy
        {
            get
            {
                return this._CreatedBy;
            }
            set
            {
                this.OnCreatedByChanging(value);
                this._CreatedBy = value;
                this.OnCreatedByChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _CreatedBy;
        partial void OnCreatedByChanging(string value);
        partial void OnCreatedByChanged();
        /// <summary>
        /// There are no comments for Property DateCreated in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.DateTime DateCreated
        {
            get
            {
                return this._DateCreated;
            }
            set
            {
                this.OnDateCreatedChanging(value);
                this._DateCreated = value;
                this.OnDateCreatedChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.DateTime _DateCreated;
        partial void OnDateCreatedChanging(global::System.DateTime value);
        partial void OnDateCreatedChanged();
        /// <summary>
        /// There are no comments for Property DateModified in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.DateTime DateModified
        {
            get
            {
                return this._DateModified;
            }
            set
            {
                this.OnDateModifiedChanging(value);
                this._DateModified = value;
                this.OnDateModifiedChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.DateTime _DateModified;
        partial void OnDateModifiedChanging(global::System.DateTime value);
        partial void OnDateModifiedChanged();
        /// <summary>
        /// There are no comments for Property Comments in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Comments
        {
            get
            {
                return this._Comments;
            }
            set
            {
                this.OnCommentsChanging(value);
                this._Comments = value;
                this.OnCommentsChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Comments;
        partial void OnCommentsChanging(string value);
        partial void OnCommentsChanged();
        /// <summary>
        /// There are no comments for Property Error in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Error
        {
            get
            {
                return this._Error;
            }
            set
            {
                this.OnErrorChanging(value);
                this._Error = value;
                this.OnErrorChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Error;
        partial void OnErrorChanging(string value);
        partial void OnErrorChanged();
        /// <summary>
        /// There are no comments for Property ActionId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public int ActionId
        {
            get
            {
                return this._ActionId;
            }
            set
            {
                this.OnActionIdChanging(value);
                this._ActionId = value;
                this.OnActionIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private int _ActionId;
        partial void OnActionIdChanging(int value);
        partial void OnActionIdChanged();
        /// <summary>
        /// There are no comments for Property CompletedSteps in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public int CompletedSteps
        {
            get
            {
                return this._CompletedSteps;
            }
            set
            {
                this.OnCompletedStepsChanging(value);
                this._CompletedSteps = value;
                this.OnCompletedStepsChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private int _CompletedSteps;
        partial void OnCompletedStepsChanging(int value);
        partial void OnCompletedStepsChanged();
        /// <summary>
        /// There are no comments for Property TotalSteps in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public int TotalSteps
        {
            get
            {
                return this._TotalSteps;
            }
            set
            {
                this.OnTotalStepsChanging(value);
                this._TotalSteps = value;
                this.OnTotalStepsChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private int _TotalSteps;
        partial void OnTotalStepsChanging(int value);
        partial void OnTotalStepsChanged();
        /// <summary>
        /// There are no comments for Property DacObjectTypeName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string DacObjectTypeName
        {
            get
            {
                return this._DacObjectTypeName;
            }
            set
            {
                this.OnDacObjectTypeNameChanging(value);
                this._DacObjectTypeName = value;
                this.OnDacObjectTypeNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _DacObjectTypeName;
        partial void OnDacObjectTypeNameChanging(string value);
        partial void OnDacObjectTypeNameChanged();
        /// <summary>
        /// There are no comments for OperationDetails in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Collections.ObjectModel.Collection<OperationDetail> OperationDetails
        {
            get
            {
                return this._OperationDetails;
            }
            set
            {
                if ((value != null))
                {
                    this._OperationDetails = value;
                }
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Collections.ObjectModel.Collection<OperationDetail> _OperationDetails = new global::System.Collections.ObjectModel.Collection<OperationDetail>();
    }
    /// <summary>
    /// There are no comments for Microsoft.SqlServer.Management.Server.Domain.OperationDetail in the schema.
    /// </summary>
    /// <KeyProperties>
    /// EntityId
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("EntityId")]
    public partial class OperationDetail
    {
        /// <summary>
        /// Create a new OperationDetail object.
        /// </summary>
        /// <param name="dateCreated">Initial value of DateCreated.</param>
        /// <param name="dateModified">Initial value of DateModified.</param>
        /// <param name="sequenceId">Initial value of SequenceId.</param>
        /// <param name="entityId">Initial value of EntityId.</param>
        /// <param name="actionId">Initial value of ActionId.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static OperationDetail CreateOperationDetail(global::System.DateTime dateCreated, global::System.DateTime dateModified, int sequenceId, string entityId, int actionId)
        {
            OperationDetail operationDetail = new OperationDetail();
            operationDetail.DateCreated = dateCreated;
            operationDetail.DateModified = dateModified;
            operationDetail.SequenceId = sequenceId;
            operationDetail.EntityId = entityId;
            operationDetail.ActionId = actionId;
            return operationDetail;
        }
        /// <summary>
        /// There are no comments for Property ActionTypeName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string ActionTypeName
        {
            get
            {
                return this._ActionTypeName;
            }
            set
            {
                this.OnActionTypeNameChanging(value);
                this._ActionTypeName = value;
                this.OnActionTypeNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _ActionTypeName;
        partial void OnActionTypeNameChanging(string value);
        partial void OnActionTypeNameChanged();
        /// <summary>
        /// There are no comments for Property ActionStatusName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string ActionStatusName
        {
            get
            {
                return this._ActionStatusName;
            }
            set
            {
                this.OnActionStatusNameChanging(value);
                this._ActionStatusName = value;
                this.OnActionStatusNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _ActionStatusName;
        partial void OnActionStatusNameChanging(string value);
        partial void OnActionStatusNameChanged();
        /// <summary>
        /// There are no comments for Property DacDatabaseName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string DacDatabaseName
        {
            get
            {
                return this._DacDatabaseName;
            }
            set
            {
                this.OnDacDatabaseNameChanging(value);
                this._DacDatabaseName = value;
                this.OnDacDatabaseNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _DacDatabaseName;
        partial void OnDacDatabaseNameChanging(string value);
        partial void OnDacDatabaseNameChanged();
        /// <summary>
        /// There are no comments for Property CreatedBy in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string CreatedBy
        {
            get
            {
                return this._CreatedBy;
            }
            set
            {
                this.OnCreatedByChanging(value);
                this._CreatedBy = value;
                this.OnCreatedByChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _CreatedBy;
        partial void OnCreatedByChanging(string value);
        partial void OnCreatedByChanged();
        /// <summary>
        /// There are no comments for Property DateCreated in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.DateTime DateCreated
        {
            get
            {
                return this._DateCreated;
            }
            set
            {
                this.OnDateCreatedChanging(value);
                this._DateCreated = value;
                this.OnDateCreatedChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.DateTime _DateCreated;
        partial void OnDateCreatedChanging(global::System.DateTime value);
        partial void OnDateCreatedChanged();
        /// <summary>
        /// There are no comments for Property DateModified in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.DateTime DateModified
        {
            get
            {
                return this._DateModified;
            }
            set
            {
                this.OnDateModifiedChanging(value);
                this._DateModified = value;
                this.OnDateModifiedChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.DateTime _DateModified;
        partial void OnDateModifiedChanging(global::System.DateTime value);
        partial void OnDateModifiedChanged();
        /// <summary>
        /// There are no comments for Property Comments in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Comments
        {
            get
            {
                return this._Comments;
            }
            set
            {
                this.OnCommentsChanging(value);
                this._Comments = value;
                this.OnCommentsChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Comments;
        partial void OnCommentsChanging(string value);
        partial void OnCommentsChanged();
        /// <summary>
        /// There are no comments for Property Error in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Error
        {
            get
            {
                return this._Error;
            }
            set
            {
                this.OnErrorChanging(value);
                this._Error = value;
                this.OnErrorChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Error;
        partial void OnErrorChanging(string value);
        partial void OnErrorChanged();
        /// <summary>
        /// There are no comments for Property SequenceId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public int SequenceId
        {
            get
            {
                return this._SequenceId;
            }
            set
            {
                this.OnSequenceIdChanging(value);
                this._SequenceId = value;
                this.OnSequenceIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private int _SequenceId;
        partial void OnSequenceIdChanging(int value);
        partial void OnSequenceIdChanged();
        /// <summary>
        /// There are no comments for Property EntityId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string EntityId
        {
            get
            {
                return this._EntityId;
            }
            set
            {
                this.OnEntityIdChanging(value);
                this._EntityId = value;
                this.OnEntityIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _EntityId;
        partial void OnEntityIdChanging(string value);
        partial void OnEntityIdChanged();
        /// <summary>
        /// There are no comments for Property ActionId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public int ActionId
        {
            get
            {
                return this._ActionId;
            }
            set
            {
                this.OnActionIdChanging(value);
                this._ActionId = value;
                this.OnActionIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private int _ActionId;
        partial void OnActionIdChanging(int value);
        partial void OnActionIdChanged();
        /// <summary>
        /// There are no comments for Property DacObjectTypeName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string DacObjectTypeName
        {
            get
            {
                return this._DacObjectTypeName;
            }
            set
            {
                this.OnDacObjectTypeNameChanging(value);
                this._DacObjectTypeName = value;
                this.OnDacObjectTypeNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _DacObjectTypeName;
        partial void OnDacObjectTypeNameChanging(string value);
        partial void OnDacObjectTypeNameChanged();
        /// <summary>
        /// There are no comments for Operation in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public Operation Operation
        {
            get
            {
                return this._Operation;
            }
            set
            {
                this._Operation = value;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private Operation _Operation;
    }
    /// <summary>
    /// There are no comments for Microsoft.SqlServer.Management.Server.Domain.CreateDatabaseFromDacPacOperation in the schema.
    /// </summary>
    /// <KeyProperties>
    /// OperationGuid
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("OperationGuid")]
    public partial class CreateDatabaseFromDacPacOperation
    {
        /// <summary>
        /// Create a new CreateDatabaseFromDacPacOperation object.
        /// </summary>
        /// <param name="operationGuid">Initial value of OperationGuid.</param>
        /// <param name="operationId">Initial value of OperationId.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static CreateDatabaseFromDacPacOperation CreateCreateDatabaseFromDacPacOperation(global::System.Guid operationGuid, int operationId)
        {
            CreateDatabaseFromDacPacOperation createDatabaseFromDacPacOperation = new CreateDatabaseFromDacPacOperation();
            createDatabaseFromDacPacOperation.OperationGuid = operationGuid;
            createDatabaseFromDacPacOperation.OperationId = operationId;
            return createDatabaseFromDacPacOperation;
        }
        /// <summary>
        /// There are no comments for Property OperationGuid in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Guid OperationGuid
        {
            get
            {
                return this._OperationGuid;
            }
            set
            {
                this.OnOperationGuidChanging(value);
                this._OperationGuid = value;
                this.OnOperationGuidChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Guid _OperationGuid;
        partial void OnOperationGuidChanging(global::System.Guid value);
        partial void OnOperationGuidChanged();
        /// <summary>
        /// There are no comments for Property DatabaseName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string DatabaseName
        {
            get
            {
                return this._DatabaseName;
            }
            set
            {
                this.OnDatabaseNameChanging(value);
                this._DatabaseName = value;
                this.OnDatabaseNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _DatabaseName;
        partial void OnDatabaseNameChanging(string value);
        partial void OnDatabaseNameChanged();
        /// <summary>
        /// There are no comments for Property Edition in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Edition
        {
            get
            {
                return this._Edition;
            }
            set
            {
                this.OnEditionChanging(value);
                this._Edition = value;
                this.OnEditionChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Edition;
        partial void OnEditionChanging(string value);
        partial void OnEditionChanged();
        /// <summary>
        /// There are no comments for Property MaxSizeGB in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<int> MaxSizeGB
        {
            get
            {
                return this._MaxSizeGB;
            }
            set
            {
                this.OnMaxSizeGBChanging(value);
                this._MaxSizeGB = value;
                this.OnMaxSizeGBChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<int> _MaxSizeGB;
        partial void OnMaxSizeGBChanging(global::System.Nullable<int> value);
        partial void OnMaxSizeGBChanged();
        /// <summary>
        /// There are no comments for Property OperationId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public int OperationId
        {
            get
            {
                return this._OperationId;
            }
            set
            {
                this.OnOperationIdChanging(value);
                this._OperationId = value;
                this.OnOperationIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private int _OperationId;
        partial void OnOperationIdChanging(int value);
        partial void OnOperationIdChanged();
        /// <summary>
        /// There are no comments for Property DacPac in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public byte[] DacPac
        {
            get
            {
                if ((this._DacPac != null))
                {
                    return ((byte[])(this._DacPac.Clone()));
                }
                else
                {
                    return null;
                }
            }
            set
            {
                this.OnDacPacChanging(value);
                this._DacPac = value;
                this.OnDacPacChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private byte[] _DacPac;
        partial void OnDacPacChanging(byte[] value);
        partial void OnDacPacChanged();
    }
    /// <summary>
    /// There are no comments for Microsoft.SqlServer.Management.Server.Domain.ExtractDacPacOperation in the schema.
    /// </summary>
    /// <KeyProperties>
    /// OperationGuid
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("OperationGuid")]
    public partial class ExtractDacPacOperation
    {
        /// <summary>
        /// Create a new ExtractDacPacOperation object.
        /// </summary>
        /// <param name="operationGuid">Initial value of OperationGuid.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static ExtractDacPacOperation CreateExtractDacPacOperation(global::System.Guid operationGuid)
        {
            ExtractDacPacOperation extractDacPacOperation = new ExtractDacPacOperation();
            extractDacPacOperation.OperationGuid = operationGuid;
            return extractDacPacOperation;
        }
        /// <summary>
        /// There are no comments for Property OperationGuid in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Guid OperationGuid
        {
            get
            {
                return this._OperationGuid;
            }
            set
            {
                this.OnOperationGuidChanging(value);
                this._OperationGuid = value;
                this.OnOperationGuidChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Guid _OperationGuid;
        partial void OnOperationGuidChanging(global::System.Guid value);
        partial void OnOperationGuidChanged();
        /// <summary>
        /// There are no comments for Property DatabaseName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string DatabaseName
        {
            get
            {
                return this._DatabaseName;
            }
            set
            {
                this.OnDatabaseNameChanging(value);
                this._DatabaseName = value;
                this.OnDatabaseNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _DatabaseName;
        partial void OnDatabaseNameChanging(string value);
        partial void OnDatabaseNameChanged();
        /// <summary>
        /// There are no comments for Property DacTypeName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string DacTypeName
        {
            get
            {
                return this._DacTypeName;
            }
            set
            {
                this.OnDacTypeNameChanging(value);
                this._DacTypeName = value;
                this.OnDacTypeNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _DacTypeName;
        partial void OnDacTypeNameChanging(string value);
        partial void OnDacTypeNameChanged();
        /// <summary>
        /// There are no comments for Property Version in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Version
        {
            get
            {
                return this._Version;
            }
            set
            {
                this.OnVersionChanging(value);
                this._Version = value;
                this.OnVersionChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Version;
        partial void OnVersionChanging(string value);
        partial void OnVersionChanged();
        /// <summary>
        /// There are no comments for Property Description in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Description
        {
            get
            {
                return this._Description;
            }
            set
            {
                this.OnDescriptionChanging(value);
                this._Description = value;
                this.OnDescriptionChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Description;
        partial void OnDescriptionChanging(string value);
        partial void OnDescriptionChanged();
        /// <summary>
        /// There are no comments for Property DacPac in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public byte[] DacPac
        {
            get
            {
                if ((this._DacPac != null))
                {
                    return ((byte[])(this._DacPac.Clone()));
                }
                else
                {
                    return null;
                }
            }
            set
            {
                this.OnDacPacChanging(value);
                this._DacPac = value;
                this.OnDacPacChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private byte[] _DacPac;
        partial void OnDacPacChanging(byte[] value);
        partial void OnDacPacChanged();
    }
    /// <summary>
    /// There are no comments for Microsoft.SqlServer.Management.Server.Domain.UpgradeDatabaseFromDacPacOperation in the schema.
    /// </summary>
    /// <KeyProperties>
    /// OperationGuid
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("OperationGuid")]
    public partial class UpgradeDatabaseFromDacPacOperation
    {
        /// <summary>
        /// Create a new UpgradeDatabaseFromDacPacOperation object.
        /// </summary>
        /// <param name="operationGuid">Initial value of OperationGuid.</param>
        /// <param name="operationId">Initial value of OperationId.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static UpgradeDatabaseFromDacPacOperation CreateUpgradeDatabaseFromDacPacOperation(global::System.Guid operationGuid, int operationId)
        {
            UpgradeDatabaseFromDacPacOperation upgradeDatabaseFromDacPacOperation = new UpgradeDatabaseFromDacPacOperation();
            upgradeDatabaseFromDacPacOperation.OperationGuid = operationGuid;
            upgradeDatabaseFromDacPacOperation.OperationId = operationId;
            return upgradeDatabaseFromDacPacOperation;
        }
        /// <summary>
        /// There are no comments for Property OperationGuid in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Guid OperationGuid
        {
            get
            {
                return this._OperationGuid;
            }
            set
            {
                this.OnOperationGuidChanging(value);
                this._OperationGuid = value;
                this.OnOperationGuidChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Guid _OperationGuid;
        partial void OnOperationGuidChanging(global::System.Guid value);
        partial void OnOperationGuidChanged();
        /// <summary>
        /// There are no comments for Property DatabaseName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string DatabaseName
        {
            get
            {
                return this._DatabaseName;
            }
            set
            {
                this.OnDatabaseNameChanging(value);
                this._DatabaseName = value;
                this.OnDatabaseNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _DatabaseName;
        partial void OnDatabaseNameChanging(string value);
        partial void OnDatabaseNameChanged();
        /// <summary>
        /// There are no comments for Property DacPac in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public byte[] DacPac
        {
            get
            {
                if ((this._DacPac != null))
                {
                    return ((byte[])(this._DacPac.Clone()));
                }
                else
                {
                    return null;
                }
            }
            set
            {
                this.OnDacPacChanging(value);
                this._DacPac = value;
                this.OnDacPacChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private byte[] _DacPac;
        partial void OnDacPacChanging(byte[] value);
        partial void OnDacPacChanged();
        /// <summary>
        /// There are no comments for Property RollbackOnFailure in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<bool> RollbackOnFailure
        {
            get
            {
                return this._RollbackOnFailure;
            }
            set
            {
                this.OnRollbackOnFailureChanging(value);
                this._RollbackOnFailure = value;
                this.OnRollbackOnFailureChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<bool> _RollbackOnFailure;
        partial void OnRollbackOnFailureChanging(global::System.Nullable<bool> value);
        partial void OnRollbackOnFailureChanged();
        /// <summary>
        /// There are no comments for Property OperationId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public int OperationId
        {
            get
            {
                return this._OperationId;
            }
            set
            {
                this.OnOperationIdChanging(value);
                this._OperationId = value;
                this.OnOperationIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private int _OperationId;
        partial void OnOperationIdChanging(int value);
        partial void OnOperationIdChanged();
    }
    /// <summary>
    /// There are no comments for Microsoft.SqlServer.Management.Server.Domain.ViewDatabaseChangesOperation in the schema.
    /// </summary>
    /// <KeyProperties>
    /// OperationGuid
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("OperationGuid")]
    public partial class ViewDatabaseChangesOperation
    {
        /// <summary>
        /// Create a new ViewDatabaseChangesOperation object.
        /// </summary>
        /// <param name="operationGuid">Initial value of OperationGuid.</param>
        /// <param name="isRegisteredDac">Initial value of IsRegisteredDac.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static ViewDatabaseChangesOperation CreateViewDatabaseChangesOperation(global::System.Guid operationGuid, bool isRegisteredDac)
        {
            ViewDatabaseChangesOperation viewDatabaseChangesOperation = new ViewDatabaseChangesOperation();
            viewDatabaseChangesOperation.OperationGuid = operationGuid;
            viewDatabaseChangesOperation.IsRegisteredDac = isRegisteredDac;
            return viewDatabaseChangesOperation;
        }
        /// <summary>
        /// There are no comments for Property OperationGuid in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Guid OperationGuid
        {
            get
            {
                return this._OperationGuid;
            }
            set
            {
                this.OnOperationGuidChanging(value);
                this._OperationGuid = value;
                this.OnOperationGuidChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Guid _OperationGuid;
        partial void OnOperationGuidChanging(global::System.Guid value);
        partial void OnOperationGuidChanged();
        /// <summary>
        /// There are no comments for Property DatabaseName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string DatabaseName
        {
            get
            {
                return this._DatabaseName;
            }
            set
            {
                this.OnDatabaseNameChanging(value);
                this._DatabaseName = value;
                this.OnDatabaseNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _DatabaseName;
        partial void OnDatabaseNameChanging(string value);
        partial void OnDatabaseNameChanged();
        /// <summary>
        /// There are no comments for Property ChangeResult in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string ChangeResult
        {
            get
            {
                return this._ChangeResult;
            }
            set
            {
                this.OnChangeResultChanging(value);
                this._ChangeResult = value;
                this.OnChangeResultChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _ChangeResult;
        partial void OnChangeResultChanging(string value);
        partial void OnChangeResultChanged();
        /// <summary>
        /// There are no comments for Property IsRegisteredDac in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public bool IsRegisteredDac
        {
            get
            {
                return this._IsRegisteredDac;
            }
            set
            {
                this.OnIsRegisteredDacChanging(value);
                this._IsRegisteredDac = value;
                this.OnIsRegisteredDacChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _IsRegisteredDac;
        partial void OnIsRegisteredDacChanging(bool value);
        partial void OnIsRegisteredDacChanged();
    }
    /// <summary>
    /// There are no comments for Microsoft.SqlServer.Management.Server.Domain.ViewUpgradePlanOperation in the schema.
    /// </summary>
    /// <KeyProperties>
    /// OperationGuid
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("OperationGuid")]
    public partial class ViewUpgradePlanOperation
    {
        /// <summary>
        /// Create a new ViewUpgradePlanOperation object.
        /// </summary>
        /// <param name="operationGuid">Initial value of OperationGuid.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static ViewUpgradePlanOperation CreateViewUpgradePlanOperation(global::System.Guid operationGuid)
        {
            ViewUpgradePlanOperation viewUpgradePlanOperation = new ViewUpgradePlanOperation();
            viewUpgradePlanOperation.OperationGuid = operationGuid;
            return viewUpgradePlanOperation;
        }
        /// <summary>
        /// There are no comments for Property OperationGuid in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Guid OperationGuid
        {
            get
            {
                return this._OperationGuid;
            }
            set
            {
                this.OnOperationGuidChanging(value);
                this._OperationGuid = value;
                this.OnOperationGuidChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Guid _OperationGuid;
        partial void OnOperationGuidChanging(global::System.Guid value);
        partial void OnOperationGuidChanged();
        /// <summary>
        /// There are no comments for Property DatabaseName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string DatabaseName
        {
            get
            {
                return this._DatabaseName;
            }
            set
            {
                this.OnDatabaseNameChanging(value);
                this._DatabaseName = value;
                this.OnDatabaseNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _DatabaseName;
        partial void OnDatabaseNameChanging(string value);
        partial void OnDatabaseNameChanged();
        /// <summary>
        /// There are no comments for Property DacPac in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public byte[] DacPac
        {
            get
            {
                if ((this._DacPac != null))
                {
                    return ((byte[])(this._DacPac.Clone()));
                }
                else
                {
                    return null;
                }
            }
            set
            {
                this.OnDacPacChanging(value);
                this._DacPac = value;
                this.OnDacPacChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private byte[] _DacPac;
        partial void OnDacPacChanging(byte[] value);
        partial void OnDacPacChanged();
        /// <summary>
        /// There are no comments for Property RollbackOnFailure in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<bool> RollbackOnFailure
        {
            get
            {
                return this._RollbackOnFailure;
            }
            set
            {
                this.OnRollbackOnFailureChanging(value);
                this._RollbackOnFailure = value;
                this.OnRollbackOnFailureChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<bool> _RollbackOnFailure;
        partial void OnRollbackOnFailureChanging(global::System.Nullable<bool> value);
        partial void OnRollbackOnFailureChanged();
        /// <summary>
        /// There are no comments for Property UpgradePlan in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string UpgradePlan
        {
            get
            {
                return this._UpgradePlan;
            }
            set
            {
                this.OnUpgradePlanChanging(value);
                this._UpgradePlan = value;
                this.OnUpgradePlanChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _UpgradePlan;
        partial void OnUpgradePlanChanging(string value);
        partial void OnUpgradePlanChanged();
        /// <summary>
        /// There are no comments for Property UpgradeScript in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string UpgradeScript
        {
            get
            {
                return this._UpgradeScript;
            }
            set
            {
                this.OnUpgradeScriptChanging(value);
                this._UpgradeScript = value;
                this.OnUpgradeScriptChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _UpgradeScript;
        partial void OnUpgradeScriptChanging(string value);
        partial void OnUpgradeScriptChanged();
    }
    /// <summary>
    /// There are no comments for Microsoft.SqlServer.Management.Server.Domain.DatabaseRestoreStatus in the schema.
    /// </summary>
    /// <KeyProperties>
    /// RequestID
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("RequestID")]
    public partial class DatabaseRestoreStatus
    {
        /// <summary>
        /// Create a new DatabaseRestoreStatus object.
        /// </summary>
        /// <param name="requestID">Initial value of RequestID.</param>
        /// <param name="isCancelled">Initial value of IsCancelled.</param>
        /// <param name="createdDate">Initial value of CreatedDate.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static DatabaseRestoreStatus CreateDatabaseRestoreStatus(global::System.Guid requestID, bool isCancelled, global::System.DateTime createdDate)
        {
            DatabaseRestoreStatus databaseRestoreStatus = new DatabaseRestoreStatus();
            databaseRestoreStatus.RequestID = requestID;
            databaseRestoreStatus.IsCancelled = isCancelled;
            databaseRestoreStatus.CreatedDate = createdDate;
            return databaseRestoreStatus;
        }
        /// <summary>
        /// There are no comments for Property RequestID in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Guid RequestID
        {
            get
            {
                return this._RequestID;
            }
            set
            {
                this.OnRequestIDChanging(value);
                this._RequestID = value;
                this.OnRequestIDChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Guid _RequestID;
        partial void OnRequestIDChanging(global::System.Guid value);
        partial void OnRequestIDChanged();
        /// <summary>
        /// There are no comments for Property SourceServerName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string SourceServerName
        {
            get
            {
                return this._SourceServerName;
            }
            set
            {
                this.OnSourceServerNameChanging(value);
                this._SourceServerName = value;
                this.OnSourceServerNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _SourceServerName;
        partial void OnSourceServerNameChanging(string value);
        partial void OnSourceServerNameChanged();
        /// <summary>
        /// There are no comments for Property SourceDatabaseName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string SourceDatabaseName
        {
            get
            {
                return this._SourceDatabaseName;
            }
            set
            {
                this.OnSourceDatabaseNameChanging(value);
                this._SourceDatabaseName = value;
                this.OnSourceDatabaseNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _SourceDatabaseName;
        partial void OnSourceDatabaseNameChanging(string value);
        partial void OnSourceDatabaseNameChanged();
        /// <summary>
        /// There are no comments for Property SourceDatabaseDeletionDate in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<global::System.DateTime> SourceDatabaseDeletionDate
        {
            get
            {
                return this._SourceDatabaseDeletionDate;
            }
            set
            {
                this.OnSourceDatabaseDeletionDateChanging(value);
                this._SourceDatabaseDeletionDate = value;
                this.OnSourceDatabaseDeletionDateChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<global::System.DateTime> _SourceDatabaseDeletionDate;
        partial void OnSourceDatabaseDeletionDateChanging(global::System.Nullable<global::System.DateTime> value);
        partial void OnSourceDatabaseDeletionDateChanged();
        /// <summary>
        /// There are no comments for Property TargetServerName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string TargetServerName
        {
            get
            {
                return this._TargetServerName;
            }
            set
            {
                this.OnTargetServerNameChanging(value);
                this._TargetServerName = value;
                this.OnTargetServerNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _TargetServerName;
        partial void OnTargetServerNameChanging(string value);
        partial void OnTargetServerNameChanged();
        /// <summary>
        /// There are no comments for Property TargetDatabaseName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string TargetDatabaseName
        {
            get
            {
                return this._TargetDatabaseName;
            }
            set
            {
                this.OnTargetDatabaseNameChanging(value);
                this._TargetDatabaseName = value;
                this.OnTargetDatabaseNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _TargetDatabaseName;
        partial void OnTargetDatabaseNameChanging(string value);
        partial void OnTargetDatabaseNameChanged();
        /// <summary>
        /// There are no comments for Property TargetUtcPointInTime in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<global::System.DateTime> TargetUtcPointInTime
        {
            get
            {
                return this._TargetUtcPointInTime;
            }
            set
            {
                this.OnTargetUtcPointInTimeChanging(value);
                this._TargetUtcPointInTime = value;
                this.OnTargetUtcPointInTimeChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<global::System.DateTime> _TargetUtcPointInTime;
        partial void OnTargetUtcPointInTimeChanging(global::System.Nullable<global::System.DateTime> value);
        partial void OnTargetUtcPointInTimeChanged();
        /// <summary>
        /// There are no comments for Property State in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string State
        {
            get
            {
                return this._State;
            }
            set
            {
                this.OnStateChanging(value);
                this._State = value;
                this.OnStateChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _State;
        partial void OnStateChanging(string value);
        partial void OnStateChanged();
        /// <summary>
        /// There are no comments for Property Error in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Error
        {
            get
            {
                return this._Error;
            }
            set
            {
                this.OnErrorChanging(value);
                this._Error = value;
                this.OnErrorChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Error;
        partial void OnErrorChanging(string value);
        partial void OnErrorChanged();
        /// <summary>
        /// There are no comments for Property IsCancelled in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public bool IsCancelled
        {
            get
            {
                return this._IsCancelled;
            }
            set
            {
                this.OnIsCancelledChanging(value);
                this._IsCancelled = value;
                this.OnIsCancelledChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _IsCancelled;
        partial void OnIsCancelledChanging(bool value);
        partial void OnIsCancelledChanged();
        /// <summary>
        /// There are no comments for Property CreatedBy in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string CreatedBy
        {
            get
            {
                return this._CreatedBy;
            }
            set
            {
                this.OnCreatedByChanging(value);
                this._CreatedBy = value;
                this.OnCreatedByChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _CreatedBy;
        partial void OnCreatedByChanging(string value);
        partial void OnCreatedByChanged();
        /// <summary>
        /// There are no comments for Property CreatedDate in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.DateTime CreatedDate
        {
            get
            {
                return this._CreatedDate;
            }
            set
            {
                this.OnCreatedDateChanging(value);
                this._CreatedDate = value;
                this.OnCreatedDateChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.DateTime _CreatedDate;
        partial void OnCreatedDateChanging(global::System.DateTime value);
        partial void OnCreatedDateChanged();
    }
    /// <summary>
    /// There are no comments for Microsoft.SqlServer.Management.Server.Domain.RestoreDatabaseOperation in the schema.
    /// </summary>
    /// <KeyProperties>
    /// RequestID
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("RequestID")]
    public partial class RestoreDatabaseOperation
    {
        /// <summary>
        /// Create a new RestoreDatabaseOperation object.
        /// </summary>
        /// <param name="requestID">Initial value of RequestID.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static RestoreDatabaseOperation CreateRestoreDatabaseOperation(global::System.Guid requestID)
        {
            RestoreDatabaseOperation restoreDatabaseOperation = new RestoreDatabaseOperation();
            restoreDatabaseOperation.RequestID = requestID;
            return restoreDatabaseOperation;
        }
        /// <summary>
        /// There are no comments for Property RequestID in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Guid RequestID
        {
            get
            {
                return this._RequestID;
            }
            set
            {
                this.OnRequestIDChanging(value);
                this._RequestID = value;
                this.OnRequestIDChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Guid _RequestID;
        partial void OnRequestIDChanging(global::System.Guid value);
        partial void OnRequestIDChanged();
        /// <summary>
        /// There are no comments for Property SourceDatabaseName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string SourceDatabaseName
        {
            get
            {
                return this._SourceDatabaseName;
            }
            set
            {
                this.OnSourceDatabaseNameChanging(value);
                this._SourceDatabaseName = value;
                this.OnSourceDatabaseNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _SourceDatabaseName;
        partial void OnSourceDatabaseNameChanging(string value);
        partial void OnSourceDatabaseNameChanged();
        /// <summary>
        /// There are no comments for Property SourceDatabaseDeletionDate in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<global::System.DateTime> SourceDatabaseDeletionDate
        {
            get
            {
                return this._SourceDatabaseDeletionDate;
            }
            set
            {
                this.OnSourceDatabaseDeletionDateChanging(value);
                this._SourceDatabaseDeletionDate = value;
                this.OnSourceDatabaseDeletionDateChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<global::System.DateTime> _SourceDatabaseDeletionDate;
        partial void OnSourceDatabaseDeletionDateChanging(global::System.Nullable<global::System.DateTime> value);
        partial void OnSourceDatabaseDeletionDateChanged();
        /// <summary>
        /// There are no comments for Property TargetServerName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string TargetServerName
        {
            get
            {
                return this._TargetServerName;
            }
            set
            {
                this.OnTargetServerNameChanging(value);
                this._TargetServerName = value;
                this.OnTargetServerNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _TargetServerName;
        partial void OnTargetServerNameChanging(string value);
        partial void OnTargetServerNameChanged();
        /// <summary>
        /// There are no comments for Property TargetDatabaseName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string TargetDatabaseName
        {
            get
            {
                return this._TargetDatabaseName;
            }
            set
            {
                this.OnTargetDatabaseNameChanging(value);
                this._TargetDatabaseName = value;
                this.OnTargetDatabaseNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _TargetDatabaseName;
        partial void OnTargetDatabaseNameChanging(string value);
        partial void OnTargetDatabaseNameChanged();
        /// <summary>
        /// There are no comments for Property TargetUtcPointInTime in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<global::System.DateTime> TargetUtcPointInTime
        {
            get
            {
                return this._TargetUtcPointInTime;
            }
            set
            {
                this.OnTargetUtcPointInTimeChanging(value);
                this._TargetUtcPointInTime = value;
                this.OnTargetUtcPointInTimeChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<global::System.DateTime> _TargetUtcPointInTime;
        partial void OnTargetUtcPointInTimeChanging(global::System.Nullable<global::System.DateTime> value);
        partial void OnTargetUtcPointInTimeChanged();
    }
    /// <summary>
    /// There are no comments for Microsoft.SqlServer.Management.Server.Domain.RecoverDatabaseOperation in the schema.
    /// </summary>
    /// <KeyProperties>
    /// RequestID
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("RequestID")]
    public partial class RecoverDatabaseOperation
    {
        /// <summary>
        /// Create a new RecoverDatabaseOperation object.
        /// </summary>
        /// <param name="requestID">Initial value of RequestID.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static RecoverDatabaseOperation CreateRecoverDatabaseOperation(global::System.Guid requestID)
        {
            RecoverDatabaseOperation recoverDatabaseOperation = new RecoverDatabaseOperation();
            recoverDatabaseOperation.RequestID = requestID;
            return recoverDatabaseOperation;
        }
        /// <summary>
        /// There are no comments for Property RequestID in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Guid RequestID
        {
            get
            {
                return this._RequestID;
            }
            set
            {
                this.OnRequestIDChanging(value);
                this._RequestID = value;
                this.OnRequestIDChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Guid _RequestID;
        partial void OnRequestIDChanging(global::System.Guid value);
        partial void OnRequestIDChanged();
        /// <summary>
        /// There are no comments for Property SourceDatabaseName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string SourceDatabaseName
        {
            get
            {
                return this._SourceDatabaseName;
            }
            set
            {
                this.OnSourceDatabaseNameChanging(value);
                this._SourceDatabaseName = value;
                this.OnSourceDatabaseNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _SourceDatabaseName;
        partial void OnSourceDatabaseNameChanging(string value);
        partial void OnSourceDatabaseNameChanged();
        /// <summary>
        /// There are no comments for Property TargetServerName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string TargetServerName
        {
            get
            {
                return this._TargetServerName;
            }
            set
            {
                this.OnTargetServerNameChanging(value);
                this._TargetServerName = value;
                this.OnTargetServerNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _TargetServerName;
        partial void OnTargetServerNameChanging(string value);
        partial void OnTargetServerNameChanged();
        /// <summary>
        /// There are no comments for Property TargetDatabaseName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string TargetDatabaseName
        {
            get
            {
                return this._TargetDatabaseName;
            }
            set
            {
                this.OnTargetDatabaseNameChanging(value);
                this._TargetDatabaseName = value;
                this.OnTargetDatabaseNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _TargetDatabaseName;
        partial void OnTargetDatabaseNameChanging(string value);
        partial void OnTargetDatabaseNameChanged();
    }
    /// <summary>
    /// There are no comments for Microsoft.SqlServer.Management.Server.Domain.DatabaseCopy in the schema.
    /// </summary>
    /// <KeyProperties>
    /// EntityId
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("EntityId")]
    public partial class DatabaseCopy
    {
        /// <summary>
        /// Create a new DatabaseCopy object.
        /// </summary>
        /// <param name="localDatabaseId">Initial value of LocalDatabaseId.</param>
        /// <param name="isContinuous">Initial value of IsContinuous.</param>
        /// <param name="isLocalDatabaseReplicationTarget">Initial value of IsLocalDatabaseReplicationTarget.</param>
        /// <param name="replicationState">Initial value of ReplicationState.</param>
        /// <param name="isInterlinkConnected">Initial value of IsInterlinkConnected.</param>
        /// <param name="entityId">Initial value of EntityId.</param>
        /// <param name="isOfflineSecondary">Initial value of IsOfflineSecondary.</param>
        /// <param name="isTerminationAllowed">Initial value of IsTerminationAllowed.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static DatabaseCopy CreateDatabaseCopy(int localDatabaseId, bool isContinuous, bool isLocalDatabaseReplicationTarget, byte replicationState, bool isInterlinkConnected, global::System.Guid entityId, bool isOfflineSecondary, bool isTerminationAllowed)
        {
            DatabaseCopy databaseCopy = new DatabaseCopy();
            databaseCopy.LocalDatabaseId = localDatabaseId;
            databaseCopy.IsContinuous = isContinuous;
            databaseCopy.IsLocalDatabaseReplicationTarget = isLocalDatabaseReplicationTarget;
            databaseCopy.ReplicationState = replicationState;
            databaseCopy.IsInterlinkConnected = isInterlinkConnected;
            databaseCopy.EntityId = entityId;
            databaseCopy.IsOfflineSecondary = isOfflineSecondary;
            databaseCopy.IsTerminationAllowed = isTerminationAllowed;
            return databaseCopy;
        }
        /// <summary>
        /// There are no comments for Property LocalDatabaseId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public int LocalDatabaseId
        {
            get
            {
                return this._LocalDatabaseId;
            }
            set
            {
                this.OnLocalDatabaseIdChanging(value);
                this._LocalDatabaseId = value;
                this.OnLocalDatabaseIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private int _LocalDatabaseId;
        partial void OnLocalDatabaseIdChanging(int value);
        partial void OnLocalDatabaseIdChanged();
        /// <summary>
        /// There are no comments for Property DestinationServerName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string DestinationServerName
        {
            get
            {
                return this._DestinationServerName;
            }
            set
            {
                this.OnDestinationServerNameChanging(value);
                this._DestinationServerName = value;
                this.OnDestinationServerNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _DestinationServerName;
        partial void OnDestinationServerNameChanging(string value);
        partial void OnDestinationServerNameChanged();
        /// <summary>
        /// There are no comments for Property DestinationDatabaseName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string DestinationDatabaseName
        {
            get
            {
                return this._DestinationDatabaseName;
            }
            set
            {
                this.OnDestinationDatabaseNameChanging(value);
                this._DestinationDatabaseName = value;
                this.OnDestinationDatabaseNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _DestinationDatabaseName;
        partial void OnDestinationDatabaseNameChanging(string value);
        partial void OnDestinationDatabaseNameChanged();
        /// <summary>
        /// There are no comments for Property SourceServerName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string SourceServerName
        {
            get
            {
                return this._SourceServerName;
            }
            set
            {
                this.OnSourceServerNameChanging(value);
                this._SourceServerName = value;
                this.OnSourceServerNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _SourceServerName;
        partial void OnSourceServerNameChanging(string value);
        partial void OnSourceServerNameChanged();
        /// <summary>
        /// There are no comments for Property SourceDatabaseName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string SourceDatabaseName
        {
            get
            {
                return this._SourceDatabaseName;
            }
            set
            {
                this.OnSourceDatabaseNameChanging(value);
                this._SourceDatabaseName = value;
                this.OnSourceDatabaseNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _SourceDatabaseName;
        partial void OnSourceDatabaseNameChanging(string value);
        partial void OnSourceDatabaseNameChanged();
        /// <summary>
        /// There are no comments for Property IsContinuous in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public bool IsContinuous
        {
            get
            {
                return this._IsContinuous;
            }
            set
            {
                this.OnIsContinuousChanging(value);
                this._IsContinuous = value;
                this.OnIsContinuousChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _IsContinuous;
        partial void OnIsContinuousChanging(bool value);
        partial void OnIsContinuousChanged();
        /// <summary>
        /// There are no comments for Property TextStartDate in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string TextStartDate
        {
            get
            {
                return this._TextStartDate;
            }
            set
            {
                this.OnTextStartDateChanging(value);
                this._TextStartDate = value;
                this.OnTextStartDateChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _TextStartDate;
        partial void OnTextStartDateChanging(string value);
        partial void OnTextStartDateChanged();
        /// <summary>
        /// There are no comments for Property TextModifyDate in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string TextModifyDate
        {
            get
            {
                return this._TextModifyDate;
            }
            set
            {
                this.OnTextModifyDateChanging(value);
                this._TextModifyDate = value;
                this.OnTextModifyDateChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _TextModifyDate;
        partial void OnTextModifyDateChanging(string value);
        partial void OnTextModifyDateChanged();
        /// <summary>
        /// There are no comments for Property PercentComplete in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<float> PercentComplete
        {
            get
            {
                return this._PercentComplete;
            }
            set
            {
                this.OnPercentCompleteChanging(value);
                this._PercentComplete = value;
                this.OnPercentCompleteChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<float> _PercentComplete;
        partial void OnPercentCompleteChanging(global::System.Nullable<float> value);
        partial void OnPercentCompleteChanged();
        /// <summary>
        /// There are no comments for Property IsLocalDatabaseReplicationTarget in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public bool IsLocalDatabaseReplicationTarget
        {
            get
            {
                return this._IsLocalDatabaseReplicationTarget;
            }
            set
            {
                this.OnIsLocalDatabaseReplicationTargetChanging(value);
                this._IsLocalDatabaseReplicationTarget = value;
                this.OnIsLocalDatabaseReplicationTargetChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _IsLocalDatabaseReplicationTarget;
        partial void OnIsLocalDatabaseReplicationTargetChanging(bool value);
        partial void OnIsLocalDatabaseReplicationTargetChanged();
        /// <summary>
        /// There are no comments for Property ReplicationState in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public byte ReplicationState
        {
            get
            {
                return this._ReplicationState;
            }
            set
            {
                this.OnReplicationStateChanging(value);
                this._ReplicationState = value;
                this.OnReplicationStateChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private byte _ReplicationState;
        partial void OnReplicationStateChanging(byte value);
        partial void OnReplicationStateChanged();
        /// <summary>
        /// There are no comments for Property ReplicationStateDescription in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string ReplicationStateDescription
        {
            get
            {
                return this._ReplicationStateDescription;
            }
            set
            {
                this.OnReplicationStateDescriptionChanging(value);
                this._ReplicationStateDescription = value;
                this.OnReplicationStateDescriptionChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _ReplicationStateDescription;
        partial void OnReplicationStateDescriptionChanging(string value);
        partial void OnReplicationStateDescriptionChanged();
        /// <summary>
        /// There are no comments for Property IsInterlinkConnected in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public bool IsInterlinkConnected
        {
            get
            {
                return this._IsInterlinkConnected;
            }
            set
            {
                this.OnIsInterlinkConnectedChanging(value);
                this._IsInterlinkConnected = value;
                this.OnIsInterlinkConnectedChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _IsInterlinkConnected;
        partial void OnIsInterlinkConnectedChanging(bool value);
        partial void OnIsInterlinkConnectedChanged();
        /// <summary>
        /// There are no comments for Property IsForcedTerminate in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<bool> IsForcedTerminate
        {
            get
            {
                return this._IsForcedTerminate;
            }
            set
            {
                this.OnIsForcedTerminateChanging(value);
                this._IsForcedTerminate = value;
                this.OnIsForcedTerminateChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<bool> _IsForcedTerminate;
        partial void OnIsForcedTerminateChanging(global::System.Nullable<bool> value);
        partial void OnIsForcedTerminateChanged();
        /// <summary>
        /// There are no comments for Property MaximumLag in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<int> MaximumLag
        {
            get
            {
                return this._MaximumLag;
            }
            set
            {
                this.OnMaximumLagChanging(value);
                this._MaximumLag = value;
                this.OnMaximumLagChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<int> _MaximumLag;
        partial void OnMaximumLagChanging(global::System.Nullable<int> value);
        partial void OnMaximumLagChanged();
        /// <summary>
        /// There are no comments for Property EntityId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Guid EntityId
        {
            get
            {
                return this._EntityId;
            }
            set
            {
                this.OnEntityIdChanging(value);
                this._EntityId = value;
                this.OnEntityIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Guid _EntityId;
        partial void OnEntityIdChanging(global::System.Guid value);
        partial void OnEntityIdChanged();
        /// <summary>
        /// There are no comments for Property IsOfflineSecondary in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public bool IsOfflineSecondary
        {
            get
            {
                return this._IsOfflineSecondary;
            }
            set
            {
                this.OnIsOfflineSecondaryChanging(value);
                this._IsOfflineSecondary = value;
                this.OnIsOfflineSecondaryChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _IsOfflineSecondary;
        partial void OnIsOfflineSecondaryChanging(bool value);
        partial void OnIsOfflineSecondaryChanged();
        /// <summary>
        /// There are no comments for Property IsTerminationAllowed in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public bool IsTerminationAllowed
        {
            get
            {
                return this._IsTerminationAllowed;
            }
            set
            {
                this.OnIsTerminationAllowedChanging(value);
                this._IsTerminationAllowed = value;
                this.OnIsTerminationAllowedChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _IsTerminationAllowed;
        partial void OnIsTerminationAllowedChanging(bool value);
        partial void OnIsTerminationAllowedChanged();
        /// <summary>
        /// There are no comments for Database in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public Database Database
        {
            get
            {
                return this._Database;
            }
            set
            {
                this._Database = value;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private Database _Database;
    }
    /// <summary>
    /// There are no comments for Microsoft.SqlServer.Management.Server.Domain.DatabaseCopyValidationOperation in the schema.
    /// </summary>
    /// <KeyProperties>
    /// DatabaseName
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("DatabaseName")]
    public partial class DatabaseCopyValidationOperation
    {
        /// <summary>
        /// Create a new DatabaseCopyValidationOperation object.
        /// </summary>
        /// <param name="databaseName">Initial value of DatabaseName.</param>
        /// <param name="action">Initial value of Action.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static DatabaseCopyValidationOperation CreateDatabaseCopyValidationOperation(string databaseName, int action)
        {
            DatabaseCopyValidationOperation databaseCopyValidationOperation = new DatabaseCopyValidationOperation();
            databaseCopyValidationOperation.DatabaseName = databaseName;
            databaseCopyValidationOperation.Action = action;
            return databaseCopyValidationOperation;
        }
        /// <summary>
        /// There are no comments for Property DatabaseName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string DatabaseName
        {
            get
            {
                return this._DatabaseName;
            }
            set
            {
                this.OnDatabaseNameChanging(value);
                this._DatabaseName = value;
                this.OnDatabaseNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _DatabaseName;
        partial void OnDatabaseNameChanging(string value);
        partial void OnDatabaseNameChanged();
        /// <summary>
        /// There are no comments for Property Action in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public int Action
        {
            get
            {
                return this._Action;
            }
            set
            {
                this.OnActionChanging(value);
                this._Action = value;
                this.OnActionChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private int _Action;
        partial void OnActionChanging(int value);
        partial void OnActionChanged();
        /// <summary>
        /// There are no comments for Property LoginSid in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string LoginSid
        {
            get
            {
                return this._LoginSid;
            }
            set
            {
                this.OnLoginSidChanging(value);
                this._LoginSid = value;
                this.OnLoginSidChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _LoginSid;
        partial void OnLoginSidChanging(string value);
        partial void OnLoginSidChanged();
    }
    /// <summary>
    /// There are no comments for Microsoft.SqlServer.Management.Server.Domain.FirewallRule in the schema.
    /// </summary>
    /// <KeyProperties>
    /// Name
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("Name")]
    public partial class FirewallRule
    {
        /// <summary>
        /// Create a new FirewallRule object.
        /// </summary>
        /// <param name="name">Initial value of Name.</param>
        /// <param name="createDate">Initial value of CreateDate.</param>
        /// <param name="modifyDate">Initial value of ModifyDate.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static FirewallRule CreateFirewallRule(string name, global::System.DateTime createDate, global::System.DateTime modifyDate)
        {
            FirewallRule firewallRule = new FirewallRule();
            firewallRule.Name = name;
            firewallRule.CreateDate = createDate;
            firewallRule.ModifyDate = modifyDate;
            return firewallRule;
        }
        /// <summary>
        /// There are no comments for Property Name in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Name
        {
            get
            {
                return this._Name;
            }
            set
            {
                this.OnNameChanging(value);
                this._Name = value;
                this.OnNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Name;
        partial void OnNameChanging(string value);
        partial void OnNameChanged();
        /// <summary>
        /// There are no comments for Property StartIPAddress in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string StartIPAddress
        {
            get
            {
                return this._StartIPAddress;
            }
            set
            {
                this.OnStartIPAddressChanging(value);
                this._StartIPAddress = value;
                this.OnStartIPAddressChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _StartIPAddress;
        partial void OnStartIPAddressChanging(string value);
        partial void OnStartIPAddressChanged();
        /// <summary>
        /// There are no comments for Property EndIPAddress in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string EndIPAddress
        {
            get
            {
                return this._EndIPAddress;
            }
            set
            {
                this.OnEndIPAddressChanging(value);
                this._EndIPAddress = value;
                this.OnEndIPAddressChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _EndIPAddress;
        partial void OnEndIPAddressChanging(string value);
        partial void OnEndIPAddressChanged();
        /// <summary>
        /// There are no comments for Property CreateDate in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.DateTime CreateDate
        {
            get
            {
                return this._CreateDate;
            }
            set
            {
                this.OnCreateDateChanging(value);
                this._CreateDate = value;
                this.OnCreateDateChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.DateTime _CreateDate;
        partial void OnCreateDateChanging(global::System.DateTime value);
        partial void OnCreateDateChanged();
        /// <summary>
        /// There are no comments for Property ModifyDate in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.DateTime ModifyDate
        {
            get
            {
                return this._ModifyDate;
            }
            set
            {
                this.OnModifyDateChanging(value);
                this._ModifyDate = value;
                this.OnModifyDateChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.DateTime _ModifyDate;
        partial void OnModifyDateChanging(global::System.DateTime value);
        partial void OnModifyDateChanged();
    }
    /// <summary>
    /// There are no comments for Microsoft.SqlServer.Management.Server.Domain.DatabaseMetrics in the schema.
    /// </summary>
    /// <KeyProperties>
    /// DatabaseId
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("DatabaseId")]
    public partial class DatabaseMetrics
    {
        /// <summary>
        /// Create a new DatabaseMetrics object.
        /// </summary>
        /// <param name="databaseId">Initial value of DatabaseId.</param>
        /// <param name="numberOfLoginSuccessEvents">Initial value of NumberOfLoginSuccessEvents.</param>
        /// <param name="numberOfLoginFailureEvents">Initial value of NumberOfLoginFailureEvents.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static DatabaseMetrics CreateDatabaseMetrics(int databaseId, long numberOfLoginSuccessEvents, long numberOfLoginFailureEvents)
        {
            DatabaseMetrics databaseMetrics = new DatabaseMetrics();
            databaseMetrics.DatabaseId = databaseId;
            databaseMetrics.NumberOfLoginSuccessEvents = numberOfLoginSuccessEvents;
            databaseMetrics.NumberOfLoginFailureEvents = numberOfLoginFailureEvents;
            return databaseMetrics;
        }
        /// <summary>
        /// There are no comments for Property DatabaseId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public int DatabaseId
        {
            get
            {
                return this._DatabaseId;
            }
            set
            {
                this.OnDatabaseIdChanging(value);
                this._DatabaseId = value;
                this.OnDatabaseIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private int _DatabaseId;
        partial void OnDatabaseIdChanging(int value);
        partial void OnDatabaseIdChanged();
        /// <summary>
        /// There are no comments for Property DatabaseName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string DatabaseName
        {
            get
            {
                return this._DatabaseName;
            }
            set
            {
                this.OnDatabaseNameChanging(value);
                this._DatabaseName = value;
                this.OnDatabaseNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _DatabaseName;
        partial void OnDatabaseNameChanging(string value);
        partial void OnDatabaseNameChanged();
        /// <summary>
        /// There are no comments for Property NumberOfLoginSuccessEvents in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public long NumberOfLoginSuccessEvents
        {
            get
            {
                return this._NumberOfLoginSuccessEvents;
            }
            set
            {
                this.OnNumberOfLoginSuccessEventsChanging(value);
                this._NumberOfLoginSuccessEvents = value;
                this.OnNumberOfLoginSuccessEventsChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private long _NumberOfLoginSuccessEvents;
        partial void OnNumberOfLoginSuccessEventsChanging(long value);
        partial void OnNumberOfLoginSuccessEventsChanged();
        /// <summary>
        /// There are no comments for Property NumberOfLoginFailureEvents in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public long NumberOfLoginFailureEvents
        {
            get
            {
                return this._NumberOfLoginFailureEvents;
            }
            set
            {
                this.OnNumberOfLoginFailureEventsChanging(value);
                this._NumberOfLoginFailureEvents = value;
                this.OnNumberOfLoginFailureEventsChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private long _NumberOfLoginFailureEvents;
        partial void OnNumberOfLoginFailureEventsChanging(long value);
        partial void OnNumberOfLoginFailureEventsChanged();
        /// <summary>
        /// There are no comments for Database in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public Database Database
        {
            get
            {
                return this._Database;
            }
            set
            {
                this._Database = value;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private Database _Database;
    }
    /// <summary>
    /// There are no comments for Microsoft.SqlServer.Management.Server.Domain.ServerMetrics in the schema.
    /// </summary>
    /// <KeyProperties>
    /// ServerName
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("ServerName")]
    public partial class ServerMetrics
    {
        /// <summary>
        /// Create a new ServerMetrics object.
        /// </summary>
        /// <param name="serverName">Initial value of ServerName.</param>
        /// <param name="numberOfFailedEvents">Initial value of NumberOfFailedEvents.</param>
        /// <param name="numberOfLoginSuccessEvents">Initial value of NumberOfLoginSuccessEvents.</param>
        /// <param name="numberOfLoginFailureEvents">Initial value of NumberOfLoginFailureEvents.</param>
        /// <param name="numberOfTerminatedConnectionEvents">Initial value of NumberOfTerminatedConnectionEvents.</param>
        /// <param name="numberOfThrottledEvents">Initial value of NumberOfThrottledEvents.</param>
        /// <param name="numberOfDeadlockEvents">Initial value of NumberOfDeadlockEvents.</param>
        /// <param name="numberOfReconfiguredEvents">Initial value of NumberOfReconfiguredEvents.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static ServerMetrics CreateServerMetrics(string serverName, long numberOfFailedEvents, long numberOfLoginSuccessEvents, long numberOfLoginFailureEvents, long numberOfTerminatedConnectionEvents, long numberOfThrottledEvents, long numberOfDeadlockEvents, long numberOfReconfiguredEvents)
        {
            ServerMetrics serverMetrics = new ServerMetrics();
            serverMetrics.ServerName = serverName;
            serverMetrics.NumberOfFailedEvents = numberOfFailedEvents;
            serverMetrics.NumberOfLoginSuccessEvents = numberOfLoginSuccessEvents;
            serverMetrics.NumberOfLoginFailureEvents = numberOfLoginFailureEvents;
            serverMetrics.NumberOfTerminatedConnectionEvents = numberOfTerminatedConnectionEvents;
            serverMetrics.NumberOfThrottledEvents = numberOfThrottledEvents;
            serverMetrics.NumberOfDeadlockEvents = numberOfDeadlockEvents;
            serverMetrics.NumberOfReconfiguredEvents = numberOfReconfiguredEvents;
            return serverMetrics;
        }
        /// <summary>
        /// There are no comments for Property ServerName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string ServerName
        {
            get
            {
                return this._ServerName;
            }
            set
            {
                this.OnServerNameChanging(value);
                this._ServerName = value;
                this.OnServerNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _ServerName;
        partial void OnServerNameChanging(string value);
        partial void OnServerNameChanged();
        /// <summary>
        /// There are no comments for Property NumberOfFailedEvents in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public long NumberOfFailedEvents
        {
            get
            {
                return this._NumberOfFailedEvents;
            }
            set
            {
                this.OnNumberOfFailedEventsChanging(value);
                this._NumberOfFailedEvents = value;
                this.OnNumberOfFailedEventsChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private long _NumberOfFailedEvents;
        partial void OnNumberOfFailedEventsChanging(long value);
        partial void OnNumberOfFailedEventsChanged();
        /// <summary>
        /// There are no comments for Property NumberOfLoginSuccessEvents in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public long NumberOfLoginSuccessEvents
        {
            get
            {
                return this._NumberOfLoginSuccessEvents;
            }
            set
            {
                this.OnNumberOfLoginSuccessEventsChanging(value);
                this._NumberOfLoginSuccessEvents = value;
                this.OnNumberOfLoginSuccessEventsChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private long _NumberOfLoginSuccessEvents;
        partial void OnNumberOfLoginSuccessEventsChanging(long value);
        partial void OnNumberOfLoginSuccessEventsChanged();
        /// <summary>
        /// There are no comments for Property NumberOfLoginFailureEvents in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public long NumberOfLoginFailureEvents
        {
            get
            {
                return this._NumberOfLoginFailureEvents;
            }
            set
            {
                this.OnNumberOfLoginFailureEventsChanging(value);
                this._NumberOfLoginFailureEvents = value;
                this.OnNumberOfLoginFailureEventsChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private long _NumberOfLoginFailureEvents;
        partial void OnNumberOfLoginFailureEventsChanging(long value);
        partial void OnNumberOfLoginFailureEventsChanged();
        /// <summary>
        /// There are no comments for Property NumberOfTerminatedConnectionEvents in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public long NumberOfTerminatedConnectionEvents
        {
            get
            {
                return this._NumberOfTerminatedConnectionEvents;
            }
            set
            {
                this.OnNumberOfTerminatedConnectionEventsChanging(value);
                this._NumberOfTerminatedConnectionEvents = value;
                this.OnNumberOfTerminatedConnectionEventsChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private long _NumberOfTerminatedConnectionEvents;
        partial void OnNumberOfTerminatedConnectionEventsChanging(long value);
        partial void OnNumberOfTerminatedConnectionEventsChanged();
        /// <summary>
        /// There are no comments for Property NumberOfThrottledEvents in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public long NumberOfThrottledEvents
        {
            get
            {
                return this._NumberOfThrottledEvents;
            }
            set
            {
                this.OnNumberOfThrottledEventsChanging(value);
                this._NumberOfThrottledEvents = value;
                this.OnNumberOfThrottledEventsChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private long _NumberOfThrottledEvents;
        partial void OnNumberOfThrottledEventsChanging(long value);
        partial void OnNumberOfThrottledEventsChanged();
        /// <summary>
        /// There are no comments for Property NumberOfDeadlockEvents in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public long NumberOfDeadlockEvents
        {
            get
            {
                return this._NumberOfDeadlockEvents;
            }
            set
            {
                this.OnNumberOfDeadlockEventsChanging(value);
                this._NumberOfDeadlockEvents = value;
                this.OnNumberOfDeadlockEventsChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private long _NumberOfDeadlockEvents;
        partial void OnNumberOfDeadlockEventsChanging(long value);
        partial void OnNumberOfDeadlockEventsChanged();
        /// <summary>
        /// There are no comments for Property NumberOfReconfiguredEvents in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public long NumberOfReconfiguredEvents
        {
            get
            {
                return this._NumberOfReconfiguredEvents;
            }
            set
            {
                this.OnNumberOfReconfiguredEventsChanging(value);
                this._NumberOfReconfiguredEvents = value;
                this.OnNumberOfReconfiguredEventsChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private long _NumberOfReconfiguredEvents;
        partial void OnNumberOfReconfiguredEventsChanging(long value);
        partial void OnNumberOfReconfiguredEventsChanged();
        /// <summary>
        /// There are no comments for Server in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public Server Server
        {
            get
            {
                return this._Server;
            }
            set
            {
                this._Server = value;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private Server _Server;
    }
    /// <summary>
    /// There are no comments for Microsoft.SqlServer.Management.Server.Domain.EventLog in the schema.
    /// </summary>
    /// <KeyProperties>
    /// EntityId
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("EntityId")]
    public partial class EventLog
    {
        /// <summary>
        /// Create a new EventLog object.
        /// </summary>
        /// <param name="entityId">Initial value of EntityId.</param>
        /// <param name="startTimeUtc">Initial value of StartTimeUtc.</param>
        /// <param name="intervalSizeInMinutes">Initial value of IntervalSizeInMinutes.</param>
        /// <param name="eventSubtype">Initial value of EventSubtype.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static EventLog CreateEventLog(string entityId, global::System.DateTime startTimeUtc, int intervalSizeInMinutes, int eventSubtype)
        {
            EventLog eventLog = new EventLog();
            eventLog.EntityId = entityId;
            eventLog.StartTimeUtc = startTimeUtc;
            eventLog.IntervalSizeInMinutes = intervalSizeInMinutes;
            eventLog.EventSubtype = eventSubtype;
            return eventLog;
        }
        /// <summary>
        /// There are no comments for Property EntityId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string EntityId
        {
            get
            {
                return this._EntityId;
            }
            set
            {
                this.OnEntityIdChanging(value);
                this._EntityId = value;
                this.OnEntityIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _EntityId;
        partial void OnEntityIdChanging(string value);
        partial void OnEntityIdChanged();
        /// <summary>
        /// There are no comments for Property DatabaseName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string DatabaseName
        {
            get
            {
                return this._DatabaseName;
            }
            set
            {
                this.OnDatabaseNameChanging(value);
                this._DatabaseName = value;
                this.OnDatabaseNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _DatabaseName;
        partial void OnDatabaseNameChanging(string value);
        partial void OnDatabaseNameChanged();
        /// <summary>
        /// There are no comments for Property StartTimeUtc in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.DateTime StartTimeUtc
        {
            get
            {
                return this._StartTimeUtc;
            }
            set
            {
                this.OnStartTimeUtcChanging(value);
                this._StartTimeUtc = value;
                this.OnStartTimeUtcChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.DateTime _StartTimeUtc;
        partial void OnStartTimeUtcChanging(global::System.DateTime value);
        partial void OnStartTimeUtcChanged();
        /// <summary>
        /// There are no comments for Property IntervalSizeInMinutes in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public int IntervalSizeInMinutes
        {
            get
            {
                return this._IntervalSizeInMinutes;
            }
            set
            {
                this.OnIntervalSizeInMinutesChanging(value);
                this._IntervalSizeInMinutes = value;
                this.OnIntervalSizeInMinutesChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private int _IntervalSizeInMinutes;
        partial void OnIntervalSizeInMinutesChanging(int value);
        partial void OnIntervalSizeInMinutesChanged();
        /// <summary>
        /// There are no comments for Property EventCategory in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string EventCategory
        {
            get
            {
                return this._EventCategory;
            }
            set
            {
                this.OnEventCategoryChanging(value);
                this._EventCategory = value;
                this.OnEventCategoryChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _EventCategory;
        partial void OnEventCategoryChanging(string value);
        partial void OnEventCategoryChanged();
        /// <summary>
        /// There are no comments for Property EventType in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string EventType
        {
            get
            {
                return this._EventType;
            }
            set
            {
                this.OnEventTypeChanging(value);
                this._EventType = value;
                this.OnEventTypeChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _EventType;
        partial void OnEventTypeChanging(string value);
        partial void OnEventTypeChanged();
        /// <summary>
        /// There are no comments for Property EventSubtype in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public int EventSubtype
        {
            get
            {
                return this._EventSubtype;
            }
            set
            {
                this.OnEventSubtypeChanging(value);
                this._EventSubtype = value;
                this.OnEventSubtypeChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private int _EventSubtype;
        partial void OnEventSubtypeChanging(int value);
        partial void OnEventSubtypeChanged();
        /// <summary>
        /// There are no comments for Property EventSubtypeDescription in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string EventSubtypeDescription
        {
            get
            {
                return this._EventSubtypeDescription;
            }
            set
            {
                this.OnEventSubtypeDescriptionChanging(value);
                this._EventSubtypeDescription = value;
                this.OnEventSubtypeDescriptionChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _EventSubtypeDescription;
        partial void OnEventSubtypeDescriptionChanging(string value);
        partial void OnEventSubtypeDescriptionChanged();
        /// <summary>
        /// There are no comments for Property Severity in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<int> Severity
        {
            get
            {
                return this._Severity;
            }
            set
            {
                this.OnSeverityChanging(value);
                this._Severity = value;
                this.OnSeverityChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<int> _Severity;
        partial void OnSeverityChanging(global::System.Nullable<int> value);
        partial void OnSeverityChanged();
        /// <summary>
        /// There are no comments for Property NumberOfEvents in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<long> NumberOfEvents
        {
            get
            {
                return this._NumberOfEvents;
            }
            set
            {
                this.OnNumberOfEventsChanging(value);
                this._NumberOfEvents = value;
                this.OnNumberOfEventsChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<long> _NumberOfEvents;
        partial void OnNumberOfEventsChanging(global::System.Nullable<long> value);
        partial void OnNumberOfEventsChanged();
        /// <summary>
        /// There are no comments for Property Description in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Description
        {
            get
            {
                return this._Description;
            }
            set
            {
                this.OnDescriptionChanging(value);
                this._Description = value;
                this.OnDescriptionChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Description;
        partial void OnDescriptionChanging(string value);
        partial void OnDescriptionChanged();
        /// <summary>
        /// There are no comments for Property AdditionalData in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string AdditionalData
        {
            get
            {
                return this._AdditionalData;
            }
            set
            {
                this.OnAdditionalDataChanging(value);
                this._AdditionalData = value;
                this.OnAdditionalDataChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _AdditionalData;
        partial void OnAdditionalDataChanging(string value);
        partial void OnAdditionalDataChanged();
    }
    /// <summary>
    /// There are no comments for Microsoft.SqlServer.Management.Server.Domain.ServerQuota in the schema.
    /// </summary>
    /// <KeyProperties>
    /// Name
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("Name")]
    public partial class ServerQuota
    {
        /// <summary>
        /// Create a new ServerQuota object.
        /// </summary>
        /// <param name="name">Initial value of Name.</param>
        /// <param name="value">Initial value of Value.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static ServerQuota CreateServerQuota(string name, int value)
        {
            ServerQuota serverQuota = new ServerQuota();
            serverQuota.Name = name;
            serverQuota.Value = value;
            return serverQuota;
        }
        /// <summary>
        /// There are no comments for Property Name in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Name
        {
            get
            {
                return this._Name;
            }
            set
            {
                this.OnNameChanging(value);
                this._Name = value;
                this.OnNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Name;
        partial void OnNameChanging(string value);
        partial void OnNameChanged();
        /// <summary>
        /// There are no comments for Property Value in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public int Value
        {
            get
            {
                return this._Value;
            }
            set
            {
                this.OnValueChanging(value);
                this._Value = value;
                this.OnValueChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private int _Value;
        partial void OnValueChanging(int value);
        partial void OnValueChanged();
        /// <summary>
        /// There are no comments for Server in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public Server Server
        {
            get
            {
                return this._Server;
            }
            set
            {
                this._Server = value;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private Server _Server;
    }
    /// <summary>
    /// There are no comments for Microsoft.SqlServer.Management.Server.Domain.DatabaseOperation in the schema.
    /// </summary>
    /// <KeyProperties>
    /// Id
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("Id")]
    public partial class DatabaseOperation
    {
        /// <summary>
        /// Create a new DatabaseOperation object.
        /// </summary>
        /// <param name="ID">Initial value of Id.</param>
        /// <param name="stateId">Initial value of StateId.</param>
        /// <param name="sessionActivityId">Initial value of SessionActivityId.</param>
        /// <param name="percentComplete">Initial value of PercentComplete.</param>
        /// <param name="startTime">Initial value of StartTime.</param>
        /// <param name="lastModifyTime">Initial value of LastModifyTime.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static DatabaseOperation CreateDatabaseOperation(global::System.Guid ID, int stateId, global::System.Guid sessionActivityId, int percentComplete, global::System.DateTime startTime, global::System.DateTime lastModifyTime)
        {
            DatabaseOperation databaseOperation = new DatabaseOperation();
            databaseOperation.Id = ID;
            databaseOperation.StateId = stateId;
            databaseOperation.SessionActivityId = sessionActivityId;
            databaseOperation.PercentComplete = percentComplete;
            databaseOperation.StartTime = startTime;
            databaseOperation.LastModifyTime = lastModifyTime;
            return databaseOperation;
        }
        /// <summary>
        /// There are no comments for Property Id in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Guid Id
        {
            get
            {
                return this._Id;
            }
            set
            {
                this.OnIdChanging(value);
                this._Id = value;
                this.OnIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Guid _Id;
        partial void OnIdChanging(global::System.Guid value);
        partial void OnIdChanged();
        /// <summary>
        /// There are no comments for Property Name in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Name
        {
            get
            {
                return this._Name;
            }
            set
            {
                this.OnNameChanging(value);
                this._Name = value;
                this.OnNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Name;
        partial void OnNameChanging(string value);
        partial void OnNameChanged();
        /// <summary>
        /// There are no comments for Property State in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string State
        {
            get
            {
                return this._State;
            }
            set
            {
                this.OnStateChanging(value);
                this._State = value;
                this.OnStateChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _State;
        partial void OnStateChanging(string value);
        partial void OnStateChanged();
        /// <summary>
        /// There are no comments for Property StateId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public int StateId
        {
            get
            {
                return this._StateId;
            }
            set
            {
                this.OnStateIdChanging(value);
                this._StateId = value;
                this.OnStateIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private int _StateId;
        partial void OnStateIdChanging(int value);
        partial void OnStateIdChanged();
        /// <summary>
        /// There are no comments for Property SessionActivityId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Guid SessionActivityId
        {
            get
            {
                return this._SessionActivityId;
            }
            set
            {
                this.OnSessionActivityIdChanging(value);
                this._SessionActivityId = value;
                this.OnSessionActivityIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Guid _SessionActivityId;
        partial void OnSessionActivityIdChanging(global::System.Guid value);
        partial void OnSessionActivityIdChanged();
        /// <summary>
        /// There are no comments for Property DatabaseName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string DatabaseName
        {
            get
            {
                return this._DatabaseName;
            }
            set
            {
                this.OnDatabaseNameChanging(value);
                this._DatabaseName = value;
                this.OnDatabaseNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _DatabaseName;
        partial void OnDatabaseNameChanging(string value);
        partial void OnDatabaseNameChanged();
        /// <summary>
        /// There are no comments for Property PercentComplete in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public int PercentComplete
        {
            get
            {
                return this._PercentComplete;
            }
            set
            {
                this.OnPercentCompleteChanging(value);
                this._PercentComplete = value;
                this.OnPercentCompleteChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private int _PercentComplete;
        partial void OnPercentCompleteChanging(int value);
        partial void OnPercentCompleteChanged();
        /// <summary>
        /// There are no comments for Property ErrorCode in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<int> ErrorCode
        {
            get
            {
                return this._ErrorCode;
            }
            set
            {
                this.OnErrorCodeChanging(value);
                this._ErrorCode = value;
                this.OnErrorCodeChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<int> _ErrorCode;
        partial void OnErrorCodeChanging(global::System.Nullable<int> value);
        partial void OnErrorCodeChanged();
        /// <summary>
        /// There are no comments for Property Error in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Error
        {
            get
            {
                return this._Error;
            }
            set
            {
                this.OnErrorChanging(value);
                this._Error = value;
                this.OnErrorChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Error;
        partial void OnErrorChanging(string value);
        partial void OnErrorChanged();
        /// <summary>
        /// There are no comments for Property ErrorSeverity in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<int> ErrorSeverity
        {
            get
            {
                return this._ErrorSeverity;
            }
            set
            {
                this.OnErrorSeverityChanging(value);
                this._ErrorSeverity = value;
                this.OnErrorSeverityChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<int> _ErrorSeverity;
        partial void OnErrorSeverityChanging(global::System.Nullable<int> value);
        partial void OnErrorSeverityChanged();
        /// <summary>
        /// There are no comments for Property ErrorState in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<int> ErrorState
        {
            get
            {
                return this._ErrorState;
            }
            set
            {
                this.OnErrorStateChanging(value);
                this._ErrorState = value;
                this.OnErrorStateChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<int> _ErrorState;
        partial void OnErrorStateChanging(global::System.Nullable<int> value);
        partial void OnErrorStateChanged();
        /// <summary>
        /// There are no comments for Property StartTime in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.DateTime StartTime
        {
            get
            {
                return this._StartTime;
            }
            set
            {
                this.OnStartTimeChanging(value);
                this._StartTime = value;
                this.OnStartTimeChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.DateTime _StartTime;
        partial void OnStartTimeChanging(global::System.DateTime value);
        partial void OnStartTimeChanged();
        /// <summary>
        /// There are no comments for Property LastModifyTime in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.DateTime LastModifyTime
        {
            get
            {
                return this._LastModifyTime;
            }
            set
            {
                this.OnLastModifyTimeChanging(value);
                this._LastModifyTime = value;
                this.OnLastModifyTimeChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.DateTime _LastModifyTime;
        partial void OnLastModifyTimeChanging(global::System.DateTime value);
        partial void OnLastModifyTimeChanged();
        /// <summary>
        /// There are no comments for Server in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public Server Server
        {
            get
            {
                return this._Server;
            }
            set
            {
                this._Server = value;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private Server _Server;
    }
}
namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server
{
    public abstract partial class ServerContextInternal
    {
        public readonly string[] metadataHashes = new string[]{
            "0333AB7076A926BF53F07C1786F11C052DEB791B",
            "F903DB500E018B00ECB1E355BC55F73B7342FC76",
            "5A2ABE58F30C9EF4B4F49853CD5FE28BA9FEBCD9",
            "68BA8B4EB74E0C5A91D0A734B742001018A9F9D2",
            "80A53B80FCD9616E6EEBDCAA3482E30A159C0E1F",
            "3070BEE06139E0754E2F022E56E9798BF8A57F30"};
    }
}