/// <summary> /// 用于向 tblUtilType EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddTotblUtilType(tblUtilType tblUtilType) { base.AddObject("tblUtilType", tblUtilType); }
/// <summary> /// 创建新的 tblUtilType 对象。 /// </summary> /// <param name="utilType">UtilType 属性的初始值。</param> /// <param name="utilityTypeID">UtilityTypeID 属性的初始值。</param> public static tblUtilType CreatetblUtilType(global::System.String utilType, global::System.String utilityTypeID) { tblUtilType tblUtilType = new tblUtilType(); tblUtilType.UtilType = utilType; tblUtilType.UtilityTypeID = utilityTypeID; return tblUtilType; }