#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.42000
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace OlympiaIntranet
{
	using System.Data.Linq;
	using System.Data.Linq.Mapping;
	using System.Data;
	using System.Collections.Generic;
	using System.Reflection;
	using System.Linq;
	using System.Linq.Expressions;
	using System.ComponentModel;
	using System;
	
	
	[global::System.Data.Linq.Mapping.DatabaseAttribute(Name="FirstSolutionDB")]
	public partial class DataClasses1DataContext : System.Data.Linq.DataContext
	{
		
		private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource();
		
    #region Extensibility Method Definitions
    partial void OnCreated();
    #endregion
		
		public DataClasses1DataContext() : 
				base(global::OlympiaIntranet.Properties.Settings.Default.SqlConnection, mappingSource)
		{
			OnCreated();
		}
		
		public DataClasses1DataContext(string connection) : 
				base(connection, mappingSource)
		{
			OnCreated();
		}
		
		public DataClasses1DataContext(System.Data.IDbConnection connection) : 
				base(connection, mappingSource)
		{
			OnCreated();
		}
		
		public DataClasses1DataContext(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) : 
				base(connection, mappingSource)
		{
			OnCreated();
		}
		
		public DataClasses1DataContext(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) : 
				base(connection, mappingSource)
		{
			OnCreated();
		}
		
		public System.Data.Linq.Table<LoadFondiETF> LoadFondiETFs
		{
			get
			{
				return this.GetTable<LoadFondiETF>();
			}
		}
	}
	
	[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.LoadFondiETF")]
	public partial class LoadFondiETF
	{
		
		private string _IsinCode;
		
		private string _Name;
		
		private string _ListingCurrency;
		
		private string _TepiloraCategory;
		
		private string _TepiloraType;
		
		private string _TepiloraCurrencyExposure;
		
		private string _TepiloraCurrencyHedging;
		
		private System.Nullable<System.DateTime> _InceptionDate;
		
		private System.Nullable<double> _OngoingFees;
		
		private System.Nullable<double> _TER;
		
		private System.Nullable<double> _TotalAssetValue;
		
		private string _DistributionPolicy;
		
		private System.Nullable<int> _LowerFees;
		
		private System.Nullable<double> _TMonthlyReturns;
		
		private System.Nullable<double> _TMonthlyVolatility;
		
		private System.Nullable<double> _TRDD;
		
		private System.Nullable<double> _FinalRating;
		
		private System.Nullable<System.DateTime> _DataIns;
		
		private string _TepiloraCode;
		
		private string _MorningStarCategory;
		
		private string _MorningstarCode;
		
		public LoadFondiETF()
		{
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsinCode", DbType="VarChar(50)")]
		public string IsinCode
		{
			get
			{
				return this._IsinCode;
			}
			set
			{
				if ((this._IsinCode != value))
				{
					this._IsinCode = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="VarChar(500)")]
		public string Name
		{
			get
			{
				return this._Name;
			}
			set
			{
				if ((this._Name != value))
				{
					this._Name = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ListingCurrency", DbType="VarChar(10)")]
		public string ListingCurrency
		{
			get
			{
				return this._ListingCurrency;
			}
			set
			{
				if ((this._ListingCurrency != value))
				{
					this._ListingCurrency = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TepiloraCategory", DbType="VarChar(500)")]
		public string TepiloraCategory
		{
			get
			{
				return this._TepiloraCategory;
			}
			set
			{
				if ((this._TepiloraCategory != value))
				{
					this._TepiloraCategory = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TepiloraType", DbType="VarChar(50)")]
		public string TepiloraType
		{
			get
			{
				return this._TepiloraType;
			}
			set
			{
				if ((this._TepiloraType != value))
				{
					this._TepiloraType = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TepiloraCurrencyExposure", DbType="VarChar(50)")]
		public string TepiloraCurrencyExposure
		{
			get
			{
				return this._TepiloraCurrencyExposure;
			}
			set
			{
				if ((this._TepiloraCurrencyExposure != value))
				{
					this._TepiloraCurrencyExposure = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TepiloraCurrencyHedging", DbType="VarChar(50)")]
		public string TepiloraCurrencyHedging
		{
			get
			{
				return this._TepiloraCurrencyHedging;
			}
			set
			{
				if ((this._TepiloraCurrencyHedging != value))
				{
					this._TepiloraCurrencyHedging = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InceptionDate", DbType="DateTime")]
		public System.Nullable<System.DateTime> InceptionDate
		{
			get
			{
				return this._InceptionDate;
			}
			set
			{
				if ((this._InceptionDate != value))
				{
					this._InceptionDate = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OngoingFees", DbType="Float")]
		public System.Nullable<double> OngoingFees
		{
			get
			{
				return this._OngoingFees;
			}
			set
			{
				if ((this._OngoingFees != value))
				{
					this._OngoingFees = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TER", DbType="Float")]
		public System.Nullable<double> TER
		{
			get
			{
				return this._TER;
			}
			set
			{
				if ((this._TER != value))
				{
					this._TER = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalAssetValue", DbType="Float")]
		public System.Nullable<double> TotalAssetValue
		{
			get
			{
				return this._TotalAssetValue;
			}
			set
			{
				if ((this._TotalAssetValue != value))
				{
					this._TotalAssetValue = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DistributionPolicy", DbType="VarChar(50)")]
		public string DistributionPolicy
		{
			get
			{
				return this._DistributionPolicy;
			}
			set
			{
				if ((this._DistributionPolicy != value))
				{
					this._DistributionPolicy = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LowerFees", DbType="Int")]
		public System.Nullable<int> LowerFees
		{
			get
			{
				return this._LowerFees;
			}
			set
			{
				if ((this._LowerFees != value))
				{
					this._LowerFees = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TMonthlyReturns", DbType="Float")]
		public System.Nullable<double> TMonthlyReturns
		{
			get
			{
				return this._TMonthlyReturns;
			}
			set
			{
				if ((this._TMonthlyReturns != value))
				{
					this._TMonthlyReturns = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TMonthlyVolatility", DbType="Float")]
		public System.Nullable<double> TMonthlyVolatility
		{
			get
			{
				return this._TMonthlyVolatility;
			}
			set
			{
				if ((this._TMonthlyVolatility != value))
				{
					this._TMonthlyVolatility = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TRDD", DbType="Float")]
		public System.Nullable<double> TRDD
		{
			get
			{
				return this._TRDD;
			}
			set
			{
				if ((this._TRDD != value))
				{
					this._TRDD = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FinalRating", DbType="Float")]
		public System.Nullable<double> FinalRating
		{
			get
			{
				return this._FinalRating;
			}
			set
			{
				if ((this._FinalRating != value))
				{
					this._FinalRating = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DataIns", DbType="Date")]
		public System.Nullable<System.DateTime> DataIns
		{
			get
			{
				return this._DataIns;
			}
			set
			{
				if ((this._DataIns != value))
				{
					this._DataIns = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TepiloraCode", DbType="VarChar(50)")]
		public string TepiloraCode
		{
			get
			{
				return this._TepiloraCode;
			}
			set
			{
				if ((this._TepiloraCode != value))
				{
					this._TepiloraCode = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MorningStarCategory", DbType="VarChar(100)")]
		public string MorningStarCategory
		{
			get
			{
				return this._MorningStarCategory;
			}
			set
			{
				if ((this._MorningStarCategory != value))
				{
					this._MorningStarCategory = value;
				}
			}
		}
		
		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MorningstarCode", DbType="VarChar(100)")]
		public string MorningstarCode
		{
			get
			{
				return this._MorningstarCode;
			}
			set
			{
				if ((this._MorningstarCode != value))
				{
					this._MorningstarCode = value;
				}
			}
		}
	}
}
#pragma warning restore 1591
