/// <summary> /// Deprecated Method for adding a new object to the AuthorizationRequests EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAuthorizationRequests(AuthorizationRequest authorizationRequest) { base.AddObject("AuthorizationRequests", authorizationRequest); }
/// <summary> /// Create a new AuthorizationRequest object. /// </summary> /// <param name="authorizationRequestId">Initial value of the AuthorizationRequestId property.</param> /// <param name="accountId">Initial value of the AccountId property.</param> /// <param name="insurerId">Initial value of the InsurerId property.</param> /// <param name="currentVersion">Initial value of the CurrentVersion property.</param> public static AuthorizationRequest CreateAuthorizationRequest(global::System.Int32 authorizationRequestId, global::System.Int32 accountId, global::System.Int32 insurerId, global::System.Byte[] currentVersion) { AuthorizationRequest authorizationRequest = new AuthorizationRequest(); authorizationRequest.AuthorizationRequestId = authorizationRequestId; authorizationRequest.AccountId = accountId; authorizationRequest.InsurerId = insurerId; authorizationRequest.CurrentVersion = currentVersion; return authorizationRequest; }