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