コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <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);
 }