/// <summary>
 /// Create a new Venue object.
 /// </summary>
 /// <param name="venueID">Initial value of the VenueID property.</param>
 /// <param name="venueName">Initial value of the VenueName property.</param>
 /// <param name="venueCode">Initial value of the VenueCode property.</param>
 /// <param name="venueCountry">Initial value of the VenueCountry property.</param>
 /// <param name="venueCity">Initial value of the VenueCity property.</param>
 /// <param name="venueZipCode">Initial value of the VenueZipCode property.</param>
 /// <param name="venueState">Initial value of the VenueState property.</param>
 /// <param name="venueStreet">Initial value of the VenueStreet property.</param>
 /// <param name="createdOn">Initial value of the CreatedOn property.</param>
 /// <param name="modifiedOn">Initial value of the ModifiedOn property.</param>
 /// <param name="stamp">Initial value of the Stamp property.</param>
 /// <param name="active">Initial value of the Active property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="modifiedBy">Initial value of the ModifiedBy property.</param>
 public static Venue CreateVenue(global::System.Int32 venueID, global::System.String venueName, global::System.String venueCode, global::System.String venueCountry, global::System.String venueCity, global::System.String venueZipCode, global::System.String venueState, global::System.String venueStreet, global::System.DateTime createdOn, global::System.DateTime modifiedOn, global::System.Byte[] stamp, global::System.Boolean active, global::System.Int32 createdBy, global::System.Int32 modifiedBy)
 {
     Venue venue = new Venue();
     venue.VenueID = venueID;
     venue.VenueName = venueName;
     venue.VenueCode = venueCode;
     venue.VenueCountry = venueCountry;
     venue.VenueCity = venueCity;
     venue.VenueZipCode = venueZipCode;
     venue.VenueState = venueState;
     venue.VenueStreet = venueStreet;
     venue.CreatedOn = createdOn;
     venue.ModifiedOn = modifiedOn;
     venue.Stamp = stamp;
     venue.Active = active;
     venue.CreatedBy = createdBy;
     venue.ModifiedBy = modifiedBy;
     return venue;
 }
        public static Venue NewVenue()
        {
            Venue newObject = new Venue();

            BsoArchiveEntities.Current.AddToVenues(newObject);
            BsoArchiveEntities.SetDefaultValue(newObject);
            return newObject;
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the Venues EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToVenues(Venue venue)
 {
     base.AddObject("Venues", venue);
 }
 /// <summary>
 /// Set the data for a Venue object
 /// </summary>
 /// <remarks>
 /// Takes the variable data of a Venue object and assigns those values to the objects variables.
 /// </remarks>
 /// <param name="venue"></param>
 /// <param name="venueID"></param>
 /// <param name="venueName"></param>
 /// <param name="venueCode"></param>
 /// <param name="venueCountry"></param>
 /// <param name="venueCity"></param>
 /// <param name="venueZipCode"></param>
 /// <param name="venueState"></param>
 /// <param name="venueStreet"></param>
 private static void SetVenueData(Venue venue, int venueID, string venueName, string venueCode, string venueCountry, string venueCity, string venueZipCode, string venueState, string venueStreet)
 {
     venue.VenueID = venueID;
     venue.VenueName = venueName;
     venue.VenueCode = venueCode;
     venue.VenueCountry = venueCountry;
     venue.VenueCity = venueCity;
     venue.VenueZipCode = venueZipCode;
     venue.VenueState = venueState;
     venue.VenueStreet = venueStreet;
 }