示例#1
0
        /// <summary>
        /// 创建新的 STRATEGY 对象。
        /// </summary>
        /// <param name="sTRATEGY_CODE">STRATEGY_CODE 属性的初始值。</param>
        /// <param name="sTRATEGY_NAME">STRATEGY_NAME 属性的初始值。</param>
        public static STRATEGY CreateSTRATEGY(global::System.String sTRATEGY_CODE, global::System.String sTRATEGY_NAME)
        {
            STRATEGY sTRATEGY = new STRATEGY();

            sTRATEGY.STRATEGY_CODE = sTRATEGY_CODE;
            sTRATEGY.STRATEGY_NAME = sTRATEGY_NAME;
            return(sTRATEGY);
        }
 /// <summary>
 /// 创建新的 STRATEGY 对象。
 /// </summary>
 /// <param name="sTRATEGY_CODE">STRATEGY_CODE 属性的初始值。</param>
 /// <param name="sTRATEGY_NAME">STRATEGY_NAME 属性的初始值。</param>
 public static STRATEGY CreateSTRATEGY(global::System.String sTRATEGY_CODE, global::System.String sTRATEGY_NAME)
 {
     STRATEGY sTRATEGY = new STRATEGY();
     sTRATEGY.STRATEGY_CODE = sTRATEGY_CODE;
     sTRATEGY.STRATEGY_NAME = sTRATEGY_NAME;
     return sTRATEGY;
 }
示例#3
0
 /// <summary>
 /// 用于向 STRATEGYS EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToSTRATEGYS(STRATEGY sTRATEGY)
 {
     base.AddObject("STRATEGYS", sTRATEGY);
 }
 /// <summary>
 /// 用于向 STRATEGYS EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToSTRATEGYS(STRATEGY sTRATEGY)
 {
     base.AddObject("STRATEGYS", sTRATEGY);
 }