Esempio n. 1
0
 /// <summary>
 /// 用于向 sns_photo_album EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddTosns_photo_album(sns_photo_album sns_photo_album)
 {
     base.AddObject("sns_photo_album", sns_photo_album);
 }
Esempio n. 2
0
 /// <summary>
 /// 创建新的 sns_photo_album 对象。
 /// </summary>
 /// <param name="id">id 属性的初始值。</param>
 /// <param name="status">status 属性的初始值。</param>
 /// <param name="share">share 属性的初始值。</param>
 /// <param name="isDel">isDel 属性的初始值。</param>
 public static sns_photo_album Createsns_photo_album(global::System.Int32 id, global::System.Byte status, global::System.Int16 share, global::System.Int16 isDel)
 {
     sns_photo_album sns_photo_album = new sns_photo_album();
     sns_photo_album.id = id;
     sns_photo_album.status = status;
     sns_photo_album.share = share;
     sns_photo_album.isDel = isDel;
     return sns_photo_album;
 }