/// <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); }
/// <summary> /// Deprecated Method for adding a new object to the KindOfPrimitive EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToKindOfPrimitive(KindOfPrimitive kindOfPrimitive) { base.AddObject("KindOfPrimitive", kindOfPrimitive); }