コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the AssetComments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAssetComments(AssetComment assetComment)
 {
     base.AddObject("AssetComments", assetComment);
 }
コード例 #2
0
 /// <summary>
 /// Create a new AssetComment object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="commentDate">Initial value of the CommentDate property.</param>
 /// <param name="comment">Initial value of the Comment property.</param>
 /// <param name="assetComment_Asset">Initial value of the AssetComment_Asset property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static AssetComment CreateAssetComment(global::System.Int32 id, global::System.DateTime commentDate, global::System.String comment, global::System.Int32 assetComment_Asset, global::System.Byte[] rowVersion)
 {
     AssetComment assetComment = new AssetComment();
     assetComment.Id = id;
     assetComment.CommentDate = commentDate;
     assetComment.Comment = comment;
     assetComment.AssetComment_Asset = assetComment_Asset;
     assetComment.RowVersion = rowVersion;
     return assetComment;
 }