コード例 #1
0
 /// <summary>
 /// Create the new sync group
 /// </summary>
 /// <param name="entity">The output of apply user input to model</param>
 /// <returns>The input entity</returns>
 protected override IEnumerable <AzureSqlSyncGroupModel> PersistChanges(IEnumerable <AzureSqlSyncGroupModel> entity)
 {
     return(new List <AzureSqlSyncGroupModel>()
     {
         ModelAdapter.CreateSyncGroup(entity.First(), this.syncDatabaseId)
     });
 }