///GENMHASH:3FC4629A94EA4CFEC41549C1F3C77668:8133340974DB918052A51C4316313E0B
 internal SqlSyncGroupOperationsImpl(SqlDatabaseImpl parent, ISqlManager sqlServerManager)
 {
     this.sqlDatabase       = parent;
     this.sqlServerManager  = sqlServerManager;
     this.resourceGroupName = parent.ResourceGroupName();
     this.sqlServerName     = parent.SqlServerName();
     this.sqlDatabaseName   = parent.Name();
 }
Пример #2
0
 /// <summary>
 /// Creates an instance of external child resource in-memory.
 /// </summary>
 /// <param name="name">The name of this external child resource.</param>
 /// <param name="parent">Reference to the parent of this external child resource.</param>
 /// <param name="innerObject">Reference to the inner object representing this external child resource.</param>
 /// <param name="sqlServerManager">Reference to the SQL server manager that accesses DNS alias operations.</param>
 ///GENMHASH:1B84E5430DBD759F48B80D4C7F8781CC:63DD15F38F429D8D42EAECC53ABE710A
 internal SqlSyncGroupImpl(string name, SqlDatabaseImpl parent, SyncGroupInner innerObject, ISqlManager sqlServerManager)
     : base(innerObject, parent)
 {
     this.name              = name;
     this.sqlServerManager  = sqlServerManager;
     this.resourceGroupName = parent.ResourceGroupName();
     this.sqlServerName     = parent.SqlServerName();
     this.sqlDatabaseName   = parent.Name();
 }
 ///GENMHASH:0B123513DA66B23285D7B0CA6EE63B8D:7ADD22B33B14B9D9F2AB7F5856755122
 internal SqlDatabaseAutomaticTuningImpl(SqlDatabaseImpl database, DatabaseAutomaticTuningInner innerObject)
     : base(innerObject)
 {
     this.sqlServerManager  = database.sqlServerManager;
     this.resourceGroupName = database.resourceGroupName;
     this.sqlServerName     = database.sqlServerName;
     this.sqlDatabaseName   = database.Name();
     this.key = Guid.NewGuid().ToString();
     this.automaticTuningOptionsMap = new Dictionary <string, AutomaticTuningOptions>();
 }