private static Identifier ChangesetSave(string modelName, string versionName, string entityName, Identifier changesetId, ChangesetStatus status) { var saveRequest = new EntityMemberChangesetSaveRequest { ModelId = new Identifier { Name = modelName }, VersionId = new Identifier { Name = versionName }, Changeset = new Changeset { Identifier = changesetId, EntityId = new Identifier { Name = entityName }, Status = status } }; EntityMemberChangesetSaveResponse saveResponse = clientProxy.EntityMemberChangesetSave(saveRequest); HandleOperationErrors(saveResponse.OperationResult); return(saveResponse.CreatedChangeset); }
public EntityMemberChangesetSaveResponse ChangesetSave(string modelName, string versionName, string entityName, Identifier changesetId, ChangesetStatus status) { var saveRequest = new EntityMemberChangesetSaveRequest { ModelId = new Identifier { Name = modelName }, VersionId = new Identifier { Name = versionName }, Changeset = new Changeset { Identifier = changesetId, EntityId = new Identifier { Name = entityName }, Status = status } }; EntityMemberChangesetSaveResponse saveResponse = _clientProxy.EntityMemberChangesetSave(saveRequest); return(saveResponse); }
private static void ChangesetsGet(string modelName, string versionName, string entityName, ChangesetStatus status = ChangesetStatus.NotSpecified) { var getRequest = new EntityMemberChangesetsGetRequest { ModelId = new Identifier { Name = modelName }, VersionId = new Identifier { Name = versionName }, EntityId = new Identifier { Name = entityName }, Status = status }; EntityMemberChangesetsGetResponse getResponse = clientProxy.EntityMemberChangesetsGet(getRequest); HandleOperationErrors(getResponse.OperationResult); }
private static Identifier ChangesetSave(string modelName, string versionName, string entityName, Identifier changesetId, ChangesetStatus status) { var saveRequest = new EntityMemberChangesetSaveRequest { ModelId = new Identifier {Name = modelName}, VersionId = new Identifier {Name = versionName}, Changeset = new Changeset { Identifier = changesetId, EntityId = new Identifier {Name = entityName}, Status = status } }; EntityMemberChangesetSaveResponse saveResponse = clientProxy.EntityMemberChangesetSave(saveRequest); HandleOperationErrors(saveResponse.OperationResult); return saveResponse.CreatedChangeset; }
public EntityMemberChangesetsGetResponse ChangesetsGet(string modelName, string versionName, string entityName, ChangesetStatus status = ChangesetStatus.NotSpecified) { var getRequest = new EntityMemberChangesetsGetRequest { ModelId = new Identifier { Name = modelName }, VersionId = new Identifier { Name = versionName }, EntityId = new Identifier { Name = entityName }, Status = status }; EntityMemberChangesetsGetResponse getResponse = _clientProxy.EntityMemberChangesetsGet(getRequest); return(getResponse); }