Ejemplo n.º 1
0
 /// <summary>
 /// 用于向 t_GalleryClassification EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddTot_GalleryClassification(t_GalleryClassification t_GalleryClassification)
 {
     base.AddObject("t_GalleryClassification", t_GalleryClassification);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 创建新的 t_GalleryClassification 对象。
 /// </summary>
 /// <param name="id">Id 属性的初始值。</param>
 /// <param name="name">Name 属性的初始值。</param>
 /// <param name="sort">Sort 属性的初始值。</param>
 public static t_GalleryClassification Createt_GalleryClassification(global::System.Int32 id, global::System.String name, global::System.Int32 sort)
 {
     t_GalleryClassification t_GalleryClassification = new t_GalleryClassification();
     t_GalleryClassification.Id = id;
     t_GalleryClassification.Name = name;
     t_GalleryClassification.Sort = sort;
     return t_GalleryClassification;
 }