/// <summary> /// Get the entities from the service /// </summary> /// <returns>The list of entities</returns> protected override IEnumerable <AzureSqlDatabaseBackupLongTermRetentionPolicyModel> GetEntity() { return(new List <AzureSqlDatabaseBackupLongTermRetentionPolicyModel>() { ModelAdapter.GetDatabaseBackupLongTermRetentionPolicy(this.ResourceGroupName, this.ServerName, this.DatabaseName) }); }
/// <summary> /// Get the entities from the service /// </summary> /// <returns>The list of entities</returns> protected override IEnumerable <AzureSqlDatabaseBackupLongTermRetentionPolicyModel> GetEntity() { ICollection <AzureSqlDatabaseBackupLongTermRetentionPolicyModel> results; results = new List <AzureSqlDatabaseBackupLongTermRetentionPolicyModel>(); results.Add(ModelAdapter.GetDatabaseBackupLongTermRetentionPolicy( this.ResourceGroupName, this.ServerName, this.DatabaseName)); return(results); }