Inheritance: System.Data.Objects.DataClasses.EntityObject
コード例 #1
0
ファイル: DB.Designer.cs プロジェクト: friism/folketsting
 /// <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);
 }
コード例 #2
0
ファイル: DB.Designer.cs プロジェクト: friism/folketsting
 /// <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;
 }