常用方法
常用方法
常用方法
常用方法
/// <summary> /// Create the new secondary and replication link to the primary /// </summary> /// <param name="entity">The output of apply user input to model</param> /// <returns>The input entity</returns> protected override IEnumerable <AzureReplicationLinkModel> PersistChanges(IEnumerable <AzureReplicationLinkModel> entity) { return(new List <AzureReplicationLinkModel>() { ModelAdapter.CreateLink(entity.First().PartnerResourceGroupName, entity.First().PartnerServerName, entity.First()) }); }