using CAPI.Custom.Entities; using System.Data.Entity.ModelConfiguration; namespace CAPI.Custom.Data.Mappings { public class CurrencyMapping : EntityTypeConfiguration { public CurrencyMapping() { ToTable("qt_Currencies"); HasKey(p => p.recId); Property(p => p.Code).HasColumnName("Currencies_Currencies_CurrencyCode"); Property(p => p.Name).HasColumnName("Currencies_Currencies_CurrencyName"); Property(p => p.Symbol).HasColumnName("Currencies_Currencies_CurrencySymbol"); // Inherited Property(p => p.allowClone).HasColumnName("allowClone"); Property(p => p.allowEdit).HasColumnName("allowEdit"); Property(p => p.allowRemove).HasColumnName("allowRemove"); Property(p => p.allowView).HasColumnName("allowView"); Property(p => p.cloneAccessType).HasColumnName("cloneAccessType"); Property(p => p.editAccessType).HasColumnName("editAccessType"); Property(p => p.isActive).HasColumnName("isActive"); Property(p => p.isComplete).HasColumnName("isComplete"); Property(p => p.itemID).HasColumnName("itemID"); Property(p => p.linkUser).HasColumnName("linkUser"); Property(p => p.recId).HasColumnName("recId"); Property(p => p.removeAccessType).HasColumnName("removeAccessType"); Property(p => p.showWizardStatus).HasColumnName("showWizardStatus"); Property(p => p.surfaceId).HasColumnName("surfaceId"); Property(p => p.surfaceLinkItems).HasColumnName("surfaceLinkItems"); Property(p => p.userLinkEmail).HasColumnName("userLinkEmail"); Property(p => p.userLinkId).HasColumnName("userLinkId"); Property(p => p.userType).HasColumnName("userType"); Property(p => p.viewAccessType).HasColumnName("viewAccessType"); } } }