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