Automated teller machine emulation.
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace SergeyDrozdovATM.Data
{
using System;
using System.Collections.Generic;
public partial class Currencies
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public Currencies()
{
this.Accounts = new HashSet<Accounts>();
this.CurrencyRates_DestinationCurrency = new HashSet<CurrencyRates>();
this.CurrencyRates_SourceCurrency = new HashSet<CurrencyRates>();
}
public int Id { get; set; }
public string Name { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<Accounts> Accounts { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<CurrencyRates> CurrencyRates_DestinationCurrency { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<CurrencyRates> CurrencyRates_SourceCurrency { get; set; }
}
}