예제 #1
0
 /// <summary>
 /// 创建新的 sns_credit_setting 对象。
 /// </summary>
 /// <param name="id">id 属性的初始值。</param>
 /// <param name="type">type 属性的初始值。</param>
 /// <param name="score">score 属性的初始值。</param>
 /// <param name="experience">experience 属性的初始值。</param>
 public static sns_credit_setting Createsns_credit_setting(global::System.Int32 id, global::System.String type, global::System.Int32 score, global::System.Int32 experience)
 {
     sns_credit_setting sns_credit_setting = new sns_credit_setting();
     sns_credit_setting.id = id;
     sns_credit_setting.type = type;
     sns_credit_setting.score = score;
     sns_credit_setting.experience = experience;
     return sns_credit_setting;
 }
예제 #2
0
 /// <summary>
 /// 用于向 sns_credit_setting EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddTosns_credit_setting(sns_credit_setting sns_credit_setting)
 {
     base.AddObject("sns_credit_setting", sns_credit_setting);
 }