Пример #1
0
        /// <summary>
        /// Create a new shape object.
        /// </summary>
        /// <param name="id_shape">Initial value of the id_shape property.</param>
        /// <param name="name">Initial value of the name property.</param>
        /// <param name="coordinates">Initial value of the coordinates property.</param>
        /// <param name="area">Initial value of the area property.</param>
        /// <param name="date_created">Initial value of the date_created property.</param>
        /// <param name="is_valid">Initial value of the is_valid property.</param>
        public static shape Createshape(global::System.Int32 id_shape, global::System.String name, global::System.String coordinates, global::System.Double area, global::System.DateTime date_created, global::System.Byte is_valid)
        {
            shape shape = new shape();

            shape.id_shape     = id_shape;
            shape.name         = name;
            shape.coordinates  = coordinates;
            shape.area         = area;
            shape.date_created = date_created;
            shape.is_valid     = is_valid;
            return(shape);
        }
Пример #2
0
 /// <summary>
 /// Create a new shape object.
 /// </summary>
 /// <param name="id_shape">Initial value of the id_shape property.</param>
 /// <param name="name">Initial value of the name property.</param>
 /// <param name="coordinates">Initial value of the coordinates property.</param>
 /// <param name="area">Initial value of the area property.</param>
 /// <param name="date_created">Initial value of the date_created property.</param>
 /// <param name="is_valid">Initial value of the is_valid property.</param>
 public static shape Createshape(global::System.Int32 id_shape, global::System.String name, global::System.String coordinates, global::System.Double area, global::System.DateTime date_created, global::System.Byte is_valid)
 {
     shape shape = new shape();
     shape.id_shape = id_shape;
     shape.name = name;
     shape.coordinates = coordinates;
     shape.area = area;
     shape.date_created = date_created;
     shape.is_valid = is_valid;
     return shape;
 }
Пример #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the shapes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToshapes(shape shape)
 {
     base.AddObject("shapes", shape);
 }
Пример #4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the shapes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToshapes(shape shape)
 {
     base.AddObject("shapes", shape);
 }