Exemplo n.º 1
0
 /// <summary>
 /// 用于向 sns_PostContent EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddTosns_PostContent(sns_PostContent sns_PostContent)
 {
     base.AddObject("sns_PostContent", sns_PostContent);
 }
Exemplo n.º 2
0
 /// <summary>
 /// 创建新的 sns_PostContent 对象。
 /// </summary>
 /// <param name="pid">pid 属性的初始值。</param>
 /// <param name="tid">tid 属性的初始值。</param>
 /// <param name="message">message 属性的初始值。</param>
 /// <param name="picture">picture 属性的初始值。</param>
 /// <param name="isHtml">isHtml 属性的初始值。</param>
 public static sns_PostContent Createsns_PostContent(global::System.Int32 pid, global::System.Int32 tid, global::System.String message, global::System.String picture, global::System.Int16 isHtml)
 {
     sns_PostContent sns_PostContent = new sns_PostContent();
     sns_PostContent.pid = pid;
     sns_PostContent.tid = tid;
     sns_PostContent.message = message;
     sns_PostContent.picture = picture;
     sns_PostContent.isHtml = isHtml;
     return sns_PostContent;
 }