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