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