/// <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>
        /// <param name="clientId">Initial value of the ClientId property.</param>
        /// <param name="userId">Initial value of the UserId property.</param>
        /// <param name="scope">Initial value of the Scope property.</param>
        public static ClientAuthorization CreateClientAuthorization(global::System.Int32 authorizationId, global::System.DateTime createdOnUtc, global::System.Int32 clientId, global::System.Int32 userId, global::System.String scope)
        {
            ClientAuthorization clientAuthorization = new ClientAuthorization();

            clientAuthorization.AuthorizationId = authorizationId;
            clientAuthorization.CreatedOnUtc    = createdOnUtc;
            clientAuthorization.ClientId        = clientId;
            clientAuthorization.UserId          = userId;
            clientAuthorization.Scope           = scope;
            return(clientAuthorization);
        }
 /// <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>
 /// <param name="clientId">Initial value of the ClientId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="scope">Initial value of the Scope property.</param>
 public static ClientAuthorization CreateClientAuthorization(global::System.Int32 authorizationId, global::System.DateTime createdOnUtc, global::System.Int32 clientId, global::System.Int32 userId, global::System.String scope)
 {
     ClientAuthorization clientAuthorization = new ClientAuthorization();
     clientAuthorization.AuthorizationId = authorizationId;
     clientAuthorization.CreatedOnUtc = createdOnUtc;
     clientAuthorization.ClientId = clientId;
     clientAuthorization.UserId = userId;
     clientAuthorization.Scope = scope;
     return clientAuthorization;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the ClientAuthorizations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToClientAuthorizations(ClientAuthorization clientAuthorization)
 {
     base.AddObject("ClientAuthorizations", clientAuthorization);
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the ClientAuthorizations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToClientAuthorizations(ClientAuthorization clientAuthorization)
 {
     base.AddObject("ClientAuthorizations", clientAuthorization);
 }