/// <summary> /// Create a new ClientAuthorization object. /// </summary> /// <param name="authorizationId">Initial value of the AuthorizationId property.</param> /// <param name="createdOnUtc">Initial value of the CreatedOnUtc property.</param> public static ClientAuthorization CreateClientAuthorization(global::System.Int32 authorizationId, global::System.DateTime createdOnUtc) { ClientAuthorization clientAuthorization = new ClientAuthorization(); clientAuthorization.AuthorizationId = authorizationId; clientAuthorization.CreatedOnUtc = createdOnUtc; return clientAuthorization; }
/// <summary> /// Deprecated Method for adding a new object to the ClientAuthorizations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToClientAuthorizations(ClientAuthorization clientAuthorization) { base.AddObject("ClientAuthorizations", clientAuthorization); }