Inheritance: System.Data.Objects.DataClasses.EntityObject
Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ApiUser EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToApiUser(ApiUser apiUser)
 {
     base.AddObject("ApiUser", apiUser);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new ApiUser object.
 /// </summary>
 /// <param name="createdDate">Initial value of the CreatedDate property.</param>
 /// <param name="apiUserId">Initial value of the ApiUserId property.</param>
 /// <param name="apiKey">Initial value of the ApiKey property.</param>
 /// <param name="emailAddress">Initial value of the EmailAddress property.</param>
 public static ApiUser CreateApiUser(global::System.DateTime createdDate, global::System.Int32 apiUserId, global::System.String apiKey, global::System.String emailAddress)
 {
     ApiUser apiUser = new ApiUser();
     apiUser.CreatedDate = createdDate;
     apiUser.ApiUserId = apiUserId;
     apiUser.ApiKey = apiKey;
     apiUser.EmailAddress = emailAddress;
     return apiUser;
 }