Exemple #1
0
        /// <summary>
        /// Create a new aevent object.
        /// </summary>
        /// <param name="id">Initial value of the id property.</param>
        /// <param name="title">Initial value of the title property.</param>
        /// <param name="user_id">Initial value of the user_id property.</param>
        /// <param name="location_id">Initial value of the location_id property.</param>
        /// <param name="startTime">Initial value of the startTime property.</param>
        /// <param name="url">Initial value of the url property.</param>
        public static aevent Createaevent(global::System.Int64 id, global::System.String title, global::System.Int32 user_id, global::System.Int32 location_id, global::System.DateTime startTime, global::System.String url)
        {
            aevent aevent = new aevent();

            aevent.id          = id;
            aevent.title       = title;
            aevent.user_id     = user_id;
            aevent.location_id = location_id;
            aevent.startTime   = startTime;
            aevent.url         = url;
            return(aevent);
        }
Exemple #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the aevents EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToaevents(aevent aevent)
 {
     base.AddObject("aevents", aevent);
 }