/// <summary> /// 用于向 MENUTABLECONTROL EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToMENUTABLECONTROL(MENUTABLECONTROL mENUTABLECONTROL) { base.AddObject("MENUTABLECONTROL", mENUTABLECONTROL); }
/// <summary> /// 创建新的 MENUTABLECONTROL 对象。 /// </summary> /// <param name="mENUID">MENUID 属性的初始值。</param> /// <param name="cONTROLNAME">CONTROLNAME 属性的初始值。</param> public static MENUTABLECONTROL CreateMENUTABLECONTROL(global::System.String mENUID, global::System.String cONTROLNAME) { MENUTABLECONTROL mENUTABLECONTROL = new MENUTABLECONTROL(); mENUTABLECONTROL.MENUID = mENUID; mENUTABLECONTROL.CONTROLNAME = cONTROLNAME; return mENUTABLECONTROL; }