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