示例#1
0
        /// <summary>
        /// Create a new Sightseeings object.
        /// </summary>
        /// <param name="typeID">Initial value of the TypeID property.</param>
        /// <param name="tItle">Initial value of the TItle property.</param>
        public static Sightseeings CreateSightseeings(global::System.Guid typeID, global::System.String tItle)
        {
            Sightseeings sightseeings = new Sightseeings();

            sightseeings.TypeID = typeID;
            sightseeings.TItle  = tItle;
            return(sightseeings);
        }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Sightseeings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSightseeings(Sightseeings sightseeings)
 {
     base.AddObject("Sightseeings", sightseeings);
 }