Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserAssets EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserAssets(UserAsset userAsset)
 {
     base.AddObject("UserAssets", userAsset);
 }
Пример #2
0
 /// <summary>
 /// Create a new UserAsset object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 /// <param name="assignDate">Initial value of the AssignDate property.</param>
 /// <param name="userAsset_User">Initial value of the UserAsset_User property.</param>
 /// <param name="userAsset_Asset">Initial value of the UserAsset_Asset property.</param>
 public static UserAsset CreateUserAsset(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.DateTime assignDate, global::System.Int32 userAsset_User, global::System.Int32 userAsset_Asset)
 {
     UserAsset userAsset = new UserAsset();
     userAsset.Id = id;
     userAsset.RowVersion = rowVersion;
     userAsset.AssignDate = assignDate;
     userAsset.UserAsset_User = userAsset_User;
     userAsset.UserAsset_Asset = userAsset_Asset;
     return userAsset;
 }