Пример #1
0
 /// <summary>
 /// 创建新的 SysFunction 对象。
 /// </summary>
 /// <param name="sysFunction_Id">SysFunction_Id 属性的初始值。</param>
 /// <param name="name">Name 属性的初始值。</param>
 /// <param name="englishName">EnglishName 属性的初始值。</param>
 public static SysFunction CreateSysFunction(global::System.String sysFunction_Id, global::System.String name, global::System.String englishName)
 {
     SysFunction sysFunction = new SysFunction();
     sysFunction.SysFunction_Id = sysFunction_Id;
     sysFunction.Name = name;
     sysFunction.EnglishName = englishName;
     return sysFunction;
 }
Пример #2
0
 /// <summary>
 /// 用于向 SysFunction EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToSysFunction(SysFunction sysFunction)
 {
     base.AddObject("SysFunction", sysFunction);
 }