コード例 #1
0
 public void AddToEvent(long donorId,
                        long eventId,
                        ref IAuctionTransaction trans)
 {
     var rec = new AuctionEventDonorEntity() {EventId = eventId, DonorId = donorId};
     rec.Save();
 }
コード例 #2
0
        /// <summary>Creates a new, empty AuctionEventDonorEntity object.</summary>
        /// <returns>A new, empty AuctionEventDonorEntity object.</returns>
        public override IEntity Create()
        {
            IEntity toReturn = new AuctionEventDonorEntity();

            // __LLBLGENPRO_USER_CODE_REGION_START CreateNewAuctionEventDonor
            // __LLBLGENPRO_USER_CODE_REGION_END

            return toReturn;
        }