/// <summary>
 /// Create a new CmsType object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="cmsType1">Initial value of the CmsType1 property.</param>
 public static CmsType CreateCmsType(global::System.Int32 id, global::System.String cmsType1)
 {
     CmsType cmsType = new CmsType();
     cmsType.Id = id;
     cmsType.CmsType1 = cmsType1;
     return cmsType;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the CmsTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCmsTypes(CmsType cmsType)
 {
     base.AddObject("CmsTypes", cmsType);
 }