/// <summary> /// Create a new Primitive object. /// </summary> /// <param name="decimal">Initial value of the Decimal property.</param> /// <param name="id">Initial value of the Id property.</param> public static Primitive CreatePrimitive(global::System.Decimal @decimal, global::System.Int32 id) { Primitive primitive = new Primitive(); primitive.Decimal = @decimal; primitive.Id = id; return primitive; }
/// <summary> /// Deprecated Method for adding a new object to the Primitives EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPrimitives(Primitive primitive) { base.AddObject("Primitives", primitive); }