コード例 #1
0
ファイル: Structure.Designer.cs プロジェクト: fathurxzz/aleqx
 /// <summary>
 /// Create a new ContentImage object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="imageSource">Initial value of the ImageSource property.</param>
 /// <param name="contentId">Initial value of the ContentId property.</param>
 public static ContentImage CreateContentImage(global::System.Int32 id, global::System.String imageSource, global::System.Int32 contentId)
 {
     ContentImage contentImage = new ContentImage();
     contentImage.Id = id;
     contentImage.ImageSource = imageSource;
     contentImage.ContentId = contentId;
     return contentImage;
 }
コード例 #2
0
ファイル: Structure.Designer.cs プロジェクト: fathurxzz/aleqx
 /// <summary>
 /// Deprecated Method for adding a new object to the ContentImage EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToContentImage(ContentImage contentImage)
 {
     base.AddObject("ContentImage", contentImage);
 }