/// <summary>
 /// Create a new BeanBagType object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="dateCreated">Initial value of the DateCreated property.</param>
 public static BeanBagType CreateBeanBagType(global::System.Int32 id, global::System.String name, global::System.DateTime dateCreated)
 {
     BeanBagType beanBagType = new BeanBagType();
     beanBagType.ID = id;
     beanBagType.Name = name;
     beanBagType.DateCreated = dateCreated;
     return beanBagType;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the BeanBagTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBeanBagTypes(BeanBagType beanBagType)
 {
     base.AddObject("BeanBagTypes", beanBagType);
 }