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