Ejemplo n.º 1
0
 /// <summary>
 /// 用于向 sns_photo_index EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddTosns_photo_index(sns_photo_index sns_photo_index)
 {
     base.AddObject("sns_photo_index", sns_photo_index);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 创建新的 sns_photo_index 对象。
 /// </summary>
 /// <param name="albumId">albumId 属性的初始值。</param>
 /// <param name="photoId">photoId 属性的初始值。</param>
 /// <param name="privacy">privacy 属性的初始值。</param>
 public static sns_photo_index Createsns_photo_index(global::System.Int32 albumId, global::System.Int32 photoId, global::System.Int16 privacy)
 {
     sns_photo_index sns_photo_index = new sns_photo_index();
     sns_photo_index.albumId = albumId;
     sns_photo_index.photoId = photoId;
     sns_photo_index.privacy = privacy;
     return sns_photo_index;
 }