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