/// <summary>
 /// Deprecated Method for adding a new object to the v_jd_diamonds EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTov_jd_diamonds(v_jd_diamonds v_jd_diamonds)
 {
     base.AddObject("v_jd_diamonds", v_jd_diamonds);
 }
        private bool MakeZeroActAsIgnoreParameter(Func<v_jd_diamonds,bool> func ,v_jd_diamonds value,decimal filter )
        {
            if (filter == 0)
            {
                return true;
            }
            if (func.Invoke(value))
            {
                return true;
            }

            return false;
        }
 /// <summary>
 /// Create a new v_jd_diamonds object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="inventory_code">Initial value of the inventory_code property.</param>
 /// <param name="shape">Initial value of the shape property.</param>
 /// <param name="weight">Initial value of the weight property.</param>
 /// <param name="color">Initial value of the color property.</param>
 /// <param name="clarity">Initial value of the clarity property.</param>
 /// <param name="depth">Initial value of the depth property.</param>
 /// <param name="table">Initial value of the table property.</param>
 /// <param name="flourescence">Initial value of the flourescence property.</param>
 /// <param name="length">Initial value of the length property.</param>
 /// <param name="width">Initial value of the width property.</param>
 /// <param name="height">Initial value of the height property.</param>
 /// <param name="symmetrical">Initial value of the symmetrical property.</param>
 /// <param name="polish">Initial value of the polish property.</param>
 /// <param name="grindle">Initial value of the grindle property.</param>
 /// <param name="culet">Initial value of the culet property.</param>
 /// <param name="crown">Initial value of the crown property.</param>
 /// <param name="cut">Initial value of the cut property.</param>
 /// <param name="percaratprice">Initial value of the percaratprice property.</param>
 /// <param name="totalprice">Initial value of the totalprice property.</param>
 /// <param name="report">Initial value of the report property.</param>
 /// <param name="reportimg">Initial value of the reportimg property.</param>
 /// <param name="report_number">Initial value of the report_number property.</param>
 /// <param name="diamondid">Initial value of the diamondid property.</param>
 /// <param name="supplier_code">Initial value of the supplier_code property.</param>
 public static v_jd_diamonds Createv_jd_diamonds(global::System.Int32 id, global::System.String inventory_code, global::System.String shape, global::System.Decimal weight, global::System.String color, global::System.String clarity, global::System.Decimal depth, global::System.Decimal table, global::System.String flourescence, global::System.Decimal length, global::System.Decimal width, global::System.Decimal height, global::System.String symmetrical, global::System.String polish, global::System.String grindle, global::System.String culet, global::System.Int32 crown, global::System.String cut, global::System.Decimal percaratprice, global::System.Decimal totalprice, global::System.String report, global::System.String reportimg, global::System.String report_number, global::System.Int64 diamondid, global::System.Int32 supplier_code)
 {
     v_jd_diamonds v_jd_diamonds = new v_jd_diamonds();
     v_jd_diamonds.id = id;
     v_jd_diamonds.inventory_code = inventory_code;
     v_jd_diamonds.shape = shape;
     v_jd_diamonds.weight = weight;
     v_jd_diamonds.color = color;
     v_jd_diamonds.clarity = clarity;
     v_jd_diamonds.depth = depth;
     v_jd_diamonds.table = table;
     v_jd_diamonds.flourescence = flourescence;
     v_jd_diamonds.length = length;
     v_jd_diamonds.width = width;
     v_jd_diamonds.height = height;
     v_jd_diamonds.symmetrical = symmetrical;
     v_jd_diamonds.polish = polish;
     v_jd_diamonds.grindle = grindle;
     v_jd_diamonds.culet = culet;
     v_jd_diamonds.crown = crown;
     v_jd_diamonds.cut = cut;
     v_jd_diamonds.percaratprice = percaratprice;
     v_jd_diamonds.totalprice = totalprice;
     v_jd_diamonds.report = report;
     v_jd_diamonds.reportimg = reportimg;
     v_jd_diamonds.report_number = report_number;
     v_jd_diamonds.diamondid = diamondid;
     v_jd_diamonds.supplier_code = supplier_code;
     return v_jd_diamonds;
 }