/// <summary>
 /// Create a new Permission object.
 /// </summary>
 /// <param name="permissionId">Initial value of the permissionId property.</param>
 /// <param name="name">Initial value of the name property.</param>
 public static Permission CreatePermission(global::System.Int32 permissionId, global::System.String name)
 {
     Permission permission = new Permission();
     permission.permissionId = permissionId;
     permission.name = name;
     return permission;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Permissions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPermissions(Permission permission)
 {
     base.AddObject("Permissions", permission);
 }