Exemplo n.º 1
0
            public PackageEventRow AddPackageEventRow(
                int VenueID,
                string EventName,
                string EventDescription,
                byte[] EventPhoto,
                System.DateTime EventDate,
                decimal GoldPackagePrice,
                decimal SilverPackagePrice,
                decimal BronzePackagePrice,
                decimal GoldPackageTrueCost,
                decimal SilverPackageTrueCost,
                decimal BronzePackageTrueCost,
                decimal EventTotalCost,
                string EventTypeName,
                string VenueName,
                string VenueCity,
                string VenueState,
                int PackageID)
            {
                PackageEventRow rowPackageEventRow = ((PackageEventRow)(this.NewRow()));

                object[] columnValuesArray = new object[] {
                    null,
                    VenueID,
                    EventName,
                    EventDescription,
                    EventPhoto,
                    EventDate,
                    GoldPackagePrice,
                    SilverPackagePrice,
                    BronzePackagePrice,
                    GoldPackageTrueCost,
                    SilverPackageTrueCost,
                    BronzePackageTrueCost,
                    EventTotalCost,
                    EventTypeName,
                    VenueName,
                    VenueCity,
                    VenueState,
                    PackageID
                };
                rowPackageEventRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowPackageEventRow);
                return(rowPackageEventRow);
            }
Exemplo n.º 2
0
 public PackageEventRowChangeEvent(PackageEventRow row, global::System.Data.DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
Exemplo n.º 3
0
 public void RemovePackageEventRow(PackageEventRow row)
 {
     this.Rows.Remove(row);
 }
Exemplo n.º 4
0
 public void AddPackageEventRow(PackageEventRow row)
 {
     this.Rows.Add(row);
 }