public void AddToEvent(long donorId, long eventId, ref IAuctionTransaction trans) { var rec = new AuctionEventDonorEntity() {EventId = eventId, DonorId = donorId}; rec.Save(); }
/// <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; }