/// <summary> /// Deprecated Method for adding a new object to the ApiUser EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToApiUser(ApiUser apiUser) { base.AddObject("ApiUser", apiUser); }
/// <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; }