/// <summary> /// 用于向 TB0005 EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToTB0005(TB0005 tB0005) { base.AddObject("TB0005", tB0005); }
/// <summary> /// 创建新的 TB0005 对象。 /// </summary> /// <param name="id">ID 属性的初始值。</param> public static TB0005 CreateTB0005(global::System.Int32 id) { TB0005 tB0005 = new TB0005(); tB0005.ID = id; return tB0005; }