/// <summary>
        /// Create a new lenstype object.
        /// </summary>
        /// <param name="id">Initial value of the id property.</param>
        public static lenstype Createlenstype(global::System.Int32 id)
        {
            lenstype lenstype = new lenstype();

            lenstype.id = id;
            return(lenstype);
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the lenstypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTolenstypes(lenstype lenstype)
 {
     base.AddObject("lenstypes", lenstype);
 }