Beispiel #1
0
        /// <summary>
        /// Create a new KindOfPrimitive object.
        /// </summary>
        /// <param name="name">Initial value of the Name property.</param>
        /// <param name="id">Initial value of the Id property.</param>
        public static KindOfPrimitive CreateKindOfPrimitive(global::System.String name, global::System.Int32 id)
        {
            KindOfPrimitive kindOfPrimitive = new KindOfPrimitive();

            kindOfPrimitive.Name = name;
            kindOfPrimitive.Id   = id;
            return(kindOfPrimitive);
        }
Beispiel #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the KindOfPrimitive EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToKindOfPrimitive(KindOfPrimitive kindOfPrimitive)
 {
     base.AddObject("KindOfPrimitive", kindOfPrimitive);
 }