コード例 #1
0
ファイル: CMSModel.Designer.cs プロジェクト: nhtera/CrowdCMS
 /// <summary>
 /// Deprecated Method for adding a new object to the tbl_Gallery EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotbl_Gallery(tbl_Gallery tbl_Gallery)
 {
     base.AddObject("tbl_Gallery", tbl_Gallery);
 }
コード例 #2
0
ファイル: CMSModel.Designer.cs プロジェクト: nhtera/CrowdCMS
 /// <summary>
 /// Create a new tbl_Gallery object.
 /// </summary>
 /// <param name="galleryID">Initial value of the GalleryID property.</param>
 /// <param name="g_Live">Initial value of the G_Live property.</param>
 /// <param name="g_Order">Initial value of the G_Order property.</param>
 /// <param name="g_CustomerID">Initial value of the G_CustomerID property.</param>
 /// <param name="g_GalleryCategoryID">Initial value of the G_GalleryCategoryID property.</param>
 /// <param name="g_ContentID">Initial value of the G_ContentID property.</param>
 public static tbl_Gallery Createtbl_Gallery(global::System.Int32 galleryID, global::System.Boolean g_Live, global::System.Int32 g_Order, global::System.Int32 g_CustomerID, global::System.Int32 g_GalleryCategoryID, global::System.Int32 g_ContentID)
 {
     tbl_Gallery tbl_Gallery = new tbl_Gallery();
     tbl_Gallery.GalleryID = galleryID;
     tbl_Gallery.G_Live = g_Live;
     tbl_Gallery.G_Order = g_Order;
     tbl_Gallery.G_CustomerID = g_CustomerID;
     tbl_Gallery.G_GalleryCategoryID = g_GalleryCategoryID;
     tbl_Gallery.G_ContentID = g_ContentID;
     return tbl_Gallery;
 }