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

[assembly: Microsoft.Xrm.Sdk.Client.ProxyTypesAssemblyAttribute()]

namespace Xrm
{
	
	
	/// <summary>
	/// Firma reprezentująca klienta lub potencjalnego klienta. Firma, która otrzymuje faktury za transakcje biznesowe.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("account")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("AccountSet")]
	public partial class Account : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Account() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "account";
		
		public const int EntityTypeCode = 1;
		
		/// <summary>
		/// Lista rozwijana wyboru kategorii klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("accountcategorycode")]
		public System.Nullable<int> AccountCategoryCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("accountcategorycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("AccountCategoryCode", "accountcategorycode", value);
			}
		}
		
		/// <summary>
		/// Lista rozwijana klasyfikacji klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("accountclassificationcode")]
		public System.Nullable<int> AccountClassificationCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("accountclassificationcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("AccountClassificationCode", "accountclassificationcode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("accountid")]
		public System.Nullable<System.Guid> AccountId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("accountid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("AccountId", "accountid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("accountid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.AccountId = value;
			}
		}
		
		/// <summary>
		/// Nadany przez użytkownika numer klienta używany w korespondencji go dotyczącej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("accountnumber")]
		public string AccountNumber
		{
			get
			{
				return this.GetAttributeValue<string>("accountnumber");
			}
			set
			{
				this.SetAttributeValue<string>("AccountNumber", "accountnumber", value);
			}
		}
		
		/// <summary>
		/// Lista rozwijana do wybierania klasyfikacji klientów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("accountratingcode")]
		public System.Nullable<int> AccountRatingCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("accountratingcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("AccountRatingCode", "accountratingcode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_addressid")]
		public System.Nullable<System.Guid> Address1_AddressId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("address1_addressid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("Address1_AddressId", "address1_addressid", value);
			}
		}
		
		/// <summary>
		/// Typ adresu 1, np. adres na fakturze, adres wysyłkowy lub adres podstawowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_addresstypecode")]
		public System.Nullable<int> Address1_AddressTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address1_addresstypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address1_AddressTypeCode", "address1_addresstypecode", value);
			}
		}
		
		/// <summary>
		/// Nazwa miasta dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_city")]
		public string Address1_City
		{
			get
			{
				return this.GetAttributeValue<string>("address1_city");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_City", "address1_city", value);
			}
		}
		
		/// <summary>
		/// Nazwa kraju/regionu w adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_country")]
		public string Address1_Country
		{
			get
			{
				return this.GetAttributeValue<string>("address1_country");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Country", "address1_country", value);
			}
		}
		
		/// <summary>
		/// Nazwa powiatu dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_county")]
		public string Address1_County
		{
			get
			{
				return this.GetAttributeValue<string>("address1_county");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_County", "address1_county", value);
			}
		}
		
		/// <summary>
		/// Numer faksu dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_fax")]
		public string Address1_Fax
		{
			get
			{
				return this.GetAttributeValue<string>("address1_fax");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Fax", "address1_fax", value);
			}
		}
		
		/// <summary>
		/// Warunki frachtu dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_freighttermscode")]
		public System.Nullable<int> Address1_FreightTermsCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address1_freighttermscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address1_FreightTermsCode", "address1_freighttermscode", value);
			}
		}
		
		/// <summary>
		/// Szerokość geograficzna dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_latitude")]
		public System.Nullable<double> Address1_Latitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address1_latitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address1_Latitude", "address1_latitude", value);
			}
		}
		
		/// <summary>
		/// Pierwszy wiersz do wprowadzenia informacji o adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_line1")]
		public string Address1_Line1
		{
			get
			{
				return this.GetAttributeValue<string>("address1_line1");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Line1", "address1_line1", value);
			}
		}
		
		/// <summary>
		/// Drugi wiersz do wprowadzenia informacji o adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_line2")]
		public string Address1_Line2
		{
			get
			{
				return this.GetAttributeValue<string>("address1_line2");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Line2", "address1_line2", value);
			}
		}
		
		/// <summary>
		/// Trzeci wiersz do wprowadzenia informacji o adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_line3")]
		public string Address1_Line3
		{
			get
			{
				return this.GetAttributeValue<string>("address1_line3");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Line3", "address1_line3", value);
			}
		}
		
		/// <summary>
		/// Długość geograficzna dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_longitude")]
		public System.Nullable<double> Address1_Longitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address1_longitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address1_Longitude", "address1_longitude", value);
			}
		}
		
		/// <summary>
		/// Nazwa do wprowadzenia dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_name")]
		public string Address1_Name
		{
			get
			{
				return this.GetAttributeValue<string>("address1_name");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Name", "address1_name", value);
			}
		}
		
		/// <summary>
		/// Kod pocztowy adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_postalcode")]
		public string Address1_PostalCode
		{
			get
			{
				return this.GetAttributeValue<string>("address1_postalcode");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_PostalCode", "address1_postalcode", value);
			}
		}
		
		/// <summary>
		/// Numer skrytki pocztowej dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_postofficebox")]
		public string Address1_PostOfficeBox
		{
			get
			{
				return this.GetAttributeValue<string>("address1_postofficebox");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_PostOfficeBox", "address1_postofficebox", value);
			}
		}
		
		/// <summary>
		/// Nazwa kontaktu podstawowego dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_primarycontactname")]
		public string Address1_PrimaryContactName
		{
			get
			{
				return this.GetAttributeValue<string>("address1_primarycontactname");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_PrimaryContactName", "address1_primarycontactname", value);
			}
		}
		
		/// <summary>
		/// Metoda wysyłki dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_shippingmethodcode")]
		public System.Nullable<int> Address1_ShippingMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address1_shippingmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address1_ShippingMethodCode", "address1_shippingmethodcode", value);
			}
		}
		
		/// <summary>
		/// Województwo adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_stateorprovince")]
		public string Address1_StateOrProvince
		{
			get
			{
				return this.GetAttributeValue<string>("address1_stateorprovince");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_StateOrProvince", "address1_stateorprovince", value);
			}
		}
		
		/// <summary>
		/// Pierwszy numer telefonu skojarzony z adresem 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_telephone1")]
		public string Address1_Telephone1
		{
			get
			{
				return this.GetAttributeValue<string>("address1_telephone1");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Telephone1", "address1_telephone1", value);
			}
		}
		
		/// <summary>
		/// Drugi numer telefonu skojarzony z adresem 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_telephone2")]
		public string Address1_Telephone2
		{
			get
			{
				return this.GetAttributeValue<string>("address1_telephone2");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Telephone2", "address1_telephone2", value);
			}
		}
		
		/// <summary>
		/// Trzeci numer telefonu skojarzony z adresem 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_telephone3")]
		public string Address1_Telephone3
		{
			get
			{
				return this.GetAttributeValue<string>("address1_telephone3");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Telephone3", "address1_telephone3", value);
			}
		}
		
		/// <summary>
		/// Strefa firmy United Parcel Service (UPS) dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_upszone")]
		public string Address1_UPSZone
		{
			get
			{
				return this.GetAttributeValue<string>("address1_upszone");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_UPSZone", "address1_upszone", value);
			}
		}
		
		/// <summary>
		/// Przesunięcie czasu UTC dla adresu 1. Jest to różnica między czasem lokalnym a standardowym uniwersalnym czasem koordynowanym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_utcoffset")]
		public System.Nullable<int> Address1_UTCOffset
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address1_utcoffset");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Address1_UTCOffset", "address1_utcoffset", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_addressid")]
		public System.Nullable<System.Guid> Address2_AddressId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("address2_addressid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("Address2_AddressId", "address2_addressid", value);
			}
		}
		
		/// <summary>
		/// Typ adresu 2, np. adres na fakturze, adres wysyłkowy lub adres podstawowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_addresstypecode")]
		public System.Nullable<int> Address2_AddressTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address2_addresstypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address2_AddressTypeCode", "address2_addresstypecode", value);
			}
		}
		
		/// <summary>
		/// Nazwa miasta dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_city")]
		public string Address2_City
		{
			get
			{
				return this.GetAttributeValue<string>("address2_city");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_City", "address2_city", value);
			}
		}
		
		/// <summary>
		/// Nazwa kraju/regionu w adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_country")]
		public string Address2_Country
		{
			get
			{
				return this.GetAttributeValue<string>("address2_country");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Country", "address2_country", value);
			}
		}
		
		/// <summary>
		/// Nazwa powiatu dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_county")]
		public string Address2_County
		{
			get
			{
				return this.GetAttributeValue<string>("address2_county");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_County", "address2_county", value);
			}
		}
		
		/// <summary>
		/// Numer faksu dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_fax")]
		public string Address2_Fax
		{
			get
			{
				return this.GetAttributeValue<string>("address2_fax");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Fax", "address2_fax", value);
			}
		}
		
		/// <summary>
		/// Warunki frachtu dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_freighttermscode")]
		public System.Nullable<int> Address2_FreightTermsCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address2_freighttermscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address2_FreightTermsCode", "address2_freighttermscode", value);
			}
		}
		
		/// <summary>
		/// Szerokość geograficzna dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_latitude")]
		public System.Nullable<double> Address2_Latitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address2_latitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address2_Latitude", "address2_latitude", value);
			}
		}
		
		/// <summary>
		/// Pierwszy wiersz do wprowadzenia informacji o adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_line1")]
		public string Address2_Line1
		{
			get
			{
				return this.GetAttributeValue<string>("address2_line1");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Line1", "address2_line1", value);
			}
		}
		
		/// <summary>
		/// Drugi wiersz do wprowadzenia informacji o adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_line2")]
		public string Address2_Line2
		{
			get
			{
				return this.GetAttributeValue<string>("address2_line2");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Line2", "address2_line2", value);
			}
		}
		
		/// <summary>
		/// Trzeci wiersz do wprowadzenia informacji o adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_line3")]
		public string Address2_Line3
		{
			get
			{
				return this.GetAttributeValue<string>("address2_line3");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Line3", "address2_line3", value);
			}
		}
		
		/// <summary>
		/// Długość geograficzna dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_longitude")]
		public System.Nullable<double> Address2_Longitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address2_longitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address2_Longitude", "address2_longitude", value);
			}
		}
		
		/// <summary>
		/// Nazwa do wprowadzenia dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_name")]
		public string Address2_Name
		{
			get
			{
				return this.GetAttributeValue<string>("address2_name");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Name", "address2_name", value);
			}
		}
		
		/// <summary>
		/// Kod pocztowy adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_postalcode")]
		public string Address2_PostalCode
		{
			get
			{
				return this.GetAttributeValue<string>("address2_postalcode");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_PostalCode", "address2_postalcode", value);
			}
		}
		
		/// <summary>
		/// Numer skrytki pocztowej dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_postofficebox")]
		public string Address2_PostOfficeBox
		{
			get
			{
				return this.GetAttributeValue<string>("address2_postofficebox");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_PostOfficeBox", "address2_postofficebox", value);
			}
		}
		
		/// <summary>
		/// Nazwa kontaktu podstawowego dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_primarycontactname")]
		public string Address2_PrimaryContactName
		{
			get
			{
				return this.GetAttributeValue<string>("address2_primarycontactname");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_PrimaryContactName", "address2_primarycontactname", value);
			}
		}
		
		/// <summary>
		/// Metoda wysyłki dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_shippingmethodcode")]
		public System.Nullable<int> Address2_ShippingMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address2_shippingmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address2_ShippingMethodCode", "address2_shippingmethodcode", value);
			}
		}
		
		/// <summary>
		/// Województwo adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_stateorprovince")]
		public string Address2_StateOrProvince
		{
			get
			{
				return this.GetAttributeValue<string>("address2_stateorprovince");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_StateOrProvince", "address2_stateorprovince", value);
			}
		}
		
		/// <summary>
		/// Pierwszy numer telefonu skojarzony z adresem 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_telephone1")]
		public string Address2_Telephone1
		{
			get
			{
				return this.GetAttributeValue<string>("address2_telephone1");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Telephone1", "address2_telephone1", value);
			}
		}
		
		/// <summary>
		/// Drugi numer telefonu skojarzony z adresem 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_telephone2")]
		public string Address2_Telephone2
		{
			get
			{
				return this.GetAttributeValue<string>("address2_telephone2");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Telephone2", "address2_telephone2", value);
			}
		}
		
		/// <summary>
		/// Trzeci numer telefonu skojarzony z adresem 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_telephone3")]
		public string Address2_Telephone3
		{
			get
			{
				return this.GetAttributeValue<string>("address2_telephone3");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Telephone3", "address2_telephone3", value);
			}
		}
		
		/// <summary>
		/// Strefa firmy United Parcel Service (UPS) dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_upszone")]
		public string Address2_UPSZone
		{
			get
			{
				return this.GetAttributeValue<string>("address2_upszone");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_UPSZone", "address2_upszone", value);
			}
		}
		
		/// <summary>
		/// Przesunięcie czasu UTC dla adresu 2. Jest to różnica między czasem lokalnym a standardowym uniwersalnym czasem koordynowanym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_utcoffset")]
		public System.Nullable<int> Address2_UTCOffset
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address2_utcoffset");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Address2_UTCOffset", "address2_utcoffset", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("aging30")]
		public System.Nullable<decimal> Aging30
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("aging30");
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej przedawnienia 30 dla konta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("aging30_base")]
		public System.Nullable<decimal> Aging30_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("aging30_base");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("aging60")]
		public System.Nullable<decimal> Aging60
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("aging60");
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej przedawnienia 60 dla konta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("aging60_base")]
		public System.Nullable<decimal> Aging60_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("aging60_base");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("aging90")]
		public System.Nullable<decimal> Aging90
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("aging90");
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej przedawnienia 90 dla konta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("aging90_base")]
		public System.Nullable<decimal> Aging90_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("aging90_base");
			}
		}
		
		/// <summary>
		/// Rodzaj działalności skojarzony z klientem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businesstypecode")]
		public System.Nullable<int> BusinessTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("businesstypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("BusinessTypeCode", "businesstypecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i czas utworzenia klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Limit kredytu klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("creditlimit")]
		public System.Nullable<decimal> CreditLimit
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("creditlimit");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("CreditLimit", "creditlimit", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej limitu kredytu dla konta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("creditlimit_base")]
		public System.Nullable<decimal> CreditLimit_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("creditlimit_base");
			}
		}
		
		/// <summary>
		/// Informacja, czy kredyt klienta jest wstrzymany.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("creditonhold")]
		public System.Nullable<bool> CreditOnHold
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("creditonhold");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("CreditOnHold", "creditonhold", value);
			}
		}
		
		/// <summary>
		/// Rozmiar klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customersizecode")]
		public System.Nullable<int> CustomerSizeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("customersizecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("CustomerSizeCode", "customersizecode", value);
			}
		}
		
		/// <summary>
		/// Typ klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customertypecode")]
		public System.Nullable<int> CustomerTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("customertypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("CustomerTypeCode", "customertypecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator domyślnego cennika skojarzonego z klientem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("defaultpricelevelid")]
		public Microsoft.Xrm.Client.CrmEntityReference DefaultPriceLevelId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("defaultpricelevelid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("DefaultPriceLevelId", "defaultpricelevelid", value);
			}
		}
		
		/// <summary>
		/// Opis klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy zezwalać na wysyłanie bezpośrednich wiadomości e-mail do klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("donotbulkemail")]
		public System.Nullable<bool> DoNotBulkEMail
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("donotbulkemail");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DoNotBulkEMail", "donotbulkemail", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy zezwalać na wysyłanie zbiorczej poczty tradycyjnej do klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("donotbulkpostalmail")]
		public System.Nullable<bool> DoNotBulkPostalMail
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("donotbulkpostalmail");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DoNotBulkPostalMail", "donotbulkpostalmail", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy zezwalać na wysyłanie wiadomości e-mail do klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("donotemail")]
		public System.Nullable<bool> DoNotEMail
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("donotemail");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DoNotEMail", "donotemail", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy zezwalać na wysyłanie faksów do klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("donotfax")]
		public System.Nullable<bool> DoNotFax
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("donotfax");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DoNotFax", "donotfax", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy zezwalać na rozmowy telefoniczne z klientem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("donotphone")]
		public System.Nullable<bool> DoNotPhone
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("donotphone");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DoNotPhone", "donotphone", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy zezwalać na wysyłanie poczty tradycyjnej do klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("donotpostalmail")]
		public System.Nullable<bool> DoNotPostalMail
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("donotpostalmail");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DoNotPostalMail", "donotpostalmail", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy zezwolić na wysyłanie poczty marketingowej do tego konta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("donotsendmm")]
		public System.Nullable<bool> DoNotSendMM
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("donotsendmm");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DoNotSendMM", "donotsendmm", value);
			}
		}
		
		/// <summary>
		/// Pierwszy adres e-mail dla klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("emailaddress1")]
		public string EMailAddress1
		{
			get
			{
				return this.GetAttributeValue<string>("emailaddress1");
			}
			set
			{
				this.SetAttributeValue<string>("EMailAddress1", "emailaddress1", value);
			}
		}
		
		/// <summary>
		/// Drugi adres e-mail dla klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("emailaddress2")]
		public string EMailAddress2
		{
			get
			{
				return this.GetAttributeValue<string>("emailaddress2");
			}
			set
			{
				this.SetAttributeValue<string>("EMailAddress2", "emailaddress2", value);
			}
		}
		
		/// <summary>
		/// Trzeci adres e-mail dla klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("emailaddress3")]
		public string EMailAddress3
		{
			get
			{
				return this.GetAttributeValue<string>("emailaddress3");
			}
			set
			{
				this.SetAttributeValue<string>("EMailAddress3", "emailaddress3", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z kontem w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Numer faksu klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fax")]
		public string Fax
		{
			get
			{
				return this.GetAttributeValue<string>("fax");
			}
			set
			{
				this.SetAttributeValue<string>("Fax", "fax", value);
			}
		}
		
		/// <summary>
		/// Adres URL witryny FTP klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ftpsiteurl")]
		public string FtpSiteURL
		{
			get
			{
				return this.GetAttributeValue<string>("ftpsiteurl");
			}
			set
			{
				this.SetAttributeValue<string>("FtpSiteURL", "ftpsiteurl", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Branża, z którą jest skojarzony klient.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("industrycode")]
		public System.Nullable<int> IndustryCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("industrycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("IndustryCode", "industrycode", value);
			}
		}
		
		/// <summary>
		/// Data i czas ostatniego kontaktu z klientem w ramach kampanii marketingowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("lastusedincampaign")]
		public System.Nullable<System.DateTime> LastUsedInCampaign
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("lastusedincampaign");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("LastUsedInCampaign", "lastusedincampaign", value);
			}
		}
		
		/// <summary>
		/// Wartość rynkowa klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("marketcap")]
		public System.Nullable<decimal> MarketCap
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("marketcap");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("MarketCap", "marketcap", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej kapitalizacji rynkowej konta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("marketcap_base")]
		public System.Nullable<decimal> MarketCap_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("marketcap_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator konta głównego do scalenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("masterid")]
		public Microsoft.Xrm.Client.CrmEntityReference MasterId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("masterid");
			}
		}
		
		/// <summary>
		/// Informacja, czy konto zostało scalone z kontem głównym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("merged")]
		public System.Nullable<bool> Merged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("merged");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni modyfikował klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i czas ostatniej modyfikacji klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni modyfikował klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Liczba pracowników klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("numberofemployees")]
		public System.Nullable<int> NumberOfEmployees
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("numberofemployees");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("NumberOfEmployees", "numberofemployees", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator potencjalnego klienta, z którego utworzono klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("originatingleadid")]
		public Microsoft.Xrm.Client.CrmEntityReference OriginatingLeadId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("originatingleadid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OriginatingLeadId", "originatingleadid", value);
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Typ własności firmy, np. publiczna lub prywatna.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownershipcode")]
		public System.Nullable<int> OwnershipCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("ownershipcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("OwnershipCode", "ownershipcode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej będącej właścicielem klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu będącego właścicielem klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika będącego właścicielem klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator konta nadrzędnego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentaccountid")]
		public Microsoft.Xrm.Client.CrmEntityReference ParentAccountId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("parentaccountid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ParentAccountId", "parentaccountid", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy klient uczestniczy w regułach przepływu pracy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("participatesinworkflow")]
		public System.Nullable<bool> ParticipatesInWorkflow
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("participatesinworkflow");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("ParticipatesInWorkflow", "participatesinworkflow", value);
			}
		}
		
		/// <summary>
		/// Warunki płatności dotyczące klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("paymenttermscode")]
		public System.Nullable<int> PaymentTermsCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("paymenttermscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PaymentTermsCode", "paymenttermscode", value);
			}
		}
		
		/// <summary>
		/// Dzień tygodnia preferowany przez konto do planowania wykonania usług.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("preferredappointmentdaycode")]
		public System.Nullable<int> PreferredAppointmentDayCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("preferredappointmentdaycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PreferredAppointmentDayCode", "preferredappointmentdaycode", value);
			}
		}
		
		/// <summary>
		/// Pora dnia preferowana przez konto do planowania wykonania usług.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("preferredappointmenttimecode")]
		public System.Nullable<int> PreferredAppointmentTimeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("preferredappointmenttimecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PreferredAppointmentTimeCode", "preferredappointmenttimecode", value);
			}
		}
		
		/// <summary>
		/// Preferowana metoda kontaktu z klientem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("preferredcontactmethodcode")]
		public System.Nullable<int> PreferredContactMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("preferredcontactmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PreferredContactMethodCode", "preferredcontactmethodcode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator pomieszczenia/sprzętu preferowanych przez konto do planowania wykonania usług.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("preferredequipmentid")]
		public Microsoft.Xrm.Client.CrmEntityReference PreferredEquipmentId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("preferredequipmentid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("PreferredEquipmentId", "preferredequipmentid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator usługi preferowanej przez konto do planowania wykonania usług.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("preferredserviceid")]
		public Microsoft.Xrm.Client.CrmEntityReference PreferredServiceId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("preferredserviceid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("PreferredServiceId", "preferredserviceid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika systemu preferowanego przez konto do planowania wykonania usług.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("preferredsystemuserid")]
		public Microsoft.Xrm.Client.CrmEntityReference PreferredSystemUserId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("preferredsystemuserid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("PreferredSystemUserId", "preferredsystemuserid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kontaktu podstawowego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("primarycontactid")]
		public Microsoft.Xrm.Client.CrmEntityReference PrimaryContactId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("primarycontactid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("PrimaryContactId", "primarycontactid", value);
			}
		}
		
		/// <summary>
		/// Kwota przychodu dla klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("revenue")]
		public System.Nullable<decimal> Revenue
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("revenue");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Revenue", "revenue", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej kwoty przychodu dla konta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("revenue_base")]
		public System.Nullable<decimal> Revenue_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("revenue_base");
			}
		}
		
		/// <summary>
		/// Akcje klienta w obiegu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sharesoutstanding")]
		public System.Nullable<int> SharesOutstanding
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("sharesoutstanding");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("SharesOutstanding", "sharesoutstanding", value);
			}
		}
		
		/// <summary>
		/// Metoda wysyłki dotycząca klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shippingmethodcode")]
		public System.Nullable<int> ShippingMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("shippingmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ShippingMethodCode", "shippingmethodcode", value);
			}
		}
		
		/// <summary>
		/// Kod PKD dla klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sic")]
		public string SIC
		{
			get
			{
				return this.GetAttributeValue<string>("sic");
			}
			set
			{
				this.SetAttributeValue<string>("SIC", "sic", value);
			}
		}
		
		/// <summary>
		/// Stan klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Giełda, na której jest notowana firma skojarzona z klientem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("stockexchange")]
		public string StockExchange
		{
			get
			{
				return this.GetAttributeValue<string>("stockexchange");
			}
			set
			{
				this.SetAttributeValue<string>("StockExchange", "stockexchange", value);
			}
		}
		
		/// <summary>
		/// Pierwszy numer telefonu klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("telephone1")]
		public string Telephone1
		{
			get
			{
				return this.GetAttributeValue<string>("telephone1");
			}
			set
			{
				this.SetAttributeValue<string>("Telephone1", "telephone1", value);
			}
		}
		
		/// <summary>
		/// Drugi numer telefonu klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("telephone2")]
		public string Telephone2
		{
			get
			{
				return this.GetAttributeValue<string>("telephone2");
			}
			set
			{
				this.SetAttributeValue<string>("Telephone2", "telephone2", value);
			}
		}
		
		/// <summary>
		/// Trzeci numer telefonu klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("telephone3")]
		public string Telephone3
		{
			get
			{
				return this.GetAttributeValue<string>("telephone3");
			}
			set
			{
				this.SetAttributeValue<string>("Telephone3", "telephone3", value);
			}
		}
		
		/// <summary>
		/// Obszar, do którego należy klient.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("territorycode")]
		public System.Nullable<int> TerritoryCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("territorycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("TerritoryCode", "territorycode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obszaru, do którego należy klient.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("territoryid")]
		public Microsoft.Xrm.Client.CrmEntityReference TerritoryId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("territoryid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TerritoryId", "territoryid", value);
			}
		}
		
		/// <summary>
		/// Symbol giełdowy klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("tickersymbol")]
		public string TickerSymbol
		{
			get
			{
				return this.GetAttributeValue<string>("tickersymbol");
			}
			set
			{
				this.SetAttributeValue<string>("TickerSymbol", "tickersymbol", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z kontem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// Adres URL witryny sieci Web klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("websiteurl")]
		public string WebSiteURL
		{
			get
			{
				return this.GetAttributeValue<string>("websiteurl");
			}
			set
			{
				this.SetAttributeValue<string>("WebSiteURL", "websiteurl", value);
			}
		}
		
		/// <summary>
		/// Wymowa nazwy konta zapisana przy użyciu znaków fonetycznych hiragana lub katakana.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("yominame")]
		public string YomiName
		{
			get
			{
				return this.GetAttributeValue<string>("yominame");
			}
			set
			{
				this.SetAttributeValue<string>("YomiName", "yominame", value);
			}
		}
		
		/// <summary>
		/// 1:N account_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("account_activity_parties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> account_activity_parties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("account_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("account_activity_parties", "account_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Account_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_ActivityPointers")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityPointer> Account_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityPointer>("Account_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityPointer>("Account_ActivityPointers", "Account_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Account_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> Account_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("Account_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("Account_Annotation", "Account_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Account_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_Appointments")]
		public System.Collections.Generic.IEnumerable<Xrm.Appointment> Account_Appointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Appointment>("Account_Appointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Appointment>("Account_Appointments", "Account_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Account_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Account_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Account_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Account_AsyncOperations", "Account_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Account_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Account_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Account_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Account_BulkDeleteFailures", "Account_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N account_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("account_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> account_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("account_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("account_connections1", "account_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N account_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("account_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> account_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("account_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("account_connections2", "account_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N account_customer_opportunity_roles
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("account_customer_opportunity_roles")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerOpportunityRole> account_customer_opportunity_roles
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerOpportunityRole>("account_customer_opportunity_roles", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerOpportunityRole>("account_customer_opportunity_roles", "account_customer_opportunity_roles", null, value);
			}
		}
		
		/// <summary>
		/// 1:N account_customer_relationship_customer
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("account_customer_relationship_customer")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerRelationship> account_customer_relationship_customer
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerRelationship>("account_customer_relationship_customer", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerRelationship>("account_customer_relationship_customer", "account_customer_relationship_customer", null, value);
			}
		}
		
		/// <summary>
		/// 1:N account_customer_relationship_partner
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("account_customer_relationship_partner")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerRelationship> account_customer_relationship_partner
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerRelationship>("account_customer_relationship_partner", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerRelationship>("account_customer_relationship_partner", "account_customer_relationship_partner", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Account_CustomerAddress
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_CustomerAddress")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerAddress> Account_CustomerAddress
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerAddress>("Account_CustomerAddress", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerAddress>("Account_CustomerAddress", "Account_CustomerAddress", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Account_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Account_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Account_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Account_DuplicateBaseRecord", "Account_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Account_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Account_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Account_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Account_DuplicateMatchingRecord", "Account_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Account_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_Emails")]
		public System.Collections.Generic.IEnumerable<Xrm.Email> Account_Emails
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Email>("Account_Emails", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Email>("Account_Emails", "Account_Emails", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Account_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_Faxes")]
		public System.Collections.Generic.IEnumerable<Xrm.Fax> Account_Faxes
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Fax>("Account_Faxes", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Fax>("Account_Faxes", "Account_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Account_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_Letters")]
		public System.Collections.Generic.IEnumerable<Xrm.Letter> Account_Letters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Letter>("Account_Letters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Letter>("Account_Letters", "Account_Letters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N account_master_account
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("account_master_account", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.Account> Referencedaccount_master_account
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Account>("account_master_account", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Account>("Referencedaccount_master_account", "account_master_account", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// 1:N account_parent_account
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("account_parent_account", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.Account> Referencedaccount_parent_account
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Account>("account_parent_account", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Account>("Referencedaccount_parent_account", "account_parent_account", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// 1:N Account_Phonecalls
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_Phonecalls")]
		public System.Collections.Generic.IEnumerable<Xrm.PhoneCall> Account_Phonecalls
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PhoneCall>("Account_Phonecalls", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PhoneCall>("Account_Phonecalls", "Account_Phonecalls", null, value);
			}
		}
		
		/// <summary>
		/// 1:N account_PostFollows
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("account_PostFollows")]
		public System.Collections.Generic.IEnumerable<Xrm.PostFollow> account_PostFollows
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PostFollow>("account_PostFollows", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PostFollow>("account_PostFollows", "account_PostFollows", null, value);
			}
		}
		
		/// <summary>
		/// 1:N account_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("account_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> account_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("account_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("account_principalobjectattributeaccess", "account_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Account_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Account_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Account_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Account_ProcessSessions", "Account_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Account_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_RecurringAppointmentMasters")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurringAppointmentMaster> Account_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurringAppointmentMaster>("Account_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurringAppointmentMaster>("Account_RecurringAppointmentMasters", "Account_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Account_ServiceAppointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_ServiceAppointments")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceAppointment> Account_ServiceAppointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceAppointment>("Account_ServiceAppointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceAppointment>("Account_ServiceAppointments", "Account_ServiceAppointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Account_SharepointDocumentLocation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_SharepointDocumentLocation")]
		public System.Collections.Generic.IEnumerable<Xrm.SharePointDocumentLocation> Account_SharepointDocumentLocation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SharePointDocumentLocation>("Account_SharepointDocumentLocation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SharePointDocumentLocation>("Account_SharepointDocumentLocation", "Account_SharepointDocumentLocation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Account_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_Tasks")]
		public System.Collections.Generic.IEnumerable<Xrm.Task> Account_Tasks
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Task>("Account_Tasks", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Task>("Account_Tasks", "Account_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// 1:N contact_customer_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contact_customer_accounts")]
		public System.Collections.Generic.IEnumerable<Xrm.Contact> contact_customer_accounts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contact>("contact_customer_accounts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contact>("contact_customer_accounts", "contact_customer_accounts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N contract_billingcustomer_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contract_billingcustomer_accounts")]
		public System.Collections.Generic.IEnumerable<Xrm.Contract> contract_billingcustomer_accounts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contract>("contract_billingcustomer_accounts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contract>("contract_billingcustomer_accounts", "contract_billingcustomer_accounts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N contract_customer_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contract_customer_accounts")]
		public System.Collections.Generic.IEnumerable<Xrm.Contract> contract_customer_accounts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contract>("contract_customer_accounts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contract>("contract_customer_accounts", "contract_customer_accounts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N contractlineitem_customer_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contractlineitem_customer_accounts")]
		public System.Collections.Generic.IEnumerable<Xrm.ContractDetail> contractlineitem_customer_accounts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ContractDetail>("contractlineitem_customer_accounts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ContractDetail>("contractlineitem_customer_accounts", "contractlineitem_customer_accounts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CreatedAccount_BulkOperationLogs2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CreatedAccount_BulkOperationLogs2")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkOperationLog> CreatedAccount_BulkOperationLogs2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkOperationLog>("CreatedAccount_BulkOperationLogs2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkOperationLog>("CreatedAccount_BulkOperationLogs2", "CreatedAccount_BulkOperationLogs2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N incident_customer_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("incident_customer_accounts")]
		public System.Collections.Generic.IEnumerable<Xrm.Incident> incident_customer_accounts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Incident>("incident_customer_accounts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Incident>("incident_customer_accounts", "incident_customer_accounts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N invoice_customer_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("invoice_customer_accounts")]
		public System.Collections.Generic.IEnumerable<Xrm.Invoice> invoice_customer_accounts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Invoice>("invoice_customer_accounts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Invoice>("invoice_customer_accounts", "invoice_customer_accounts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lead_customer_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lead_customer_accounts")]
		public System.Collections.Generic.IEnumerable<Xrm.Lead> lead_customer_accounts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Lead>("lead_customer_accounts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Lead>("lead_customer_accounts", "lead_customer_accounts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N opportunity_customer_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunity_customer_accounts")]
		public System.Collections.Generic.IEnumerable<Xrm.Opportunity> opportunity_customer_accounts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Opportunity>("opportunity_customer_accounts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Opportunity>("opportunity_customer_accounts", "opportunity_customer_accounts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N order_customer_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("order_customer_accounts")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesOrder> order_customer_accounts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesOrder>("order_customer_accounts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesOrder>("order_customer_accounts", "order_customer_accounts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N quote_customer_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("quote_customer_accounts")]
		public System.Collections.Generic.IEnumerable<Xrm.Quote> quote_customer_accounts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Quote>("quote_customer_accounts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Quote>("quote_customer_accounts", "quote_customer_accounts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SourceAccount_BulkOperationLogs
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SourceAccount_BulkOperationLogs")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkOperationLog> SourceAccount_BulkOperationLogs
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkOperationLog>("SourceAccount_BulkOperationLogs", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkOperationLog>("SourceAccount_BulkOperationLogs", "SourceAccount_BulkOperationLogs", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_account
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_account")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_account
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_account", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_account", "userentityinstancedata_account", null, value);
			}
		}
		
		/// <summary>
		/// N:N accountleads_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("accountleads_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Lead> accountleads_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Lead>("accountleads_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Lead>("accountleads_association", "accountleads_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N listaccount_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("listaccount_association")]
		public System.Collections.Generic.IEnumerable<Xrm.List> listaccount_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.List>("listaccount_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.List>("listaccount_association", "listaccount_association", null, value);
			}
		}
		
		/// <summary>
		/// N:1 account_master_account
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("masterid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("account_master_account", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.Account Referencingaccount_master_account
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("account_master_account", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
		}
		
		/// <summary>
		/// N:1 account_originating_lead
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("originatingleadid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("account_originating_lead")]
		public Xrm.Lead account_originating_lead
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Lead>("account_originating_lead", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Lead>("account_originating_lead", "account_originating_lead", null, value);
			}
		}
		
		/// <summary>
		/// N:1 account_parent_account
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentaccountid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("account_parent_account", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.Account Referencingaccount_parent_account
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("account_parent_account", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("Referencingaccount_parent_account", "account_parent_account", Microsoft.Xrm.Sdk.EntityRole.Referencing, value);
			}
		}
		
		/// <summary>
		/// N:1 account_primary_contact
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("primarycontactid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("account_primary_contact")]
		public Xrm.Contact account_primary_contact
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("account_primary_contact", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("account_primary_contact", "account_primary_contact", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_accounts")]
		public Xrm.BusinessUnit business_unit_accounts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_accounts", null);
			}
		}
		
		/// <summary>
		/// N:1 equipment_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("preferredequipmentid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("equipment_accounts")]
		public Xrm.Equipment equipment_accounts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Equipment>("equipment_accounts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Equipment>("equipment_accounts", "equipment_accounts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_accountbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_accountbase_createdby")]
		public Xrm.SystemUser lk_accountbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_accountbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_accountbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_accountbase_createdonbehalfby")]
		public Xrm.SystemUser lk_accountbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_accountbase_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_accountbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_accountbase_modifiedby")]
		public Xrm.SystemUser lk_accountbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_accountbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_accountbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_accountbase_modifiedonbehalfby")]
		public Xrm.SystemUser lk_accountbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_accountbase_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 price_level_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("defaultpricelevelid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("price_level_accounts")]
		public Xrm.PriceLevel price_level_accounts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PriceLevel>("price_level_accounts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PriceLevel>("price_level_accounts", "price_level_accounts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 service_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("preferredserviceid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_accounts")]
		public Xrm.Service service_accounts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Service>("service_accounts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Service>("service_accounts", "service_accounts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 system_user_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("preferredsystemuserid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_accounts")]
		public Xrm.SystemUser system_user_accounts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("system_user_accounts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("system_user_accounts", "system_user_accounts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_accounts")]
		public Xrm.Team team_accounts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_accounts", null);
			}
		}
		
		/// <summary>
		/// N:1 territory_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("territoryid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("territory_accounts")]
		public Xrm.Territory territory_accounts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Territory>("territory_accounts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Territory>("territory_accounts", "territory_accounts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 transactioncurrency_account
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_account")]
		public Xrm.TransactionCurrency transactioncurrency_account
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_account", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_account", "transactioncurrency_account", null, value);
			}
		}
		
		/// <summary>
		/// N:1 user_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_accounts")]
		public Xrm.SystemUser user_accounts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_accounts", null);
			}
		}
	}
	
	/// <summary>
	/// 
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("accountleads")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("AccountLeadsSet")]
	public partial class AccountLeads : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public AccountLeads() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "accountleads";
		
		public const int EntityTypeCode = 16;
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("accountid")]
		public System.Nullable<System.Guid> AccountId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("accountid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator potencjalnego klienta dla klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("accountleadid")]
		public System.Nullable<System.Guid> AccountLeadId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("accountleadid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("AccountLeadId", "accountleadid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("accountleadid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.AccountLeadId = value;
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("leadid")]
		public System.Nullable<System.Guid> LeadId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("leadid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// N:N accountleads_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("accountleads_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Account> accountleads_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Account>("accountleads_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Account>("accountleads_association", "accountleads_association", null, value);
			}
		}
	}
	
	/// <summary>
	/// Załącznik MIME do działania dotyczącego wiadomości e-mail.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("activitymimeattachment")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ActivityMimeAttachmentSet")]
	public partial class ActivityMimeAttachment : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ActivityMimeAttachment() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "activitymimeattachment";
		
		public const int EntityTypeCode = 1001;
		
		/// <summary>
		/// Unikatowy identyfikator działania, z którym jest skojarzony załącznik do wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[System.ObsoleteAttribute()]
		public Microsoft.Xrm.Client.CrmEntityReference ActivityId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("activityid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ActivityId", "activityid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator załącznika do wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activitymimeattachmentid")]
		public System.Nullable<System.Guid> ActivityMimeAttachmentId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("activitymimeattachmentid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ActivityMimeAttachmentId", "activitymimeattachmentid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activitymimeattachmentid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ActivityMimeAttachmentId = value;
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activitymimeattachmentidunique")]
		public System.Nullable<System.Guid> ActivityMimeAttachmentIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("activitymimeattachmentidunique");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("ActivityMimeAttachmentIdUnique", "activitymimeattachmentidunique", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator załącznika, z którym jest skojarzony ten załącznik MIME do działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("attachmentid")]
		public Microsoft.Xrm.Client.CrmEntityReference AttachmentId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("attachmentid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("AttachmentId", "attachmentid", value);
			}
		}
		
		/// <summary>
		/// Numer załącznika do wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("attachmentnumber")]
		public System.Nullable<int> AttachmentNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("attachmentnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("AttachmentNumber", "attachmentnumber", value);
			}
		}
		
		/// <summary>
		/// Zawartość załącznika do wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("body")]
		public string Body
		{
			get
			{
				return this.GetAttributeValue<string>("body");
			}
			set
			{
				this.SetAttributeValue<string>("Body", "body", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// Nazwa pliku załącznika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("filename")]
		public string FileName
		{
			get
			{
				return this.GetAttributeValue<string>("filename");
			}
			set
			{
				this.SetAttributeValue<string>("FileName", "filename", value);
			}
		}
		
		/// <summary>
		/// Rozmiar pliku załącznika do wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("filesize")]
		public System.Nullable<int> FileSize
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("filesize");
			}
		}
		
		/// <summary>
		/// Wskazuje, czy składnik rozwiązania jest częścią rozwiązania zarządzanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Typ MIME załącznika do wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("mimetype")]
		public string MimeType
		{
			get
			{
				return this.GetAttributeValue<string>("mimetype");
			}
			set
			{
				this.SetAttributeValue<string>("MimeType", "mimetype", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator rekordu, z którym jest skojarzony załącznik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		public Microsoft.Xrm.Client.CrmEntityReference ObjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("objectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ObjectId", "objectid", value);
			}
		}
		
		/// <summary>
		/// Kod typu obiektu encji skojarzonej z załącznikiem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objecttypecode")]
		public string ObjectTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("objecttypecode");
			}
			set
			{
				this.SetAttributeValue<string>("ObjectTypeCode", "objecttypecode", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem załącznika MIME do działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej będącej właścicielem załącznika MIME do działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika będącego właścicielem załącznika MIME do działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// Opisowy temat załącznika do wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subject")]
		public string Subject
		{
			get
			{
				return this.GetAttributeValue<string>("subject");
			}
			set
			{
				this.SetAttributeValue<string>("Subject", "subject", value);
			}
		}
		
		/// <summary>
		/// Numer wersji załącznika MIME do działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N ActivityMimeAttachment_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ActivityMimeAttachment_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> ActivityMimeAttachment_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("ActivityMimeAttachment_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("ActivityMimeAttachment_AsyncOperations", "ActivityMimeAttachment_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ActivityMimeAttachment_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ActivityMimeAttachment_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> ActivityMimeAttachment_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("ActivityMimeAttachment_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("ActivityMimeAttachment_BulkDeleteFailures", "ActivityMimeAttachment_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_activitymimeattachment
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_activitymimeattachment")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_activitymimeattachment
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_activitymimeattachment", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_activitymimeattachment", "userentityinstancedata_activitymimeattachment", null, value);
			}
		}
		
		/// <summary>
		/// N:1 activity_pointer_activity_mime_attachment
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_activity_mime_attachment")]
		public Xrm.ActivityPointer activity_pointer_activity_mime_attachment
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_activity_mime_attachment", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_activity_mime_attachment", "activity_pointer_activity_mime_attachment", null, value);
			}
		}
		
		/// <summary>
		/// N:1 email_activity_mime_attachment
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("email_activity_mime_attachment")]
		public Xrm.Email email_activity_mime_attachment
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Email>("email_activity_mime_attachment", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Email>("email_activity_mime_attachment", "email_activity_mime_attachment", null, value);
			}
		}
		
		/// <summary>
		/// N:1 template_activity_mime_attachments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("template_activity_mime_attachments")]
		public Xrm.Template template_activity_mime_attachments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Template>("template_activity_mime_attachments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Template>("template_activity_mime_attachments", "template_activity_mime_attachments", null, value);
			}
		}
	}
	
	/// <summary>
	/// Osoba lub grupa skojarzona z działaniem. Działanie może mieć wiele stron.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("activityparty")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ActivityPartySet")]
	public partial class ActivityParty : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ActivityParty() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "activityparty";
		
		public const int EntityTypeCode = 135;
		
		/// <summary>
		/// Unikatowy identyfikator działania skojarzonego ze stroną działania. Strona to każda osoba skojarzona z działaniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public Microsoft.Xrm.Client.CrmEntityReference ActivityId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("activityid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ActivityId", "activityid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator strony działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activitypartyid")]
		public System.Nullable<System.Guid> ActivityPartyId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("activitypartyid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ActivityPartyId", "activitypartyid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activitypartyid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ActivityPartyId = value;
			}
		}
		
		/// <summary>
		/// Adres e-mail, na jaki jest dostarczana wiadomość e-mail, skojarzony z encją docelową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("addressused")]
		public string AddressUsed
		{
			get
			{
				return this.GetAttributeValue<string>("addressused");
			}
			set
			{
				this.SetAttributeValue<string>("AddressUsed", "addressused", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy zezwolić na wysyłanie wiadomości e-mail do strony działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("donotemail")]
		public System.Nullable<bool> DoNotEmail
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("donotemail");
			}
		}
		
		/// <summary>
		/// Informacja, czy zezwolić na wysyłanie faksów do strony działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("donotfax")]
		public System.Nullable<bool> DoNotFax
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("donotfax");
			}
		}
		
		/// <summary>
		/// Informacja, czy zezwalać na rozmowy telefoniczne z potencjalnym klientem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("donotphone")]
		public System.Nullable<bool> DoNotPhone
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("donotphone");
			}
		}
		
		/// <summary>
		/// Informacja, czy zezwalać na wysyłanie poczty tradycyjnej do potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("donotpostalmail")]
		public System.Nullable<bool> DoNotPostalMail
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("donotpostalmail");
			}
		}
		
		/// <summary>
		/// Nakład pracy zasobu dotyczący działania będącego terminem związanym z usługą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("effort")]
		public System.Nullable<double> Effort
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("effort");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Effort", "effort", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangeentryid")]
		public string ExchangeEntryId
		{
			get
			{
				return this.GetAttributeValue<string>("exchangeentryid");
			}
			set
			{
				this.SetAttributeValue<string>("ExchangeEntryId", "exchangeentryid", value);
			}
		}
		
		/// <summary>
		/// Typ wystąpienia serii cyklicznej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("instancetypecode")]
		public System.Nullable<int> InstanceTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("instancetypecode");
			}
		}
		
		/// <summary>
		/// Informacja, czy rekord źródłowy encji jest usunięty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ispartydeleted")]
		public System.Nullable<bool> IsPartyDeleted
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ispartydeleted");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem strony działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
		}
		
		/// <summary>
		/// Rola osoby w ramach działania, np. nadawca, adresat, adresat (DW), adresat (UDW), uczestnik wymagany, uczestnik opcjonalny, organizator, dotyczy lub właściciel.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("participationtypemask")]
		public System.Nullable<int> ParticipationTypeMask
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("participationtypemask");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ParticipationTypeMask", "participationtypemask", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator strony skojarzonej z działaniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("partyid")]
		public Microsoft.Xrm.Client.CrmEntityReference PartyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("partyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("PartyId", "partyid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator specyfikacji zasobu dla strony działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("resourcespecid")]
		public Microsoft.Xrm.Client.CrmEntityReference ResourceSpecId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("resourcespecid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ResourceSpecId", "resourcespecid", value);
			}
		}
		
		/// <summary>
		/// Zaplanowana godzina zakończenia działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledend")]
		public System.Nullable<System.DateTime> ScheduledEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledend");
			}
		}
		
		/// <summary>
		/// Zaplanowana godzina rozpoczęcia działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledstart")]
		public System.Nullable<System.DateTime> ScheduledStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledstart");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_activityparty
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_activityparty")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_activityparty
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_activityparty", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_activityparty", "userentityinstancedata_activityparty", null, value);
			}
		}
		
		/// <summary>
		/// N:1 account_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("partyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("account_activity_parties")]
		public Xrm.Account account_activity_parties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("account_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("account_activity_parties", "account_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ActivityPartyResourceSpec
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("resourcespecid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ActivityPartyResourceSpec")]
		public Xrm.ResourceSpec ActivityPartyResourceSpec
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ResourceSpec>("ActivityPartyResourceSpec", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ResourceSpec>("ActivityPartyResourceSpec", "ActivityPartyResourceSpec", null, value);
			}
		}
		
		/// <summary>
		/// N:1 activitypointer_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activitypointer_activity_parties")]
		public Xrm.ActivityPointer activitypointer_activity_parties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityPointer>("activitypointer_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ActivityPointer>("activitypointer_activity_parties", "activitypointer_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 appointment_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("appointment_activity_parties")]
		public Xrm.Appointment appointment_activity_parties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Appointment>("appointment_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Appointment>("appointment_activity_parties", "appointment_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 bulkoperation_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("partyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("bulkoperation_activity_parties")]
		public Xrm.BulkOperation bulkoperation_activity_parties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BulkOperation>("bulkoperation_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BulkOperation>("bulkoperation_activity_parties", "bulkoperation_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 campaign_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("partyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaign_activity_parties")]
		public Xrm.Campaign campaign_activity_parties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Campaign>("campaign_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Campaign>("campaign_activity_parties", "campaign_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 campaignactivity_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaignactivity_activity_parties")]
		public Xrm.CampaignActivity campaignactivity_activity_parties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignActivity>("campaignactivity_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CampaignActivity>("campaignactivity_activity_parties", "campaignactivity_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 campaignactivity_activityparties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("partyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaignactivity_activityparties")]
		public Xrm.CampaignActivity campaignactivity_activityparties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignActivity>("campaignactivity_activityparties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CampaignActivity>("campaignactivity_activityparties", "campaignactivity_activityparties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 campaignresponse_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaignresponse_activity_parties")]
		public Xrm.CampaignResponse campaignresponse_activity_parties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignResponse>("campaignresponse_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CampaignResponse>("campaignresponse_activity_parties", "campaignresponse_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 contact_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("partyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contact_activity_parties")]
		public Xrm.Contact contact_activity_parties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("contact_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("contact_activity_parties", "contact_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 contract_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("partyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contract_activity_parties")]
		public Xrm.Contract contract_activity_parties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contract>("contract_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contract>("contract_activity_parties", "contract_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 email_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("email_activity_parties")]
		public Xrm.Email email_activity_parties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Email>("email_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Email>("email_activity_parties", "email_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 equipment_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("partyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("equipment_activity_parties")]
		public Xrm.Equipment equipment_activity_parties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Equipment>("equipment_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Equipment>("equipment_activity_parties", "equipment_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 fax_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("fax_activity_parties")]
		public Xrm.Fax fax_activity_parties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Fax>("fax_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Fax>("fax_activity_parties", "fax_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 incident_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("partyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("incident_activity_parties")]
		public Xrm.Incident incident_activity_parties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Incident>("incident_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Incident>("incident_activity_parties", "incident_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 incidentresolution_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("incidentresolution_activity_parties")]
		public Xrm.IncidentResolution incidentresolution_activity_parties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.IncidentResolution>("incidentresolution_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.IncidentResolution>("incidentresolution_activity_parties", "incidentresolution_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 invoice_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("partyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("invoice_activity_parties")]
		public Xrm.Invoice invoice_activity_parties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Invoice>("invoice_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Invoice>("invoice_activity_parties", "invoice_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lead_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("partyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lead_activity_parties")]
		public Xrm.Lead lead_activity_parties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Lead>("lead_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Lead>("lead_activity_parties", "lead_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 letter_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("letter_activity_parties")]
		public Xrm.Letter letter_activity_parties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Letter>("letter_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Letter>("letter_activity_parties", "letter_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 opportunity_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("partyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunity_activity_parties")]
		public Xrm.Opportunity opportunity_activity_parties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Opportunity>("opportunity_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Opportunity>("opportunity_activity_parties", "opportunity_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 opportunityclose_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunityclose_activity_parties")]
		public Xrm.OpportunityClose opportunityclose_activity_parties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.OpportunityClose>("opportunityclose_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.OpportunityClose>("opportunityclose_activity_parties", "opportunityclose_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 orderclose_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("orderclose_activity_parties")]
		public Xrm.OrderClose orderclose_activity_parties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.OrderClose>("orderclose_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.OrderClose>("orderclose_activity_parties", "orderclose_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 phonecall_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("phonecall_activity_parties")]
		public Xrm.PhoneCall phonecall_activity_parties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PhoneCall>("phonecall_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PhoneCall>("phonecall_activity_parties", "phonecall_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 queue_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("partyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("queue_activity_parties")]
		public Xrm.Queue queue_activity_parties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Queue>("queue_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Queue>("queue_activity_parties", "queue_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 quote_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("partyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("quote_activity_parties")]
		public Xrm.Quote quote_activity_parties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Quote>("quote_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Quote>("quote_activity_parties", "quote_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 quoteclose_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("quoteclose_activity_parties")]
		public Xrm.QuoteClose quoteclose_activity_parties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.QuoteClose>("quoteclose_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.QuoteClose>("quoteclose_activity_parties", "quoteclose_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 recurringappointmentmaster_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("recurringappointmentmaster_activity_parties")]
		public Xrm.RecurringAppointmentMaster recurringappointmentmaster_activity_parties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RecurringAppointmentMaster>("recurringappointmentmaster_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.RecurringAppointmentMaster>("recurringappointmentmaster_activity_parties", "recurringappointmentmaster_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 salesorder_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("partyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("salesorder_activity_parties")]
		public Xrm.SalesOrder salesorder_activity_parties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesOrder>("salesorder_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesOrder>("salesorder_activity_parties", "salesorder_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 serviceappointment_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("serviceappointment_activity_parties")]
		public Xrm.ServiceAppointment serviceappointment_activity_parties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ServiceAppointment>("serviceappointment_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ServiceAppointment>("serviceappointment_activity_parties", "serviceappointment_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 system_user_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("partyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_activity_parties")]
		public Xrm.SystemUser system_user_activity_parties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("system_user_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("system_user_activity_parties", "system_user_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 task_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("task_activity_parties")]
		public Xrm.Task task_activity_parties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Task>("task_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Task>("task_activity_parties", "task_activity_parties", null, value);
			}
		}
	}
	
	/// <summary>
	/// Zadanie, które zostało lub ma zostać wykonane przez użytkownika. Działanie to każda akcja, dla której można utworzyć wpis w kalendarzu.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("activitypointer")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ActivityPointerSet")]
	public partial class ActivityPointer : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ActivityPointer() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "activitypointer";
		
		public const int EntityTypeCode = 4200;
		
		/// <summary>
		/// Unikatowy identyfikator działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public System.Nullable<System.Guid> ActivityId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("activityid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ActivityId", "activityid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ActivityId = value;
			}
		}
		
		/// <summary>
		/// Typ działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activitytypecode")]
		public string ActivityTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("activitytypecode");
			}
		}
		
		/// <summary>
		/// Rzeczywisty czas trwania działania (w minutach).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualdurationminutes")]
		public System.Nullable<int> ActualDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("actualdurationminutes");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ActualDurationMinutes", "actualdurationminutes", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista godzina zakończenia działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualend")]
		public System.Nullable<System.DateTime> ActualEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualEnd", "actualend", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista godzina rozpoczęcia działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualstart")]
		public System.Nullable<System.DateTime> ActualStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualStart", "actualstart", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył działanie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył wskaźnik działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Kurs walutowy waluty skojarzonej ze wskaźnikiem działania względem waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Typ wystąpienia serii cyklicznej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("instancetypecode")]
		public System.Nullable<int> InstanceTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("instancetypecode");
			}
		}
		
		/// <summary>
		/// Informacja, czy działanie zostało zafakturowane jako element obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isbilled")]
		public System.Nullable<bool> IsBilled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isbilled");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsBilled", "isbilled", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy działanie ma charakter regularny, czy też jest zdarzeniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isregularactivity")]
		public System.Nullable<bool> IsRegularActivity
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isregularactivity");
			}
		}
		
		/// <summary>
		/// Informacja, czy działanie zostało utworzone przy użyciu reguły przepływu pracy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isworkflowcreated")]
		public System.Nullable<bool> IsWorkflowCreated
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isworkflowcreated");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsWorkflowCreated", "isworkflowcreated", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni modyfikował działanie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował wskaźnik działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu będącego właścicielem działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika będącego właścicielem działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Priorytet działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("prioritycode")]
		public System.Nullable<int> PriorityCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("prioritycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PriorityCode", "prioritycode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obiektu, z którym jest skojarzone działanie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		public Microsoft.Xrm.Client.CrmEntityReference RegardingObjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("regardingobjectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RegardingObjectId", "regardingobjectid", value);
			}
		}
		
		/// <summary>
		/// Zaplanowany czas trwania działania określony w minutach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduleddurationminutes")]
		public System.Nullable<int> ScheduledDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("scheduleddurationminutes");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ScheduledDurationMinutes", "scheduleddurationminutes", value);
			}
		}
		
		/// <summary>
		/// Zaplanowana godzina zakończenia działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledend")]
		public System.Nullable<System.DateTime> ScheduledEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ScheduledEnd", "scheduledend", value);
			}
		}
		
		/// <summary>
		/// Zaplanowana godzina rozpoczęcia działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledstart")]
		public System.Nullable<System.DateTime> ScheduledStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ScheduledStart", "scheduledstart", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator określający identyfikator serii cyklicznej wystąpienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("seriesid")]
		public System.Nullable<System.Guid> SeriesId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("seriesid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonej usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		public Microsoft.Xrm.Client.CrmEntityReference ServiceId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("serviceid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ServiceId", "serviceid", value);
			}
		}
		
		/// <summary>
		/// Stan działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Temat skojarzony z działaniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subject")]
		public string Subject
		{
			get
			{
				return this.GetAttributeValue<string>("subject");
			}
			set
			{
				this.SetAttributeValue<string>("Subject", "subject", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej ze wskaźnikiem działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N activity_campaignresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_campaignresponse")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignResponse> activity_campaignresponse
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignResponse>("activity_campaignresponse", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignResponse>("activity_campaignresponse", "activity_campaignresponse", null, value);
			}
		}
		
		/// <summary>
		/// 1:N activity_pointer_activity_mime_attachment
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_activity_mime_attachment")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityMimeAttachment> activity_pointer_activity_mime_attachment
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityMimeAttachment>("activity_pointer_activity_mime_attachment", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityMimeAttachment>("activity_pointer_activity_mime_attachment", "activity_pointer_activity_mime_attachment", null, value);
			}
		}
		
		/// <summary>
		/// 1:N activity_pointer_appointment
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_appointment")]
		public System.Collections.Generic.IEnumerable<Xrm.Appointment> activity_pointer_appointment
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Appointment>("activity_pointer_appointment", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Appointment>("activity_pointer_appointment", "activity_pointer_appointment", null, value);
			}
		}
		
		/// <summary>
		/// 1:N activity_pointer_BulkOperation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_BulkOperation")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkOperation> activity_pointer_BulkOperation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkOperation>("activity_pointer_BulkOperation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkOperation>("activity_pointer_BulkOperation", "activity_pointer_BulkOperation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N activity_pointer_BulkOperation_logs
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_BulkOperation_logs")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkOperationLog> activity_pointer_BulkOperation_logs
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkOperationLog>("activity_pointer_BulkOperation_logs", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkOperationLog>("activity_pointer_BulkOperation_logs", "activity_pointer_BulkOperation_logs", null, value);
			}
		}
		
		/// <summary>
		/// 1:N activity_pointer_campaignactivity
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_campaignactivity")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignActivity> activity_pointer_campaignactivity
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignActivity>("activity_pointer_campaignactivity", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignActivity>("activity_pointer_campaignactivity", "activity_pointer_campaignactivity", null, value);
			}
		}
		
		/// <summary>
		/// 1:N activity_pointer_campaignresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_campaignresponse")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignResponse> activity_pointer_campaignresponse
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignResponse>("activity_pointer_campaignresponse", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignResponse>("activity_pointer_campaignresponse", "activity_pointer_campaignresponse", null, value);
			}
		}
		
		/// <summary>
		/// 1:N activity_pointer_email
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_email")]
		public System.Collections.Generic.IEnumerable<Xrm.Email> activity_pointer_email
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Email>("activity_pointer_email", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Email>("activity_pointer_email", "activity_pointer_email", null, value);
			}
		}
		
		/// <summary>
		/// 1:N activity_pointer_fax
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_fax")]
		public System.Collections.Generic.IEnumerable<Xrm.Fax> activity_pointer_fax
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Fax>("activity_pointer_fax", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Fax>("activity_pointer_fax", "activity_pointer_fax", null, value);
			}
		}
		
		/// <summary>
		/// 1:N activity_pointer_incident_resolution
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_incident_resolution")]
		public System.Collections.Generic.IEnumerable<Xrm.IncidentResolution> activity_pointer_incident_resolution
		{
			get
			{
				return this.GetRelatedEntities<Xrm.IncidentResolution>("activity_pointer_incident_resolution", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.IncidentResolution>("activity_pointer_incident_resolution", "activity_pointer_incident_resolution", null, value);
			}
		}
		
		/// <summary>
		/// 1:N activity_pointer_letter
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_letter")]
		public System.Collections.Generic.IEnumerable<Xrm.Letter> activity_pointer_letter
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Letter>("activity_pointer_letter", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Letter>("activity_pointer_letter", "activity_pointer_letter", null, value);
			}
		}
		
		/// <summary>
		/// 1:N activity_pointer_opportunity_close
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_opportunity_close")]
		public System.Collections.Generic.IEnumerable<Xrm.OpportunityClose> activity_pointer_opportunity_close
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OpportunityClose>("activity_pointer_opportunity_close", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OpportunityClose>("activity_pointer_opportunity_close", "activity_pointer_opportunity_close", null, value);
			}
		}
		
		/// <summary>
		/// 1:N activity_pointer_order_close
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_order_close")]
		public System.Collections.Generic.IEnumerable<Xrm.OrderClose> activity_pointer_order_close
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OrderClose>("activity_pointer_order_close", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OrderClose>("activity_pointer_order_close", "activity_pointer_order_close", null, value);
			}
		}
		
		/// <summary>
		/// 1:N activity_pointer_phonecall
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_phonecall")]
		public System.Collections.Generic.IEnumerable<Xrm.PhoneCall> activity_pointer_phonecall
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PhoneCall>("activity_pointer_phonecall", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PhoneCall>("activity_pointer_phonecall", "activity_pointer_phonecall", null, value);
			}
		}
		
		/// <summary>
		/// 1:N activity_pointer_quote_close
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_quote_close")]
		public System.Collections.Generic.IEnumerable<Xrm.QuoteClose> activity_pointer_quote_close
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QuoteClose>("activity_pointer_quote_close", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QuoteClose>("activity_pointer_quote_close", "activity_pointer_quote_close", null, value);
			}
		}
		
		/// <summary>
		/// 1:N activity_pointer_recurrencerule
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_recurrencerule")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurrenceRule> activity_pointer_recurrencerule
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurrenceRule>("activity_pointer_recurrencerule", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurrenceRule>("activity_pointer_recurrencerule", "activity_pointer_recurrencerule", null, value);
			}
		}
		
		/// <summary>
		/// 1:N activity_pointer_recurringappointmentmaster
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_recurringappointmentmaster")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurringAppointmentMaster> activity_pointer_recurringappointmentmaster
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurringAppointmentMaster>("activity_pointer_recurringappointmentmaster", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurringAppointmentMaster>("activity_pointer_recurringappointmentmaster", "activity_pointer_recurringappointmentmaster", null, value);
			}
		}
		
		/// <summary>
		/// 1:N activity_pointer_service_appointment
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_service_appointment")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceAppointment> activity_pointer_service_appointment
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceAppointment>("activity_pointer_service_appointment", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceAppointment>("activity_pointer_service_appointment", "activity_pointer_service_appointment", null, value);
			}
		}
		
		/// <summary>
		/// 1:N activity_pointer_task
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_task")]
		public System.Collections.Generic.IEnumerable<Xrm.Task> activity_pointer_task
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Task>("activity_pointer_task", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Task>("activity_pointer_task", "activity_pointer_task", null, value);
			}
		}
		
		/// <summary>
		/// 1:N activitypointer_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activitypointer_activity_parties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> activitypointer_activity_parties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("activitypointer_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("activitypointer_activity_parties", "activitypointer_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ActivityPointer_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ActivityPointer_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> ActivityPointer_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("ActivityPointer_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("ActivityPointer_AsyncOperations", "ActivityPointer_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ActivityPointer_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ActivityPointer_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> ActivityPointer_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("ActivityPointer_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("ActivityPointer_BulkDeleteFailures", "ActivityPointer_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ActivityPointer_CampaignActivityItems
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ActivityPointer_CampaignActivityItems")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignActivityItem> ActivityPointer_CampaignActivityItems
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignActivityItem>("ActivityPointer_CampaignActivityItems", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignActivityItem>("ActivityPointer_CampaignActivityItems", "ActivityPointer_CampaignActivityItems", null, value);
			}
		}
		
		/// <summary>
		/// 1:N activitypointer_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activitypointer_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> activitypointer_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("activitypointer_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("activitypointer_connections1", "activitypointer_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N activitypointer_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activitypointer_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> activitypointer_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("activitypointer_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("activitypointer_connections2", "activitypointer_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ActivityPointer_QueueItem
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ActivityPointer_QueueItem")]
		public System.Collections.Generic.IEnumerable<Xrm.QueueItem> ActivityPointer_QueueItem
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QueueItem>("ActivityPointer_QueueItem", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QueueItem>("ActivityPointer_QueueItem", "ActivityPointer_QueueItem", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CreatedActivity_BulkOperationLogs
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CreatedActivity_BulkOperationLogs")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkOperationLog> CreatedActivity_BulkOperationLogs
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkOperationLog>("CreatedActivity_BulkOperationLogs", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkOperationLog>("CreatedActivity_BulkOperationLogs", "CreatedActivity_BulkOperationLogs", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Account_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_ActivityPointers")]
		public Xrm.Account Account_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("Account_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("Account_ActivityPointers", "Account_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// N:1 BulkOperation_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkOperation_ActivityPointers")]
		public Xrm.BulkOperation BulkOperation_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BulkOperation>("BulkOperation_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BulkOperation>("BulkOperation_ActivityPointers", "BulkOperation_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_activitypointer
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_activitypointer")]
		public Xrm.BusinessUnit business_unit_activitypointer
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_activitypointer", null);
			}
		}
		
		/// <summary>
		/// N:1 Campaign_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_ActivityPointers")]
		public Xrm.Campaign Campaign_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Campaign>("Campaign_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Campaign>("Campaign_ActivityPointers", "Campaign_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// N:1 CampaignActivity_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignActivity_ActivityPointers")]
		public Xrm.CampaignActivity CampaignActivity_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignActivity>("CampaignActivity_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CampaignActivity>("CampaignActivity_ActivityPointers", "CampaignActivity_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Contact_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_ActivityPointers")]
		public Xrm.Contact Contact_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("Contact_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("Contact_ActivityPointers", "Contact_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Contract_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_ActivityPointers")]
		public Xrm.Contract Contract_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contract>("Contract_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contract>("Contract_ActivityPointers", "Contract_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Incident_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_ActivityPointers")]
		public Xrm.Incident Incident_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Incident>("Incident_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Incident>("Incident_ActivityPointers", "Incident_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Invoice_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Invoice_ActivityPointers")]
		public Xrm.Invoice Invoice_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Invoice>("Invoice_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Invoice>("Invoice_ActivityPointers", "Invoice_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Lead_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_ActivityPointers")]
		public Xrm.Lead Lead_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Lead>("Lead_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Lead>("Lead_ActivityPointers", "Lead_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_activitypointer_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_activitypointer_createdby")]
		public Xrm.SystemUser lk_activitypointer_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_activitypointer_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_activitypointer_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_activitypointer_createdonbehalfby")]
		public Xrm.SystemUser lk_activitypointer_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_activitypointer_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_activitypointer_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_activitypointer_modifiedby")]
		public Xrm.SystemUser lk_activitypointer_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_activitypointer_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_activitypointer_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_activitypointer_modifiedonbehalfby")]
		public Xrm.SystemUser lk_activitypointer_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_activitypointer_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postalbum_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_ActivityPointers")]
		public Xrm.msdyn_PostAlbum msdyn_postalbum_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_ActivityPointers", "msdyn_postalbum_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownicy_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_ActivityPointers")]
		public Xrm.new_uzytkownicy new_uzytkownicy_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_ActivityPointers", "new_uzytkownicy_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownikkontakty_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_ActivityPointers")]
		public Xrm.new_uzytkownikkontakty new_uzytkownikkontakty_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_ActivityPointers", "new_uzytkownikkontakty_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_zainteresowanie_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_ActivityPointers")]
		public Xrm.new_zainteresowanie new_zainteresowanie_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_ActivityPointers", "new_zainteresowanie_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Opportunity_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_ActivityPointers")]
		public Xrm.Opportunity Opportunity_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Opportunity>("Opportunity_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Opportunity>("Opportunity_ActivityPointers", "Opportunity_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Quote_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_ActivityPointers")]
		public Xrm.Quote Quote_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Quote>("Quote_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Quote>("Quote_ActivityPointers", "Quote_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SalesOrder_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrder_ActivityPointers")]
		public Xrm.SalesOrder SalesOrder_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesOrder>("SalesOrder_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesOrder>("SalesOrder_ActivityPointers", "SalesOrder_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// N:1 service_activity_pointers
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_activity_pointers")]
		public Xrm.Service service_activity_pointers
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Service>("service_activity_pointers", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Service>("service_activity_pointers", "service_activity_pointers", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_activity
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_activity")]
		public Xrm.Team team_activity
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_activity", null);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_ActivityPointer
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_ActivityPointer")]
		public Xrm.TransactionCurrency TransactionCurrency_ActivityPointer
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_ActivityPointer", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_ActivityPointer", "TransactionCurrency_ActivityPointer", null, value);
			}
		}
		
		/// <summary>
		/// N:1 user_activity
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_activity")]
		public Xrm.SystemUser user_activity
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_activity", null);
			}
		}
	}
	
	/// <summary>
	/// Notatka dołączona do co najmniej jednego obiektu, w tym innej notatki.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("annotation")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("AnnotationSet")]
	public partial class Annotation : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Annotation() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "annotation";
		
		public const int EntityTypeCode = 5;
		
		/// <summary>
		/// Unikatowy identyfikator notatki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("annotationid")]
		public System.Nullable<System.Guid> AnnotationId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("annotationid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("AnnotationId", "annotationid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("annotationid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.AnnotationId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył notatkę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i czas utworzenia notatki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył adnotację.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Zawartość załącznika do notatki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("documentbody")]
		public string DocumentBody
		{
			get
			{
				return this.GetAttributeValue<string>("documentbody");
			}
			set
			{
				this.SetAttributeValue<string>("DocumentBody", "documentbody", value);
			}
		}
		
		/// <summary>
		/// Nazwa pliku notatki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("filename")]
		public string FileName
		{
			get
			{
				return this.GetAttributeValue<string>("filename");
			}
			set
			{
				this.SetAttributeValue<string>("FileName", "filename", value);
			}
		}
		
		/// <summary>
		/// Rozmiar pliku notatki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("filesize")]
		public System.Nullable<int> FileSize
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("filesize");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Określa, czy notatka jest załącznikiem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isdocument")]
		public System.Nullable<bool> IsDocument
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isdocument");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsDocument", "isdocument", value);
			}
		}
		
		/// <summary>
		/// Identyfikator języka notatki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("langid")]
		public string LangId
		{
			get
			{
				return this.GetAttributeValue<string>("langid");
			}
			set
			{
				this.SetAttributeValue<string>("LangId", "langid", value);
			}
		}
		
		/// <summary>
		/// Typ MIME załącznika do notatki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("mimetype")]
		public string MimeType
		{
			get
			{
				return this.GetAttributeValue<string>("mimetype");
			}
			set
			{
				this.SetAttributeValue<string>("MimeType", "mimetype", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował notatkę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i czas ostatniej modyfikacji notatki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował adnotację.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Tekst notatki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("notetext")]
		public string NoteText
		{
			get
			{
				return this.GetAttributeValue<string>("notetext");
			}
			set
			{
				this.SetAttributeValue<string>("NoteText", "notetext", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obiektu, z którym jest skojarzona notatka.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		public Microsoft.Xrm.Client.CrmEntityReference ObjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("objectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ObjectId", "objectid", value);
			}
		}
		
		/// <summary>
		/// Typ encji, z którą jest skojarzona notatka.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objecttypecode")]
		public string ObjectTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("objecttypecode");
			}
			set
			{
				this.SetAttributeValue<string>("ObjectTypeCode", "objecttypecode", value);
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem notatki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej będącej właścicielem notatki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu będącego właścicielem notatki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika będącego właścicielem notatki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Identyfikator kroku przepływu pracy skojarzonego z notatką.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("stepid")]
		public string StepId
		{
			get
			{
				return this.GetAttributeValue<string>("stepid");
			}
			set
			{
				this.SetAttributeValue<string>("StepId", "stepid", value);
			}
		}
		
		/// <summary>
		/// Temat skojarzony z notatką.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subject")]
		public string Subject
		{
			get
			{
				return this.GetAttributeValue<string>("subject");
			}
			set
			{
				this.SetAttributeValue<string>("Subject", "subject", value);
			}
		}
		
		/// <summary>
		/// Numer wersji notatki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N Annotation_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Annotation_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Annotation_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Annotation_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Annotation_AsyncOperations", "Annotation_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Annotation_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Annotation_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Annotation_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Annotation_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Annotation_BulkDeleteFailures", "Annotation_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Annotation_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Annotation_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Annotation_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Annotation_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Annotation_ProcessSessions", "Annotation_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_annotation", "userentityinstancedata_annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Account_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_Annotation")]
		public Xrm.Account Account_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("Account_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("Account_Annotation", "Account_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 annotation_owning_user
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("annotation_owning_user")]
		public Xrm.SystemUser annotation_owning_user
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("annotation_owning_user", null);
			}
		}
		
		/// <summary>
		/// N:1 Appointment_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Appointment_Annotation")]
		public Xrm.Appointment Appointment_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Appointment>("Appointment_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Appointment>("Appointment_Annotation", "Appointment_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_annotations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_annotations")]
		public Xrm.BusinessUnit business_unit_annotations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_annotations", null);
			}
		}
		
		/// <summary>
		/// N:1 Calendar_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Calendar_Annotation")]
		public Xrm.Calendar Calendar_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Calendar>("Calendar_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Calendar>("Calendar_Annotation", "Calendar_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Campaign_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_Annotation")]
		public Xrm.Campaign Campaign_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Campaign>("Campaign_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Campaign>("Campaign_Annotation", "Campaign_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 CampaignActivity_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignActivity_Annotation")]
		public Xrm.CampaignActivity CampaignActivity_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignActivity>("CampaignActivity_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CampaignActivity>("CampaignActivity_Annotation", "CampaignActivity_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 CampaignResponse_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignResponse_Annotation")]
		public Xrm.CampaignResponse CampaignResponse_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignResponse>("CampaignResponse_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CampaignResponse>("CampaignResponse_Annotation", "CampaignResponse_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Competitor_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Competitor_Annotation")]
		public Xrm.Competitor Competitor_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Competitor>("Competitor_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Competitor>("Competitor_Annotation", "Competitor_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Contact_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_Annotation")]
		public Xrm.Contact Contact_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("Contact_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("Contact_Annotation", "Contact_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Contract_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_Annotation")]
		public Xrm.Contract Contract_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contract>("Contract_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contract>("Contract_Annotation", "Contract_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ContractDetail_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ContractDetail_Annotation")]
		public Xrm.ContractDetail ContractDetail_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ContractDetail>("ContractDetail_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ContractDetail>("ContractDetail_Annotation", "ContractDetail_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 DuplicateRule_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("DuplicateRule_Annotation")]
		public Xrm.DuplicateRule DuplicateRule_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.DuplicateRule>("DuplicateRule_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.DuplicateRule>("DuplicateRule_Annotation", "DuplicateRule_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Email_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Email_Annotation")]
		public Xrm.Email Email_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Email>("Email_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Email>("Email_Annotation", "Email_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Equipment_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Equipment_Annotation")]
		public Xrm.Equipment Equipment_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Equipment>("Equipment_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Equipment>("Equipment_Annotation", "Equipment_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Fax_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Fax_Annotation")]
		public Xrm.Fax Fax_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Fax>("Fax_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Fax>("Fax_Annotation", "Fax_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Goal_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Goal_Annotation")]
		public Xrm.Goal Goal_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Goal>("Goal_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Goal>("Goal_Annotation", "Goal_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Incident_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_Annotation")]
		public Xrm.Incident Incident_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Incident>("Incident_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Incident>("Incident_Annotation", "Incident_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 IncidentResolution_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("IncidentResolution_Annotation")]
		public Xrm.IncidentResolution IncidentResolution_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.IncidentResolution>("IncidentResolution_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.IncidentResolution>("IncidentResolution_Annotation", "IncidentResolution_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Invoice_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Invoice_Annotation")]
		public Xrm.Invoice Invoice_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Invoice>("Invoice_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Invoice>("Invoice_Annotation", "Invoice_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 KbArticle_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("KbArticle_Annotation")]
		public Xrm.KbArticle KbArticle_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.KbArticle>("KbArticle_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.KbArticle>("KbArticle_Annotation", "KbArticle_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Lead_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_Annotation")]
		public Xrm.Lead Lead_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Lead>("Lead_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Lead>("Lead_Annotation", "Lead_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Letter_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Letter_Annotation")]
		public Xrm.Letter Letter_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Letter>("Letter_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Letter>("Letter_Annotation", "Letter_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 List_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("List_Annotation")]
		public Xrm.List List_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.List>("List_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.List>("List_Annotation", "List_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_annotationbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_annotationbase_createdby")]
		public Xrm.SystemUser lk_annotationbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_annotationbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_annotationbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_annotationbase_createdonbehalfby")]
		public Xrm.SystemUser lk_annotationbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_annotationbase_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_annotationbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_annotationbase_modifiedby")]
		public Xrm.SystemUser lk_annotationbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_annotationbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_annotationbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_annotationbase_modifiedonbehalfby")]
		public Xrm.SystemUser lk_annotationbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_annotationbase_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postalbum_Annotations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_Annotations")]
		public Xrm.msdyn_PostAlbum msdyn_postalbum_Annotations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_Annotations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_Annotations", "msdyn_postalbum_Annotations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownicy_Annotations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_Annotations")]
		public Xrm.new_uzytkownicy new_uzytkownicy_Annotations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_Annotations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_Annotations", "new_uzytkownicy_Annotations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownikkontakty_Annotations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_Annotations")]
		public Xrm.new_uzytkownikkontakty new_uzytkownikkontakty_Annotations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_Annotations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_Annotations", "new_uzytkownikkontakty_Annotations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_zainteresowanie_Annotations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_Annotations")]
		public Xrm.new_zainteresowanie new_zainteresowanie_Annotations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_Annotations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_Annotations", "new_zainteresowanie_Annotations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Opportunity_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_Annotation")]
		public Xrm.Opportunity Opportunity_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Opportunity>("Opportunity_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Opportunity>("Opportunity_Annotation", "Opportunity_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 OpportunityClose_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("OpportunityClose_Annotation")]
		public Xrm.OpportunityClose OpportunityClose_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.OpportunityClose>("OpportunityClose_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.OpportunityClose>("OpportunityClose_Annotation", "OpportunityClose_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 OrderClose_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("OrderClose_Annotation")]
		public Xrm.OrderClose OrderClose_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.OrderClose>("OrderClose_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.OrderClose>("OrderClose_Annotation", "OrderClose_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 PhoneCall_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("PhoneCall_Annotation")]
		public Xrm.PhoneCall PhoneCall_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PhoneCall>("PhoneCall_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PhoneCall>("PhoneCall_Annotation", "PhoneCall_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Product_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Product_Annotation")]
		public Xrm.Product Product_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Product>("Product_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Product>("Product_Annotation", "Product_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Quote_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_Annotation")]
		public Xrm.Quote Quote_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Quote>("Quote_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Quote>("Quote_Annotation", "Quote_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 QuoteClose_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("QuoteClose_Annotation")]
		public Xrm.QuoteClose QuoteClose_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.QuoteClose>("QuoteClose_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.QuoteClose>("QuoteClose_Annotation", "QuoteClose_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 RecurringAppointmentMaster_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("RecurringAppointmentMaster_Annotation")]
		public Xrm.RecurringAppointmentMaster RecurringAppointmentMaster_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RecurringAppointmentMaster>("RecurringAppointmentMaster_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.RecurringAppointmentMaster>("RecurringAppointmentMaster_Annotation", "RecurringAppointmentMaster_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ResourceSpec_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ResourceSpec_Annotation")]
		public Xrm.ResourceSpec ResourceSpec_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ResourceSpec>("ResourceSpec_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ResourceSpec>("ResourceSpec_Annotation", "ResourceSpec_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SalesOrder_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrder_Annotation")]
		public Xrm.SalesOrder SalesOrder_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesOrder>("SalesOrder_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesOrder>("SalesOrder_Annotation", "SalesOrder_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Service_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Service_Annotation")]
		public Xrm.Service Service_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Service>("Service_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Service>("Service_Annotation", "Service_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ServiceAppointment_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ServiceAppointment_Annotation")]
		public Xrm.ServiceAppointment ServiceAppointment_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ServiceAppointment>("ServiceAppointment_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ServiceAppointment>("ServiceAppointment_Annotation", "ServiceAppointment_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Task_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Task_Annotation")]
		public Xrm.Task Task_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Task>("Task_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Task>("Task_Annotation", "Task_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_annotations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_annotations")]
		public Xrm.Team team_annotations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_annotations", null);
			}
		}
		
		/// <summary>
		/// N:1 Workflow_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Workflow_Annotation")]
		public Xrm.Workflow Workflow_Annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Workflow>("Workflow_Annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Workflow>("Workflow_Annotation", "Workflow_Annotation", null, value);
			}
		}
	}
	
	/// <summary>
	/// Całoroczny kalendarz obrachunkowy organizacji. Przedział czasowy, w którym są obliczane działania finansowe organizacji.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("annualfiscalcalendar")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("AnnualFiscalCalendarSet")]
	public partial class AnnualFiscalCalendar : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public AnnualFiscalCalendar() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "annualfiscalcalendar";
		
		public const int EntityTypeCode = 2000;
		
		/// <summary>
		/// Norma sprzedaży dla pierwszego okresu roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("annual")]
		public System.Nullable<decimal> Annual
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("annual");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Annual", "annual", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej normy sprzedaży dla pierwszego okresu roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("annual_base")]
		public System.Nullable<decimal> Annual_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("annual_base");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		public Microsoft.Xrm.Client.CrmEntityReference BusinessUnitId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("businessunitid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył normę dla rocznego kalendarza obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i czas utworzenia normy dla rocznego kalendarza obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył roczny kalendarz obrachunkowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Data i czas wejścia w życie normy sprzedaży kalendarza obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("effectiveon")]
		public System.Nullable<System.DateTime> EffectiveOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("effectiveon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("EffectiveOn", "effectiveon", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z rocznym kalendarzem obrachunkowym w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Typ okresu obrachunkowego używanego w normie sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fiscalperiodtype")]
		public System.Nullable<int> FiscalPeriodType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("fiscalperiodtype");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował normę dla rocznego kalendarza obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i czas ostatniej modyfikacji rocznego kalendarza obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował roczny kalendarz obrachunkowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator sprzedawcy skojarzonego z normą sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salespersonid")]
		public Microsoft.Xrm.Client.CrmEntityReference SalesPersonId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("salespersonid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("SalesPersonId", "salespersonid", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z rocznym kalendarzem obrachunkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika skojarzonego z rocznym kalendarzem obrachunkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userfiscalcalendarid")]
		public System.Nullable<System.Guid> UserFiscalCalendarId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("userfiscalcalendarid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("UserFiscalCalendarId", "userfiscalcalendarid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userfiscalcalendarid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.UserFiscalCalendarId = value;
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// 1:N AnnualFiscalCalendar_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("AnnualFiscalCalendar_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> AnnualFiscalCalendar_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("AnnualFiscalCalendar_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("AnnualFiscalCalendar_AsyncOperations", "AnnualFiscalCalendar_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N AnnualFiscalCalendar_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("AnnualFiscalCalendar_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> AnnualFiscalCalendar_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("AnnualFiscalCalendar_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("AnnualFiscalCalendar_BulkDeleteFailures", "AnnualFiscalCalendar_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_annualfiscalcalendar_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_annualfiscalcalendar_createdby")]
		public Xrm.SystemUser lk_annualfiscalcalendar_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_annualfiscalcalendar_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_annualfiscalcalendar_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_annualfiscalcalendar_createdonbehalfby")]
		public Xrm.SystemUser lk_annualfiscalcalendar_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_annualfiscalcalendar_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_annualfiscalcalendar_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_annualfiscalcalendar_modifiedby")]
		public Xrm.SystemUser lk_annualfiscalcalendar_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_annualfiscalcalendar_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_annualfiscalcalendar_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_annualfiscalcalendar_modifiedonbehalfby")]
		public Xrm.SystemUser lk_annualfiscalcalendar_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_annualfiscalcalendar_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_annualfiscalcalendar_salespersonid
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salespersonid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_annualfiscalcalendar_salespersonid")]
		public Xrm.SystemUser lk_annualfiscalcalendar_salespersonid
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_annualfiscalcalendar_salespersonid", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("lk_annualfiscalcalendar_salespersonid", "lk_annualfiscalcalendar_salespersonid", null, value);
			}
		}
		
		/// <summary>
		/// N:1 transactioncurrency_annualfiscalcalendar
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_annualfiscalcalendar")]
		public Xrm.TransactionCurrency transactioncurrency_annualfiscalcalendar
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_annualfiscalcalendar", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_annualfiscalcalendar", "transactioncurrency_annualfiscalcalendar", null, value);
			}
		}
	}
	
	/// <summary>
	/// Zobowiązanie reprezentujące przedział czasu z godziną rozpoczęcia, godziną zakończenia i czasem trwania.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("appointment")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("AppointmentSet")]
	public partial class Appointment : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Appointment() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "appointment";
		
		public const int EntityTypeCode = 4201;
		
		/// <summary>
		/// Unikatowy identyfikator terminu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public System.Nullable<System.Guid> ActivityId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("activityid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ActivityId", "activityid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ActivityId = value;
			}
		}
		
		/// <summary>
		/// Typ działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activitytypecode")]
		public string ActivityTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("activitytypecode");
			}
		}
		
		/// <summary>
		/// Rzeczywisty czas trwania terminu w minutach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualdurationminutes")]
		public System.Nullable<int> ActualDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("actualdurationminutes");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ActualDurationMinutes", "actualdurationminutes", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista godzina zakończenia terminu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualend")]
		public System.Nullable<System.DateTime> ActualEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualEnd", "actualend", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista godzina rozpoczęcia terminu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualstart")]
		public System.Nullable<System.DateTime> ActualStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualStart", "actualstart", value);
			}
		}
		
		/// <summary>
		/// Kategoria terminu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("category")]
		public string Category
		{
			get
			{
				return this.GetAttributeValue<string>("category");
			}
			set
			{
				this.SetAttributeValue<string>("Category", "category", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył termin.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia terminu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył termin.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis terminu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty związanej z terminem w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator programu Outlook służący do korelowania terminów w skrzynkach pocztowych programu Exchange.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("globalobjectid")]
		public string GlobalObjectId
		{
			get
			{
				return this.GetAttributeValue<string>("globalobjectid");
			}
			set
			{
				this.SetAttributeValue<string>("GlobalObjectId", "globalobjectid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Typ wystąpienia serii cyklicznej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("instancetypecode")]
		public System.Nullable<int> InstanceTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("instancetypecode");
			}
		}
		
		/// <summary>
		/// Informacja, czy termin jest wydarzeniem całodziennym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isalldayevent")]
		public System.Nullable<bool> IsAllDayEvent
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isalldayevent");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsAllDayEvent", "isalldayevent", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy termin został zafakturowany jako element obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isbilled")]
		public System.Nullable<bool> IsBilled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isbilled");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsBilled", "isbilled", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy działanie ma charakter regularny, czy też jest zdarzeniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isregularactivity")]
		public System.Nullable<bool> IsRegularActivity
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isregularactivity");
			}
		}
		
		/// <summary>
		/// Informacja, czy termin został utworzony przy użyciu reguły przepływu pracy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isworkflowcreated")]
		public System.Nullable<bool> IsWorkflowCreated
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isworkflowcreated");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsWorkflowCreated", "isworkflowcreated", value);
			}
		}
		
		/// <summary>
		/// Lokalizacja docelowa terminu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("location")]
		public string Location
		{
			get
			{
				return this.GetAttributeValue<string>("location");
			}
			set
			{
				this.SetAttributeValue<string>("Location", "location", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni modyfikował termin.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego. 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedfieldsmask")]
		public string ModifiedFieldsMask
		{
			get
			{
				return this.GetAttributeValue<string>("modifiedfieldsmask");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji terminu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika-delegata, który jako ostatni modyfikował ten termin.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Lista opcjonalnych uczestników terminu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("optionalattendees")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> OptionalAttendees
		{
			get
			{
				return this.GetAttributeCollectionValue<Xrm.ActivityParty>("optionalattendees");
			}
			set
			{
				this.SetAttributeCollectionValue<Xrm.ActivityParty>("OptionalAttendees", "optionalattendees", value);
			}
		}
		
		/// <summary>
		/// Osoba, która zorganizowała termin.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizer")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> Organizer
		{
			get
			{
				return this.GetAttributeCollectionValue<Xrm.ActivityParty>("organizer");
			}
			set
			{
				this.SetAttributeCollectionValue<Xrm.ActivityParty>("Organizer", "organizer", value);
			}
		}
		
		/// <summary>
		/// Pierwotna data rozpoczęcia tego terminu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("originalstartdate")]
		public System.Nullable<System.DateTime> OriginalStartDate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("originalstartdate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator właściciela terminu w programie Microsoft Office Outlook, skorelowany z właściwością PR_OWNER_APPT_ID MAPI.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("outlookownerapptid")]
		public System.Nullable<int> OutlookOwnerApptId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("outlookownerapptid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("OutlookOwnerApptId", "outlookownerapptid", value);
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem terminu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem terminu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu będącego właścicielem terminu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika będącego właścicielem terminu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Priorytet terminu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("prioritycode")]
		public System.Nullable<int> PriorityCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("prioritycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PriorityCode", "prioritycode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obiektu, z którym jest skojarzony termin.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		public Microsoft.Xrm.Client.CrmEntityReference RegardingObjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("regardingobjectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RegardingObjectId", "regardingobjectid", value);
			}
		}
		
		/// <summary>
		/// Lista wymaganych uczestników terminu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("requiredattendees")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> RequiredAttendees
		{
			get
			{
				return this.GetAttributeCollectionValue<Xrm.ActivityParty>("requiredattendees");
			}
			set
			{
				this.SetAttributeCollectionValue<Xrm.ActivityParty>("RequiredAttendees", "requiredattendees", value);
			}
		}
		
		/// <summary>
		/// Zaplanowany czas trwania terminu określony w minutach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduleddurationminutes")]
		public System.Nullable<int> ScheduledDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("scheduleddurationminutes");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ScheduledDurationMinutes", "scheduleddurationminutes", value);
			}
		}
		
		/// <summary>
		/// Zaplanowana godzina zakończenia terminu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledend")]
		public System.Nullable<System.DateTime> ScheduledEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ScheduledEnd", "scheduledend", value);
			}
		}
		
		/// <summary>
		/// Zaplanowana godzina rozpoczęcia terminu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledstart")]
		public System.Nullable<System.DateTime> ScheduledStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ScheduledStart", "scheduledstart", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator określający identyfikator serii cyklicznej wystąpienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("seriesid")]
		public System.Nullable<System.Guid> SeriesId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("seriesid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonej usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		public Microsoft.Xrm.Client.CrmEntityReference ServiceId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("serviceid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ServiceId", "serviceid", value);
			}
		}
		
		/// <summary>
		/// Stan terminu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu terminu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Kategoria podrzędna terminu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subcategory")]
		public string Subcategory
		{
			get
			{
				return this.GetAttributeValue<string>("subcategory");
			}
			set
			{
				this.SetAttributeValue<string>("Subcategory", "subcategory", value);
			}
		}
		
		/// <summary>
		/// Temat skojarzony z terminem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subject")]
		public string Subject
		{
			get
			{
				return this.GetAttributeValue<string>("subject");
			}
			set
			{
				this.SetAttributeValue<string>("Subject", "subject", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subscriptionid")]
		public System.Nullable<System.Guid> SubscriptionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("subscriptionid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("SubscriptionId", "subscriptionid", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z terminem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji tego terminu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N appointment_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("appointment_activity_parties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> appointment_activity_parties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("appointment_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("appointment_activity_parties", "appointment_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Appointment_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Appointment_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> Appointment_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("Appointment_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("Appointment_Annotation", "Appointment_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Appointment_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Appointment_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Appointment_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Appointment_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Appointment_AsyncOperations", "Appointment_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Appointment_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Appointment_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Appointment_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Appointment_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Appointment_BulkDeleteFailures", "Appointment_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N appointment_campaignresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("appointment_campaignresponse")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignResponse> appointment_campaignresponse
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignResponse>("appointment_campaignresponse", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignResponse>("appointment_campaignresponse", "appointment_campaignresponse", null, value);
			}
		}
		
		/// <summary>
		/// 1:N appointment_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("appointment_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> appointment_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("appointment_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("appointment_connections1", "appointment_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N appointment_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("appointment_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> appointment_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("appointment_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("appointment_connections2", "appointment_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Appointment_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Appointment_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Appointment_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Appointment_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Appointment_DuplicateBaseRecord", "Appointment_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Appointment_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Appointment_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Appointment_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Appointment_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Appointment_DuplicateMatchingRecord", "Appointment_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N appointment_PostFollows
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("appointment_PostFollows")]
		public System.Collections.Generic.IEnumerable<Xrm.PostFollow> appointment_PostFollows
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PostFollow>("appointment_PostFollows", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PostFollow>("appointment_PostFollows", "appointment_PostFollows", null, value);
			}
		}
		
		/// <summary>
		/// 1:N appointment_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("appointment_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> appointment_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("appointment_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("appointment_principalobjectattributeaccess", "appointment_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Appointment_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Appointment_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Appointment_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Appointment_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Appointment_ProcessSessions", "Appointment_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Appointment_QueueItem
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Appointment_QueueItem")]
		public System.Collections.Generic.IEnumerable<Xrm.QueueItem> Appointment_QueueItem
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QueueItem>("Appointment_QueueItem", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QueueItem>("Appointment_QueueItem", "Appointment_QueueItem", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_appointment
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_appointment")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_appointment
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_appointment", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_appointment", "userentityinstancedata_appointment", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Account_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_Appointments")]
		public Xrm.Account Account_Appointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("Account_Appointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("Account_Appointments", "Account_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 activity_pointer_appointment
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_appointment")]
		public Xrm.ActivityPointer activity_pointer_appointment
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_appointment", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_appointment", "activity_pointer_appointment", null, value);
			}
		}
		
		/// <summary>
		/// N:1 BulkOperation_Appointment
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkOperation_Appointment")]
		public Xrm.BulkOperation BulkOperation_Appointment
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BulkOperation>("BulkOperation_Appointment", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BulkOperation>("BulkOperation_Appointment", "BulkOperation_Appointment", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_appointment_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_appointment_activities")]
		public Xrm.BusinessUnit business_unit_appointment_activities
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_appointment_activities", null);
			}
		}
		
		/// <summary>
		/// N:1 Campaign_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_Appointments")]
		public Xrm.Campaign Campaign_Appointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Campaign>("Campaign_Appointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Campaign>("Campaign_Appointments", "Campaign_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 CampaignActivity_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignActivity_Appointments")]
		public Xrm.CampaignActivity CampaignActivity_Appointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignActivity>("CampaignActivity_Appointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CampaignActivity>("CampaignActivity_Appointments", "CampaignActivity_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Contact_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_Appointments")]
		public Xrm.Contact Contact_Appointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("Contact_Appointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("Contact_Appointments", "Contact_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Contract_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_Appointments")]
		public Xrm.Contract Contract_Appointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contract>("Contract_Appointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contract>("Contract_Appointments", "Contract_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Incident_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_Appointments")]
		public Xrm.Incident Incident_Appointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Incident>("Incident_Appointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Incident>("Incident_Appointments", "Incident_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Invoice_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Invoice_Appointments")]
		public Xrm.Invoice Invoice_Appointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Invoice>("Invoice_Appointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Invoice>("Invoice_Appointments", "Invoice_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Lead_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_Appointments")]
		public Xrm.Lead Lead_Appointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Lead>("Lead_Appointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Lead>("Lead_Appointments", "Lead_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_appointment_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_appointment_createdby")]
		public Xrm.SystemUser lk_appointment_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_appointment_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_appointment_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_appointment_createdonbehalfby")]
		public Xrm.SystemUser lk_appointment_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_appointment_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_appointment_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_appointment_modifiedby")]
		public Xrm.SystemUser lk_appointment_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_appointment_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_appointment_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_appointment_modifiedonbehalfby")]
		public Xrm.SystemUser lk_appointment_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_appointment_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postalbum_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_Appointments")]
		public Xrm.msdyn_PostAlbum msdyn_postalbum_Appointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_Appointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_Appointments", "msdyn_postalbum_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownicy_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_Appointments")]
		public Xrm.new_uzytkownicy new_uzytkownicy_Appointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_Appointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_Appointments", "new_uzytkownicy_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownikkontakty_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_Appointments")]
		public Xrm.new_uzytkownikkontakty new_uzytkownikkontakty_Appointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_Appointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_Appointments", "new_uzytkownikkontakty_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_zainteresowanie_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_Appointments")]
		public Xrm.new_zainteresowanie new_zainteresowanie_Appointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_Appointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_Appointments", "new_zainteresowanie_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Opportunity_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_Appointments")]
		public Xrm.Opportunity Opportunity_Appointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Opportunity>("Opportunity_Appointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Opportunity>("Opportunity_Appointments", "Opportunity_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Quote_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_Appointments")]
		public Xrm.Quote Quote_Appointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Quote>("Quote_Appointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Quote>("Quote_Appointments", "Quote_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 recurringappointmentmaster_appointment
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("seriesid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("recurringappointmentmaster_appointment")]
		public Xrm.RecurringAppointmentMaster recurringappointmentmaster_appointment
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RecurringAppointmentMaster>("recurringappointmentmaster_appointment", null);
			}
		}
		
		/// <summary>
		/// N:1 SalesOrder_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrder_Appointments")]
		public Xrm.SalesOrder SalesOrder_Appointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesOrder>("SalesOrder_Appointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesOrder>("SalesOrder_Appointments", "SalesOrder_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 service_appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_appointments")]
		public Xrm.Service service_appointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Service>("service_appointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Service>("service_appointments", "service_appointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_appointment
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_appointment")]
		public Xrm.Team team_appointment
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_appointment", null);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_Appointment
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_Appointment")]
		public Xrm.TransactionCurrency TransactionCurrency_Appointment
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_Appointment", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_Appointment", "TransactionCurrency_Appointment", null, value);
			}
		}
		
		/// <summary>
		/// N:1 user_appointment
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_appointment")]
		public Xrm.SystemUser user_appointment
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_appointment", null);
			}
		}
	}
	
	/// <summary>
	/// Proces, który może być wykonywany niezależnie lub w tle.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("asyncoperation")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("AsyncOperationSet")]
	public partial class AsyncOperation : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public AsyncOperation() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "asyncoperation";
		
		public const int EntityTypeCode = 4700;
		
		/// <summary>
		/// Unikatowy identyfikator zadania systemowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("asyncoperationid")]
		public System.Nullable<System.Guid> AsyncOperationId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("asyncoperationid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("AsyncOperationId", "asyncoperationid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("asyncoperationid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.AsyncOperationId = value;
			}
		}
		
		/// <summary>
		/// Data i godzina zakończenia zadania systemowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("completedon")]
		public System.Nullable<System.DateTime> CompletedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("completedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator korelacji między wieloma żądaniami zestawu SDK a zadaniami systemowymi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("correlationid")]
		public System.Nullable<System.Guid> CorrelationId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("correlationid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("CorrelationId", "correlationid", value);
			}
		}
		
		/// <summary>
		/// Czas ostatniej aktualizacji głębi korelacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("correlationupdatedtime")]
		public System.Nullable<System.DateTime> CorrelationUpdatedTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("correlationupdatedtime");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("CorrelationUpdatedTime", "correlationupdatedtime", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył zadanie systemowe.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia zadania systemowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika-delegata, który utworzył tę operację asynchroniczną.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Dane bez struktury skojarzone z zadaniem systemowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("data")]
		public string Data
		{
			get
			{
				return this.GetAttributeValue<string>("data");
			}
			set
			{
				this.SetAttributeValue<string>("Data", "data", value);
			}
		}
		
		/// <summary>
		/// Wykonanie wszystkich operacji z tym samym tokenem zależności jest serializowane.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("dependencytoken")]
		public string DependencyToken
		{
			get
			{
				return this.GetAttributeValue<string>("dependencytoken");
			}
			set
			{
				this.SetAttributeValue<string>("DependencyToken", "dependencytoken", value);
			}
		}
		
		/// <summary>
		/// Liczba wywołań zestawu SDK od pierwszego wywołania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("depth")]
		public System.Nullable<int> Depth
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("depth");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Depth", "depth", value);
			}
		}
		
		/// <summary>
		/// Kod błędu zwrócony z anulowanego zadania systemowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("errorcode")]
		public System.Nullable<int> ErrorCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("errorcode");
			}
		}
		
		/// <summary>
		/// Czas wykonania zadania systemowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("executiontimespan")]
		public System.Nullable<double> ExecutionTimeSpan
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("executiontimespan");
			}
		}
		
		/// <summary>
		/// Komunikat zadania systemowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("friendlymessage")]
		public string FriendlyMessage
		{
			get
			{
				return this.GetAttributeValue<string>("friendlymessage");
			}
			set
			{
				this.SetAttributeValue<string>("FriendlyMessage", "friendlymessage", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator hosta, do którego należy to zadanie systemowe.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("hostid")]
		public string HostId
		{
			get
			{
				return this.GetAttributeValue<string>("hostid");
			}
			set
			{
				this.SetAttributeValue<string>("HostId", "hostid", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, że zadanie systemowe oczekuje na zdarzenie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iswaitingforevent")]
		public System.Nullable<bool> IsWaitingForEvent
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("iswaitingforevent");
			}
		}
		
		/// <summary>
		/// Komunikat powiązany z zadaniem systemowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("message")]
		public string Message
		{
			get
			{
				return this.GetAttributeValue<string>("message");
			}
		}
		
		/// <summary>
		/// Nazwa komunikatu, który spowodował uruchomienie tego zadania systemowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("messagename")]
		public string MessageName
		{
			get
			{
				return this.GetAttributeValue<string>("messagename");
			}
			set
			{
				this.SetAttributeValue<string>("MessageName", "messagename", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował zadanie systemowe.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji zadania systemowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika-delegata, który jako ostatni modyfikował operację asynchroniczną.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa zadania systemowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Typ zadania systemowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("operationtype")]
		public System.Nullable<int> OperationType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("operationtype");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("OperationType", "operationtype", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem zadania systemowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, do której należy zadanie systemowe.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator rozszerzenia będącego właścicielem, z którym jest skojarzone zadanie systemowe.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningextensionid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningExtensionId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningextensionid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwningExtensionId", "owningextensionid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu będącego właścicielem rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, do którego należy rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Wskazuje, czy to zadanie systemowe powinno zostać wykonane tylko po upływie określonej daty i godziny.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("postponeuntil")]
		public System.Nullable<System.DateTime> PostponeUntil
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("postponeuntil");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("PostponeUntil", "postponeuntil", value);
			}
		}
		
		/// <summary>
		/// Typ encji, z którą zadanie systemowe jest głównie skojarzone.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("primaryentitytype")]
		public string PrimaryEntityType
		{
			get
			{
				return this.GetAttributeValue<string>("primaryentitytype");
			}
			set
			{
				this.SetAttributeValue<string>("PrimaryEntityType", "primaryentitytype", value);
			}
		}
		
		/// <summary>
		/// Wzorzec cyklu zadania systemowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("recurrencepattern")]
		public string RecurrencePattern
		{
			get
			{
				return this.GetAttributeValue<string>("recurrencepattern");
			}
			set
			{
				this.SetAttributeValue<string>("RecurrencePattern", "recurrencepattern", value);
			}
		}
		
		/// <summary>
		/// Czas rozpoczęcia w strefie UTC dla wzorca cyklu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("recurrencestarttime")]
		public System.Nullable<System.DateTime> RecurrenceStartTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("recurrencestarttime");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("RecurrenceStartTime", "recurrencestarttime", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obiektu, z którym zadanie systemowe jest skojarzone.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		public Microsoft.Xrm.Client.CrmEntityReference RegardingObjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("regardingobjectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RegardingObjectId", "regardingobjectid", value);
			}
		}
		
		/// <summary>
		/// Identyfikator żądania, które spowodowało wygenerowanie zadania systemowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("requestid")]
		public System.Nullable<System.Guid> RequestId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("requestid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("RequestId", "requestid", value);
			}
		}
		
		/// <summary>
		/// Liczba ponownych prób wykonania zadania systemowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("retrycount")]
		public System.Nullable<int> RetryCount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("retrycount");
			}
		}
		
		/// <summary>
		/// Kolejność przesłania operacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sequence")]
		public System.Nullable<long> Sequence
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("sequence");
			}
		}
		
		/// <summary>
		/// Data i godzina uruchomienia zadania systemowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("startedon")]
		public System.Nullable<System.DateTime> StartedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("startedon");
			}
		}
		
		/// <summary>
		/// Stan zadania systemowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("StateCode", "statecode", value);
			}
		}
		
		/// <summary>
		/// Przyczyna stanu zadania systemowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator aktywacji przepływu pracy powiązany z zadaniem systemowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("workflowactivationid")]
		public Microsoft.Xrm.Client.CrmEntityReference WorkflowActivationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("workflowactivationid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("WorkflowActivationId", "workflowactivationid", value);
			}
		}
		
		/// <summary>
		/// Nazwa etapu przepływu pracy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("workflowstagename")]
		public string WorkflowStageName
		{
			get
			{
				return this.GetAttributeValue<string>("workflowstagename");
			}
		}
		
		/// <summary>
		/// 1:N AsyncOperation_BulkDeleteOperation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("AsyncOperation_BulkDeleteOperation")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteOperation> AsyncOperation_BulkDeleteOperation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteOperation>("AsyncOperation_BulkDeleteOperation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteOperation>("AsyncOperation_BulkDeleteOperation", "AsyncOperation_BulkDeleteOperation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N AsyncOperation_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("AsyncOperation_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> AsyncOperation_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("AsyncOperation_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("AsyncOperation_DuplicateBaseRecord", "AsyncOperation_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N AsyncOperation_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("AsyncOperation_Emails")]
		public System.Collections.Generic.IEnumerable<Xrm.Email> AsyncOperation_Emails
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Email>("AsyncOperation_Emails", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Email>("AsyncOperation_Emails", "AsyncOperation_Emails", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_workflowlog_asyncoperation_childworkflow
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_workflowlog_asyncoperation_childworkflow")]
		public System.Collections.Generic.IEnumerable<Xrm.WorkflowLog> lk_workflowlog_asyncoperation_childworkflow
		{
			get
			{
				return this.GetRelatedEntities<Xrm.WorkflowLog>("lk_workflowlog_asyncoperation_childworkflow", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.WorkflowLog>("lk_workflowlog_asyncoperation_childworkflow", "lk_workflowlog_asyncoperation_childworkflow", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_workflowlog_asyncoperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_workflowlog_asyncoperations")]
		public System.Collections.Generic.IEnumerable<Xrm.WorkflowLog> lk_workflowlog_asyncoperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.WorkflowLog>("lk_workflowlog_asyncoperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.WorkflowLog>("lk_workflowlog_asyncoperations", "lk_workflowlog_asyncoperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_asyncoperation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_asyncoperation")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_asyncoperation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_asyncoperation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_asyncoperation", "userentityinstancedata_asyncoperation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Account_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_AsyncOperations")]
		public Xrm.Account Account_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("Account_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("Account_AsyncOperations", "Account_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ActivityMimeAttachment_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ActivityMimeAttachment_AsyncOperations")]
		public Xrm.ActivityMimeAttachment ActivityMimeAttachment_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityMimeAttachment>("ActivityMimeAttachment_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ActivityMimeAttachment>("ActivityMimeAttachment_AsyncOperations", "ActivityMimeAttachment_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ActivityPointer_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ActivityPointer_AsyncOperations")]
		public Xrm.ActivityPointer ActivityPointer_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityPointer>("ActivityPointer_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ActivityPointer>("ActivityPointer_AsyncOperations", "ActivityPointer_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Annotation_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Annotation_AsyncOperations")]
		public Xrm.Annotation Annotation_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Annotation>("Annotation_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Annotation>("Annotation_AsyncOperations", "Annotation_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 AnnualFiscalCalendar_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("AnnualFiscalCalendar_AsyncOperations")]
		public Xrm.AnnualFiscalCalendar AnnualFiscalCalendar_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.AnnualFiscalCalendar>("AnnualFiscalCalendar_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.AnnualFiscalCalendar>("AnnualFiscalCalendar_AsyncOperations", "AnnualFiscalCalendar_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Appointment_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Appointment_AsyncOperations")]
		public Xrm.Appointment Appointment_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Appointment>("Appointment_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Appointment>("Appointment_AsyncOperations", "Appointment_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 AttributeMap_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("AttributeMap_AsyncOperations")]
		public Xrm.AttributeMap AttributeMap_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.AttributeMap>("AttributeMap_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.AttributeMap>("AttributeMap_AsyncOperations", "AttributeMap_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 BulkOperation_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkOperation_AsyncOperations")]
		public Xrm.BulkOperation BulkOperation_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BulkOperation>("BulkOperation_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BulkOperation>("BulkOperation_AsyncOperations", "BulkOperation_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 BulkOperationLog_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkOperationLog_AsyncOperations")]
		public Xrm.BulkOperationLog BulkOperationLog_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BulkOperationLog>("BulkOperationLog_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BulkOperationLog>("BulkOperationLog_AsyncOperations", "BulkOperationLog_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_asyncoperation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_asyncoperation")]
		public Xrm.BusinessUnit business_unit_asyncoperation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_asyncoperation", null);
			}
		}
		
		/// <summary>
		/// N:1 BusinessUnit_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BusinessUnit_AsyncOperations")]
		public Xrm.BusinessUnit BusinessUnit_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("BusinessUnit_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BusinessUnit>("BusinessUnit_AsyncOperations", "BusinessUnit_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 BusinessUnitNewsArticle_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BusinessUnitNewsArticle_AsyncOperations")]
		public Xrm.BusinessUnitNewsArticle BusinessUnitNewsArticle_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnitNewsArticle>("BusinessUnitNewsArticle_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BusinessUnitNewsArticle>("BusinessUnitNewsArticle_AsyncOperations", "BusinessUnitNewsArticle_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Calendar_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Calendar_AsyncOperations")]
		public Xrm.Calendar Calendar_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Calendar>("Calendar_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Calendar>("Calendar_AsyncOperations", "Calendar_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Campaign_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_AsyncOperations")]
		public Xrm.Campaign Campaign_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Campaign>("Campaign_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Campaign>("Campaign_AsyncOperations", "Campaign_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 CampaignActivity_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignActivity_AsyncOperations")]
		public Xrm.CampaignActivity CampaignActivity_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignActivity>("CampaignActivity_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CampaignActivity>("CampaignActivity_AsyncOperations", "CampaignActivity_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 CampaignResponse_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignResponse_AsyncOperations")]
		public Xrm.CampaignResponse CampaignResponse_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignResponse>("CampaignResponse_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CampaignResponse>("CampaignResponse_AsyncOperations", "CampaignResponse_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Competitor_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Competitor_AsyncOperations")]
		public Xrm.Competitor Competitor_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Competitor>("Competitor_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Competitor>("Competitor_AsyncOperations", "Competitor_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Connection_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Connection_AsyncOperations")]
		public Xrm.Connection Connection_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Connection>("Connection_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Connection>("Connection_AsyncOperations", "Connection_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Connection_Role_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Connection_Role_AsyncOperations")]
		public Xrm.ConnectionRole Connection_Role_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ConnectionRole>("Connection_Role_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ConnectionRole>("Connection_Role_AsyncOperations", "Connection_Role_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ConstraintBasedGroup_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ConstraintBasedGroup_AsyncOperations")]
		public Xrm.ConstraintBasedGroup ConstraintBasedGroup_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ConstraintBasedGroup>("ConstraintBasedGroup_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ConstraintBasedGroup>("ConstraintBasedGroup_AsyncOperations", "ConstraintBasedGroup_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Contact_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_AsyncOperations")]
		public Xrm.Contact Contact_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("Contact_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("Contact_AsyncOperations", "Contact_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Contract_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_AsyncOperations")]
		public Xrm.Contract Contract_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contract>("Contract_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contract>("Contract_AsyncOperations", "Contract_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ContractDetail_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ContractDetail_AsyncOperations")]
		public Xrm.ContractDetail ContractDetail_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ContractDetail>("ContractDetail_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ContractDetail>("ContractDetail_AsyncOperations", "ContractDetail_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ContractTemplate_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ContractTemplate_AsyncOperations")]
		public Xrm.ContractTemplate ContractTemplate_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ContractTemplate>("ContractTemplate_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ContractTemplate>("ContractTemplate_AsyncOperations", "ContractTemplate_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 CustomerAddress_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CustomerAddress_AsyncOperations")]
		public Xrm.CustomerAddress CustomerAddress_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CustomerAddress>("CustomerAddress_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CustomerAddress>("CustomerAddress_AsyncOperations", "CustomerAddress_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 CustomerOpportunityRole_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CustomerOpportunityRole_AsyncOperations")]
		public Xrm.CustomerOpportunityRole CustomerOpportunityRole_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CustomerOpportunityRole>("CustomerOpportunityRole_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CustomerOpportunityRole>("CustomerOpportunityRole_AsyncOperations", "CustomerOpportunityRole_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 CustomerRelationship_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CustomerRelationship_AsyncOperations")]
		public Xrm.CustomerRelationship CustomerRelationship_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CustomerRelationship>("CustomerRelationship_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CustomerRelationship>("CustomerRelationship_AsyncOperations", "CustomerRelationship_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Discount_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Discount_AsyncOperations")]
		public Xrm.Discount Discount_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Discount>("Discount_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Discount>("Discount_AsyncOperations", "Discount_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 DiscountType_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("DiscountType_AsyncOperations")]
		public Xrm.DiscountType DiscountType_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.DiscountType>("DiscountType_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.DiscountType>("DiscountType_AsyncOperations", "DiscountType_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 DisplayString_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("DisplayString_AsyncOperations")]
		public Xrm.DisplayString DisplayString_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.DisplayString>("DisplayString_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.DisplayString>("DisplayString_AsyncOperations", "DisplayString_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Email_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Email_AsyncOperations")]
		public Xrm.Email Email_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Email>("Email_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Email>("Email_AsyncOperations", "Email_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 EntityMap_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("EntityMap_AsyncOperations")]
		public Xrm.EntityMap EntityMap_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.EntityMap>("EntityMap_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.EntityMap>("EntityMap_AsyncOperations", "EntityMap_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Equipment_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Equipment_AsyncOperations")]
		public Xrm.Equipment Equipment_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Equipment>("Equipment_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Equipment>("Equipment_AsyncOperations", "Equipment_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Fax_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Fax_AsyncOperations")]
		public Xrm.Fax Fax_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Fax>("Fax_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Fax>("Fax_AsyncOperations", "Fax_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 FixedMonthlyFiscalCalendar_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("FixedMonthlyFiscalCalendar_AsyncOperations")]
		public Xrm.FixedMonthlyFiscalCalendar FixedMonthlyFiscalCalendar_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.FixedMonthlyFiscalCalendar>("FixedMonthlyFiscalCalendar_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.FixedMonthlyFiscalCalendar>("FixedMonthlyFiscalCalendar_AsyncOperations", "FixedMonthlyFiscalCalendar_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Goal_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Goal_AsyncOperations")]
		public Xrm.Goal Goal_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Goal>("Goal_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Goal>("Goal_AsyncOperations", "Goal_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 goalrollupquery_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goalrollupquery_AsyncOperations")]
		public Xrm.GoalRollupQuery goalrollupquery_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.GoalRollupQuery>("goalrollupquery_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.GoalRollupQuery>("goalrollupquery_AsyncOperations", "goalrollupquery_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Import_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Import_AsyncOperations")]
		public Xrm.Import Import_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Import>("Import_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Import>("Import_AsyncOperations", "Import_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ImportFile_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ImportFile_AsyncOperations")]
		public Xrm.ImportFile ImportFile_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ImportFile>("ImportFile_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ImportFile>("ImportFile_AsyncOperations", "ImportFile_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ImportLog_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ImportLog_AsyncOperations")]
		public Xrm.ImportLog ImportLog_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ImportLog>("ImportLog_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ImportLog>("ImportLog_AsyncOperations", "ImportLog_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ImportMap_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ImportMap_AsyncOperations")]
		public Xrm.ImportMap ImportMap_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ImportMap>("ImportMap_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ImportMap>("ImportMap_AsyncOperations", "ImportMap_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Incident_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_AsyncOperations")]
		public Xrm.Incident Incident_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Incident>("Incident_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Incident>("Incident_AsyncOperations", "Incident_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 IncidentResolution_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("IncidentResolution_AsyncOperations")]
		public Xrm.IncidentResolution IncidentResolution_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.IncidentResolution>("IncidentResolution_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.IncidentResolution>("IncidentResolution_AsyncOperations", "IncidentResolution_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Invoice_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Invoice_AsyncOperations")]
		public Xrm.Invoice Invoice_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Invoice>("Invoice_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Invoice>("Invoice_AsyncOperations", "Invoice_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 InvoiceDetail_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("InvoiceDetail_AsyncOperations")]
		public Xrm.InvoiceDetail InvoiceDetail_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.InvoiceDetail>("InvoiceDetail_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.InvoiceDetail>("InvoiceDetail_AsyncOperations", "InvoiceDetail_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 IsvConfig_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("IsvConfig_AsyncOperations")]
		public Xrm.IsvConfig IsvConfig_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.IsvConfig>("IsvConfig_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.IsvConfig>("IsvConfig_AsyncOperations", "IsvConfig_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 KbArticle_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("KbArticle_AsyncOperations")]
		public Xrm.KbArticle KbArticle_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.KbArticle>("KbArticle_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.KbArticle>("KbArticle_AsyncOperations", "KbArticle_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 KbArticleComment_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("KbArticleComment_AsyncOperations")]
		public Xrm.KbArticleComment KbArticleComment_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.KbArticleComment>("KbArticleComment_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.KbArticleComment>("KbArticleComment_AsyncOperations", "KbArticleComment_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 KbArticleTemplate_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("KbArticleTemplate_AsyncOperations")]
		public Xrm.KbArticleTemplate KbArticleTemplate_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.KbArticleTemplate>("KbArticleTemplate_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.KbArticleTemplate>("KbArticleTemplate_AsyncOperations", "KbArticleTemplate_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Lead_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_AsyncOperations")]
		public Xrm.Lead Lead_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Lead>("Lead_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Lead>("Lead_AsyncOperations", "Lead_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Letter_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Letter_AsyncOperations")]
		public Xrm.Letter Letter_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Letter>("Letter_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Letter>("Letter_AsyncOperations", "Letter_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 List_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("List_AsyncOperations")]
		public Xrm.List List_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.List>("List_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.List>("List_AsyncOperations", "List_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_asyncoperation_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_asyncoperation_createdby")]
		public Xrm.SystemUser lk_asyncoperation_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_asyncoperation_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_asyncoperation_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_asyncoperation_createdonbehalfby")]
		public Xrm.SystemUser lk_asyncoperation_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_asyncoperation_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_asyncoperation_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_asyncoperation_modifiedby")]
		public Xrm.SystemUser lk_asyncoperation_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_asyncoperation_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_asyncoperation_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_asyncoperation_modifiedonbehalfby")]
		public Xrm.SystemUser lk_asyncoperation_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_asyncoperation_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_asyncoperation_workflowactivationid
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("workflowactivationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_asyncoperation_workflowactivationid")]
		public Xrm.Workflow lk_asyncoperation_workflowactivationid
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Workflow>("lk_asyncoperation_workflowactivationid", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Workflow>("lk_asyncoperation_workflowactivationid", "lk_asyncoperation_workflowactivationid", null, value);
			}
		}
		
		/// <summary>
		/// N:1 MailMergeTemplate_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("MailMergeTemplate_AsyncOperations")]
		public Xrm.MailMergeTemplate MailMergeTemplate_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.MailMergeTemplate>("MailMergeTemplate_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.MailMergeTemplate>("MailMergeTemplate_AsyncOperations", "MailMergeTemplate_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 metric_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("metric_AsyncOperations")]
		public Xrm.Metric metric_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Metric>("metric_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Metric>("metric_AsyncOperations", "metric_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 MonthlyFiscalCalendar_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("MonthlyFiscalCalendar_AsyncOperations")]
		public Xrm.MonthlyFiscalCalendar MonthlyFiscalCalendar_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.MonthlyFiscalCalendar>("MonthlyFiscalCalendar_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.MonthlyFiscalCalendar>("MonthlyFiscalCalendar_AsyncOperations", "MonthlyFiscalCalendar_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postalbum_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_AsyncOperations")]
		public Xrm.msdyn_PostAlbum msdyn_postalbum_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_AsyncOperations", "msdyn_postalbum_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postconfig_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postconfig_AsyncOperations")]
		public Xrm.msdyn_PostConfig msdyn_postconfig_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostConfig>("msdyn_postconfig_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.msdyn_PostConfig>("msdyn_postconfig_AsyncOperations", "msdyn_postconfig_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postruleconfig_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postruleconfig_AsyncOperations")]
		public Xrm.msdyn_PostRuleConfig msdyn_postruleconfig_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostRuleConfig>("msdyn_postruleconfig_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.msdyn_PostRuleConfig>("msdyn_postruleconfig_AsyncOperations", "msdyn_postruleconfig_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownicy_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_AsyncOperations")]
		public Xrm.new_uzytkownicy new_uzytkownicy_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_AsyncOperations", "new_uzytkownicy_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownikkontakty_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_AsyncOperations")]
		public Xrm.new_uzytkownikkontakty new_uzytkownikkontakty_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_AsyncOperations", "new_uzytkownikkontakty_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_zainteresowanie_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_AsyncOperations")]
		public Xrm.new_zainteresowanie new_zainteresowanie_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_AsyncOperations", "new_zainteresowanie_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Opportunity_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_AsyncOperations")]
		public Xrm.Opportunity Opportunity_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Opportunity>("Opportunity_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Opportunity>("Opportunity_AsyncOperations", "Opportunity_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 OpportunityClose_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("OpportunityClose_AsyncOperations")]
		public Xrm.OpportunityClose OpportunityClose_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.OpportunityClose>("OpportunityClose_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.OpportunityClose>("OpportunityClose_AsyncOperations", "OpportunityClose_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 OpportunityProduct_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("OpportunityProduct_AsyncOperations")]
		public Xrm.OpportunityProduct OpportunityProduct_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.OpportunityProduct>("OpportunityProduct_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.OpportunityProduct>("OpportunityProduct_AsyncOperations", "OpportunityProduct_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 OrderClose_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("OrderClose_AsyncOperations")]
		public Xrm.OrderClose OrderClose_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.OrderClose>("OrderClose_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.OrderClose>("OrderClose_AsyncOperations", "OrderClose_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Organization_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Organization_AsyncOperations")]
		public Xrm.Organization Organization_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("Organization_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Organization>("Organization_AsyncOperations", "Organization_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 PhoneCall_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("PhoneCall_AsyncOperations")]
		public Xrm.PhoneCall PhoneCall_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PhoneCall>("PhoneCall_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PhoneCall>("PhoneCall_AsyncOperations", "PhoneCall_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 post_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("post_AsyncOperations")]
		public Xrm.Post post_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Post>("post_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Post>("post_AsyncOperations", "post_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 PostFollow_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("PostFollow_AsyncOperations")]
		public Xrm.PostFollow PostFollow_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PostFollow>("PostFollow_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PostFollow>("PostFollow_AsyncOperations", "PostFollow_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 PriceLevel_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("PriceLevel_AsyncOperations")]
		public Xrm.PriceLevel PriceLevel_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PriceLevel>("PriceLevel_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PriceLevel>("PriceLevel_AsyncOperations", "PriceLevel_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Privilege_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Privilege_AsyncOperations")]
		public Xrm.Privilege Privilege_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Privilege>("Privilege_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Privilege>("Privilege_AsyncOperations", "Privilege_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Product_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Product_AsyncOperations")]
		public Xrm.Product Product_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Product>("Product_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Product>("Product_AsyncOperations", "Product_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ProductPriceLevel_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ProductPriceLevel_AsyncOperations")]
		public Xrm.ProductPriceLevel ProductPriceLevel_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ProductPriceLevel>("ProductPriceLevel_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ProductPriceLevel>("ProductPriceLevel_AsyncOperations", "ProductPriceLevel_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 QuarterlyFiscalCalendar_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("QuarterlyFiscalCalendar_AsyncOperations")]
		public Xrm.QuarterlyFiscalCalendar QuarterlyFiscalCalendar_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.QuarterlyFiscalCalendar>("QuarterlyFiscalCalendar_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.QuarterlyFiscalCalendar>("QuarterlyFiscalCalendar_AsyncOperations", "QuarterlyFiscalCalendar_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Queue_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Queue_AsyncOperations")]
		public Xrm.Queue Queue_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Queue>("Queue_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Queue>("Queue_AsyncOperations", "Queue_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 QueueItem_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("QueueItem_AsyncOperations")]
		public Xrm.QueueItem QueueItem_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.QueueItem>("QueueItem_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.QueueItem>("QueueItem_AsyncOperations", "QueueItem_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Quote_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_AsyncOperations")]
		public Xrm.Quote Quote_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Quote>("Quote_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Quote>("Quote_AsyncOperations", "Quote_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 QuoteClose_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("QuoteClose_AsyncOperations")]
		public Xrm.QuoteClose QuoteClose_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.QuoteClose>("QuoteClose_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.QuoteClose>("QuoteClose_AsyncOperations", "QuoteClose_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 QuoteDetail_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("QuoteDetail_AsyncOperations")]
		public Xrm.QuoteDetail QuoteDetail_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.QuoteDetail>("QuoteDetail_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.QuoteDetail>("QuoteDetail_AsyncOperations", "QuoteDetail_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 RecurringAppointmentMaster_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("RecurringAppointmentMaster_AsyncOperations")]
		public Xrm.RecurringAppointmentMaster RecurringAppointmentMaster_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RecurringAppointmentMaster>("RecurringAppointmentMaster_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.RecurringAppointmentMaster>("RecurringAppointmentMaster_AsyncOperations", "RecurringAppointmentMaster_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 RelationshipRole_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("RelationshipRole_AsyncOperations")]
		public Xrm.RelationshipRole RelationshipRole_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RelationshipRole>("RelationshipRole_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.RelationshipRole>("RelationshipRole_AsyncOperations", "RelationshipRole_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 RelationshipRoleMap_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("RelationshipRoleMap_AsyncOperations")]
		public Xrm.RelationshipRoleMap RelationshipRoleMap_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RelationshipRoleMap>("RelationshipRoleMap_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.RelationshipRoleMap>("RelationshipRoleMap_AsyncOperations", "RelationshipRoleMap_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Report_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Report_AsyncOperations")]
		public Xrm.Report Report_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Report>("Report_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Report>("Report_AsyncOperations", "Report_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Resource_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Resource_AsyncOperations")]
		public Xrm.Resource Resource_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Resource>("Resource_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Resource>("Resource_AsyncOperations", "Resource_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ResourceGroup_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ResourceGroup_AsyncOperations")]
		public Xrm.ResourceGroup ResourceGroup_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ResourceGroup>("ResourceGroup_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ResourceGroup>("ResourceGroup_AsyncOperations", "ResourceGroup_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ResourceSpec_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ResourceSpec_AsyncOperations")]
		public Xrm.ResourceSpec ResourceSpec_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ResourceSpec>("ResourceSpec_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ResourceSpec>("ResourceSpec_AsyncOperations", "ResourceSpec_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Role_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Role_AsyncOperations")]
		public Xrm.Role Role_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Role>("Role_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Role>("Role_AsyncOperations", "Role_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 rollupfield_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("rollupfield_AsyncOperations")]
		public Xrm.RollupField rollupfield_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RollupField>("rollupfield_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.RollupField>("rollupfield_AsyncOperations", "rollupfield_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SalesLiterature_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesLiterature_AsyncOperations")]
		public Xrm.SalesLiterature SalesLiterature_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesLiterature>("SalesLiterature_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesLiterature>("SalesLiterature_AsyncOperations", "SalesLiterature_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SalesLiteratureItem_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesLiteratureItem_AsyncOperations")]
		public Xrm.SalesLiteratureItem SalesLiteratureItem_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesLiteratureItem>("SalesLiteratureItem_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesLiteratureItem>("SalesLiteratureItem_AsyncOperations", "SalesLiteratureItem_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SalesOrder_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrder_AsyncOperations")]
		public Xrm.SalesOrder SalesOrder_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesOrder>("SalesOrder_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesOrder>("SalesOrder_AsyncOperations", "SalesOrder_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SalesOrderDetail_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrderDetail_AsyncOperations")]
		public Xrm.SalesOrderDetail SalesOrderDetail_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesOrderDetail>("SalesOrderDetail_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesOrderDetail>("SalesOrderDetail_AsyncOperations", "SalesOrderDetail_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SavedQuery_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SavedQuery_AsyncOperations")]
		public Xrm.SavedQuery SavedQuery_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SavedQuery>("SavedQuery_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SavedQuery>("SavedQuery_AsyncOperations", "SavedQuery_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SdkMessageProcessingStep_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningextensionid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SdkMessageProcessingStep_AsyncOperations")]
		public Xrm.SdkMessageProcessingStep SdkMessageProcessingStep_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SdkMessageProcessingStep>("SdkMessageProcessingStep_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SdkMessageProcessingStep>("SdkMessageProcessingStep_AsyncOperations", "SdkMessageProcessingStep_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SemiAnnualFiscalCalendar_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SemiAnnualFiscalCalendar_AsyncOperations")]
		public Xrm.SemiAnnualFiscalCalendar SemiAnnualFiscalCalendar_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SemiAnnualFiscalCalendar>("SemiAnnualFiscalCalendar_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SemiAnnualFiscalCalendar>("SemiAnnualFiscalCalendar_AsyncOperations", "SemiAnnualFiscalCalendar_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Service_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Service_AsyncOperations")]
		public Xrm.Service Service_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Service>("Service_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Service>("Service_AsyncOperations", "Service_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ServiceAppointment_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ServiceAppointment_AsyncOperations")]
		public Xrm.ServiceAppointment ServiceAppointment_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ServiceAppointment>("ServiceAppointment_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ServiceAppointment>("ServiceAppointment_AsyncOperations", "ServiceAppointment_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SharePointDocumentLocation_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SharePointDocumentLocation_AsyncOperations")]
		public Xrm.SharePointDocumentLocation SharePointDocumentLocation_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SharePointDocumentLocation>("SharePointDocumentLocation_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SharePointDocumentLocation>("SharePointDocumentLocation_AsyncOperations", "SharePointDocumentLocation_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SharePointSite_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SharePointSite_AsyncOperations")]
		public Xrm.SharePointSite SharePointSite_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SharePointSite>("SharePointSite_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SharePointSite>("SharePointSite_AsyncOperations", "SharePointSite_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Site_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Site_AsyncOperations")]
		public Xrm.Site Site_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Site>("Site_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Site>("Site_AsyncOperations", "Site_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Subject_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Subject_AsyncOperations")]
		public Xrm.Subject Subject_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Subject>("Subject_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Subject>("Subject_AsyncOperations", "Subject_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 system_user_asyncoperation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_asyncoperation")]
		public Xrm.SystemUser system_user_asyncoperation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("system_user_asyncoperation", null);
			}
		}
		
		/// <summary>
		/// N:1 SystemForm_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SystemForm_AsyncOperations")]
		public Xrm.SystemForm SystemForm_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemForm>("SystemForm_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemForm>("SystemForm_AsyncOperations", "SystemForm_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SystemUser_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SystemUser_AsyncOperations")]
		public Xrm.SystemUser SystemUser_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("SystemUser_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("SystemUser_AsyncOperations", "SystemUser_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Task_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Task_AsyncOperations")]
		public Xrm.Task Task_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Task>("Task_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Task>("Task_AsyncOperations", "Task_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_asyncoperation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_asyncoperation")]
		public Xrm.Team team_asyncoperation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_asyncoperation", null);
			}
		}
		
		/// <summary>
		/// N:1 Team_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Team_AsyncOperations")]
		public Xrm.Team Team_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("Team_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Team>("Team_AsyncOperations", "Team_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Template_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Template_AsyncOperations")]
		public Xrm.Template Template_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Template>("Template_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Template>("Template_AsyncOperations", "Template_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Territory_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Territory_AsyncOperations")]
		public Xrm.Territory Territory_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Territory>("Territory_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Territory>("Territory_AsyncOperations", "Territory_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_AsyncOperations")]
		public Xrm.TransactionCurrency TransactionCurrency_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_AsyncOperations", "TransactionCurrency_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 UoM_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("UoM_AsyncOperations")]
		public Xrm.UoM UoM_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.UoM>("UoM_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.UoM>("UoM_AsyncOperations", "UoM_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 UoMSchedule_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("UoMSchedule_AsyncOperations")]
		public Xrm.UoMSchedule UoMSchedule_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.UoMSchedule>("UoMSchedule_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.UoMSchedule>("UoMSchedule_AsyncOperations", "UoMSchedule_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 UserForm_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("UserForm_AsyncOperations")]
		public Xrm.UserForm UserForm_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.UserForm>("UserForm_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.UserForm>("UserForm_AsyncOperations", "UserForm_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 UserQuery_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("UserQuery_AsyncOperations")]
		public Xrm.UserQuery UserQuery_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.UserQuery>("UserQuery_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.UserQuery>("UserQuery_AsyncOperations", "UserQuery_AsyncOperations", null, value);
			}
		}
	}
	
	/// <summary>
	/// Określa mapowanie między atrybutami, w którym wartości atrybutów powinny zostać skopiowane z rekordu do formularza nowego rekordu powiązanego.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("attributemap")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("AttributeMapSet")]
	public partial class AttributeMap : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public AttributeMap() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "attributemap";
		
		public const int EntityTypeCode = 4601;
		
		/// <summary>
		/// Unikatowy identyfikator mapowania atrybutu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("attributemapid")]
		public System.Nullable<System.Guid> AttributeMapId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("attributemapid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("AttributeMapId", "attributemapid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("attributemapid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.AttributeMapId = value;
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("attributemapidunique")]
		public System.Nullable<System.Guid> AttributeMapIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("attributemapidunique");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył mapowanie atrybutu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia mapowania atrybutu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika-delegata, który utworzył tę mapę atrybutów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator mapowania encji, z którą jest skojarzone mapowanie atrybutu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("entitymapid")]
		public Microsoft.Xrm.Client.CrmEntityReference EntityMapId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("entitymapid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("EntityMapId", "entitymapid", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Informacja, czy ten atrybut został zdefiniowany przez użytkownika, czy przez system.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("issystem")]
		public System.Nullable<bool> IsSystem
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("issystem");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsSystem", "issystem", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował mapowanie atrybutu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji mapowania atrybutu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika-delegata, który jako ostatni modyfikował mapę atrybutów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji, z którą jest skojarzone mapowanie atrybutu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator nadrzędnego mapowania atrybutu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentattributemapid")]
		public Microsoft.Xrm.Client.CrmEntityReference ParentAttributeMapId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("parentattributemapid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ParentAttributeMapId", "parentattributemapid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// Nazwa źródłowego atrybutu mapowania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sourceattributename")]
		public string SourceAttributeName
		{
			get
			{
				return this.GetAttributeValue<string>("sourceattributename");
			}
			set
			{
				this.SetAttributeValue<string>("SourceAttributeName", "sourceattributename", value);
			}
		}
		
		/// <summary>
		/// Nazwa docelowego atrybutu mapowania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("targetattributename")]
		public string TargetAttributeName
		{
			get
			{
				return this.GetAttributeValue<string>("targetattributename");
			}
			set
			{
				this.SetAttributeValue<string>("TargetAttributeName", "targetattributename", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N attribute_map_attribute_maps
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("attribute_map_attribute_maps", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.AttributeMap> Referencedattribute_map_attribute_maps
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AttributeMap>("attribute_map_attribute_maps", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AttributeMap>("Referencedattribute_map_attribute_maps", "attribute_map_attribute_maps", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// 1:N AttributeMap_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("AttributeMap_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> AttributeMap_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("AttributeMap_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("AttributeMap_AsyncOperations", "AttributeMap_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N AttributeMap_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("AttributeMap_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> AttributeMap_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("AttributeMap_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("AttributeMap_BulkDeleteFailures", "AttributeMap_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_attributemap
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_attributemap")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_attributemap
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_attributemap", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_attributemap", "userentityinstancedata_attributemap", null, value);
			}
		}
		
		/// <summary>
		/// N:1 attribute_map_attribute_maps
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentattributemapid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("attribute_map_attribute_maps", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.AttributeMap Referencingattribute_map_attribute_maps
		{
			get
			{
				return this.GetRelatedEntity<Xrm.AttributeMap>("attribute_map_attribute_maps", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
			set
			{
				this.SetRelatedEntity<Xrm.AttributeMap>("Referencingattribute_map_attribute_maps", "attribute_map_attribute_maps", Microsoft.Xrm.Sdk.EntityRole.Referencing, value);
			}
		}
		
		/// <summary>
		/// N:1 createdby_attributemap
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_attributemap")]
		public Xrm.SystemUser createdby_attributemap
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("createdby_attributemap", null);
			}
		}
		
		/// <summary>
		/// N:1 createdonbehalfby_attributemap
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdonbehalfby_attributemap")]
		public Xrm.SystemUser createdonbehalfby_attributemap
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("createdonbehalfby_attributemap", null);
			}
		}
		
		/// <summary>
		/// N:1 entity_map_attribute_maps
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("entitymapid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("entity_map_attribute_maps")]
		public Xrm.EntityMap entity_map_attribute_maps
		{
			get
			{
				return this.GetRelatedEntity<Xrm.EntityMap>("entity_map_attribute_maps", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.EntityMap>("entity_map_attribute_maps", "entity_map_attribute_maps", null, value);
			}
		}
		
		/// <summary>
		/// N:1 modifiedby_attributemap
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_attributemap")]
		public Xrm.SystemUser modifiedby_attributemap
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("modifiedby_attributemap", null);
			}
		}
		
		/// <summary>
		/// N:1 modifiedonbehalfby_attributemap
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedonbehalfby_attributemap")]
		public Xrm.SystemUser modifiedonbehalfby_attributemap
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("modifiedonbehalfby_attributemap", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_attributemap
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_attributemap")]
		public Xrm.Organization organization_attributemap
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_attributemap", null);
			}
		}
	}
	
	/// <summary>
	/// Śledzenie zmian w rekordach na potrzeby analiz, zarządzania rekordami i zapewnienia zgodności.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("audit")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("AuditSet")]
	public partial class Audit : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Audit() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "audit";
		
		public const int EntityTypeCode = 4567;
		
		/// <summary>
		/// Powodujące zmianę akcje, które może wykonać użytkownik
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("action")]
		public System.Nullable<int> Action
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("action");
			}
		}
		
		/// <summary>
		/// Zawiera dane CSV właściwości metadanych ColumnNumber dotyczących atrybutów
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("attributemask")]
		public string AttributeMask
		{
			get
			{
				return this.GetAttributeValue<string>("attributemask");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator wystąpienia inspekcji
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("auditid")]
		public System.Nullable<System.Guid> AuditId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("auditid");
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("auditid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				base.Id = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator wywołującego użytkownika w przypadku wywołania z podszywaniem się
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("callinguserid")]
		public Microsoft.Xrm.Client.CrmEntityReference CallingUserId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("callinguserid");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia audytu inspekcji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator rekordu poddawanego inspekcji
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		public Microsoft.Xrm.Client.CrmEntityReference ObjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("objectid");
			}
		}
		
		/// <summary>
		/// Akcja wywołująca inspekcję — utwórz, usuń lub aktualizuj
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("operation")]
		public System.Nullable<int> Operation
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("operation");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator dla wielu zmian w ramach jednej operacji. To pole zawiera ten sam identyfikator GUID dla wszystkich wierszy audytu wygenerowanych w pojedynczej transakcji
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactionid")]
		public System.Nullable<System.Guid> TransactionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("transactionid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika wprowadzającego zmianę
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userid")]
		public Microsoft.Xrm.Client.CrmEntityReference UserId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("userid");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_audit
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_audit")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_audit
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_audit", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_audit", "userentityinstancedata_audit", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_audit_callinguserid
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("callinguserid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_audit_callinguserid")]
		public Xrm.SystemUser lk_audit_callinguserid
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_audit_callinguserid", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_audit_userid
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_audit_userid")]
		public Xrm.SystemUser lk_audit_userid
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_audit_userid", null);
			}
		}
	}
	
	/// <summary>
	/// Rekord, który nie został usunięty w ramach zadania usuwania zbiorczego.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("bulkdeletefailure")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("BulkDeleteFailureSet")]
	public partial class BulkDeleteFailure : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public BulkDeleteFailure() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "bulkdeletefailure";
		
		public const int EntityTypeCode = 4425;
		
		/// <summary>
		/// Unikatowy identyfikator zadania systemowego, podczas którego został utworzony ten rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("asyncoperationid")]
		public Microsoft.Xrm.Client.CrmEntityReference AsyncOperationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("asyncoperationid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator rekordu operacji usuwania zbiorczego zakończonej niepowodzeniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("bulkdeletefailureid")]
		public System.Nullable<System.Guid> BulkDeleteFailureId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("bulkdeletefailureid");
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("bulkdeletefailureid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				base.Id = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zadania operacji zbiorczej, które spowodowało utworzenie tego rekordu
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("bulkdeleteoperationid")]
		public Microsoft.Xrm.Client.CrmEntityReference BulkDeleteOperationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("bulkdeleteoperationid");
			}
		}
		
		/// <summary>
		/// Opis błędu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("errordescription")]
		public string ErrorDescription
		{
			get
			{
				return this.GetAttributeValue<string>("errordescription");
			}
		}
		
		/// <summary>
		/// Kod błędu operacji usuwania zbiorczego zakończonej niepowodzeniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("errornumber")]
		public System.Nullable<int> ErrorNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("errornumber");
			}
		}
		
		/// <summary>
		/// Indeks wyrażenia uporządkowanej kwerendy, która spowodowała pobranie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("orderedqueryindex")]
		public System.Nullable<int> OrderedQueryIndex
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("orderedqueryindex");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem dziennika operacji zbiorczej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, do której należy rekord operacji usuwania zbiorczego zakończonej niepowodzeniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public System.Nullable<System.Guid> OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, do którego należy rekord operacji usuwania zbiorczego zakończonej niepowodzeniem.
		///
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public System.Nullable<System.Guid> OwningUser
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owninguser");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator rekordu, którego nie można usunąć.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		public Microsoft.Xrm.Client.CrmEntityReference RegardingObjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("regardingobjectid");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_bulkdeletefailure
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_bulkdeletefailure")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_bulkdeletefailure
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_bulkdeletefailure", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_bulkdeletefailure", "userentityinstancedata_bulkdeletefailure", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Account_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_BulkDeleteFailures")]
		public Xrm.Account Account_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("Account_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 ActivityMimeAttachment_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ActivityMimeAttachment_BulkDeleteFailures")]
		public Xrm.ActivityMimeAttachment ActivityMimeAttachment_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityMimeAttachment>("ActivityMimeAttachment_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 ActivityPointer_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ActivityPointer_BulkDeleteFailures")]
		public Xrm.ActivityPointer ActivityPointer_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityPointer>("ActivityPointer_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Annotation_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Annotation_BulkDeleteFailures")]
		public Xrm.Annotation Annotation_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Annotation>("Annotation_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 AnnualFiscalCalendar_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("AnnualFiscalCalendar_BulkDeleteFailures")]
		public Xrm.AnnualFiscalCalendar AnnualFiscalCalendar_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.AnnualFiscalCalendar>("AnnualFiscalCalendar_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Appointment_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Appointment_BulkDeleteFailures")]
		public Xrm.Appointment Appointment_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Appointment>("Appointment_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 AttributeMap_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("AttributeMap_BulkDeleteFailures")]
		public Xrm.AttributeMap AttributeMap_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.AttributeMap>("AttributeMap_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 BulkDeleteOperation_BulkDeleteFailure
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("bulkdeleteoperationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkDeleteOperation_BulkDeleteFailure")]
		public Xrm.BulkDeleteOperation BulkDeleteOperation_BulkDeleteFailure
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BulkDeleteOperation>("BulkDeleteOperation_BulkDeleteFailure", null);
			}
		}
		
		/// <summary>
		/// N:1 BulkOperation_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkOperation_BulkDeleteFailures")]
		public Xrm.BulkOperation BulkOperation_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BulkOperation>("BulkOperation_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 BulkOperationLog_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkOperationLog_BulkDeleteFailures")]
		public Xrm.BulkOperationLog BulkOperationLog_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BulkOperationLog>("BulkOperationLog_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 BusinessUnit_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BusinessUnit_BulkDeleteFailures")]
		public Xrm.BusinessUnit BusinessUnit_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("BusinessUnit_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 BusinessUnitNewsArticle_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BusinessUnitNewsArticle_BulkDeleteFailures")]
		public Xrm.BusinessUnitNewsArticle BusinessUnitNewsArticle_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnitNewsArticle>("BusinessUnitNewsArticle_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Calendar_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Calendar_BulkDeleteFailures")]
		public Xrm.Calendar Calendar_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Calendar>("Calendar_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Campaign_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_BulkDeleteFailures")]
		public Xrm.Campaign Campaign_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Campaign>("Campaign_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 CampaignActivity_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignActivity_BulkDeleteFailures")]
		public Xrm.CampaignActivity CampaignActivity_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignActivity>("CampaignActivity_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 CampaignResponse_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignResponse_BulkDeleteFailures")]
		public Xrm.CampaignResponse CampaignResponse_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignResponse>("CampaignResponse_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Competitor_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Competitor_BulkDeleteFailures")]
		public Xrm.Competitor Competitor_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Competitor>("Competitor_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 ConstraintBasedGroup_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ConstraintBasedGroup_BulkDeleteFailures")]
		public Xrm.ConstraintBasedGroup ConstraintBasedGroup_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ConstraintBasedGroup>("ConstraintBasedGroup_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Contact_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_BulkDeleteFailures")]
		public Xrm.Contact Contact_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("Contact_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Contract_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_BulkDeleteFailures")]
		public Xrm.Contract Contract_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contract>("Contract_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 ContractDetail_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ContractDetail_BulkDeleteFailures")]
		public Xrm.ContractDetail ContractDetail_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ContractDetail>("ContractDetail_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 ContractTemplate_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ContractTemplate_BulkDeleteFailures")]
		public Xrm.ContractTemplate ContractTemplate_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ContractTemplate>("ContractTemplate_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 CustomerAddress_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CustomerAddress_BulkDeleteFailures")]
		public Xrm.CustomerAddress CustomerAddress_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CustomerAddress>("CustomerAddress_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 CustomerOpportunityRole_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CustomerOpportunityRole_BulkDeleteFailures")]
		public Xrm.CustomerOpportunityRole CustomerOpportunityRole_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CustomerOpportunityRole>("CustomerOpportunityRole_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 CustomerRelationship_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CustomerRelationship_BulkDeleteFailures")]
		public Xrm.CustomerRelationship CustomerRelationship_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CustomerRelationship>("CustomerRelationship_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Discount_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Discount_BulkDeleteFailures")]
		public Xrm.Discount Discount_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Discount>("Discount_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 DiscountType_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("DiscountType_BulkDeleteFailures")]
		public Xrm.DiscountType DiscountType_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.DiscountType>("DiscountType_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 DisplayString_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("DisplayString_BulkDeleteFailures")]
		public Xrm.DisplayString DisplayString_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.DisplayString>("DisplayString_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Email_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Email_BulkDeleteFailures")]
		public Xrm.Email Email_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Email>("Email_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 EntityMap_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("EntityMap_BulkDeleteFailures")]
		public Xrm.EntityMap EntityMap_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.EntityMap>("EntityMap_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Equipment_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Equipment_BulkDeleteFailures")]
		public Xrm.Equipment Equipment_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Equipment>("Equipment_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Fax_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Fax_BulkDeleteFailures")]
		public Xrm.Fax Fax_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Fax>("Fax_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 FixedMonthlyFiscalCalendar_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("FixedMonthlyFiscalCalendar_BulkDeleteFailures")]
		public Xrm.FixedMonthlyFiscalCalendar FixedMonthlyFiscalCalendar_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.FixedMonthlyFiscalCalendar>("FixedMonthlyFiscalCalendar_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Import_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Import_BulkDeleteFailures")]
		public Xrm.Import Import_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Import>("Import_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 ImportFile_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ImportFile_BulkDeleteFailures")]
		public Xrm.ImportFile ImportFile_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ImportFile>("ImportFile_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 ImportLog_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ImportLog_BulkDeleteFailures")]
		public Xrm.ImportLog ImportLog_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ImportLog>("ImportLog_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 ImportMap_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ImportMap_BulkDeleteFailures")]
		public Xrm.ImportMap ImportMap_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ImportMap>("ImportMap_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Incident_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_BulkDeleteFailures")]
		public Xrm.Incident Incident_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Incident>("Incident_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 IncidentResolution_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("IncidentResolution_BulkDeleteFailures")]
		public Xrm.IncidentResolution IncidentResolution_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.IncidentResolution>("IncidentResolution_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Invoice_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Invoice_BulkDeleteFailures")]
		public Xrm.Invoice Invoice_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Invoice>("Invoice_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 InvoiceDetail_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("InvoiceDetail_BulkDeleteFailures")]
		public Xrm.InvoiceDetail InvoiceDetail_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.InvoiceDetail>("InvoiceDetail_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 IsvConfig_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("IsvConfig_BulkDeleteFailures")]
		public Xrm.IsvConfig IsvConfig_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.IsvConfig>("IsvConfig_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 KbArticle_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("KbArticle_BulkDeleteFailures")]
		public Xrm.KbArticle KbArticle_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.KbArticle>("KbArticle_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 KbArticleComment_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("KbArticleComment_BulkDeleteFailures")]
		public Xrm.KbArticleComment KbArticleComment_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.KbArticleComment>("KbArticleComment_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 KbArticleTemplate_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("KbArticleTemplate_BulkDeleteFailures")]
		public Xrm.KbArticleTemplate KbArticleTemplate_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.KbArticleTemplate>("KbArticleTemplate_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Lead_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_BulkDeleteFailures")]
		public Xrm.Lead Lead_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Lead>("Lead_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Letter_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Letter_BulkDeleteFailures")]
		public Xrm.Letter Letter_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Letter>("Letter_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 List_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("List_BulkDeleteFailures")]
		public Xrm.List List_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.List>("List_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 MonthlyFiscalCalendar_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("MonthlyFiscalCalendar_BulkDeleteFailures")]
		public Xrm.MonthlyFiscalCalendar MonthlyFiscalCalendar_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.MonthlyFiscalCalendar>("MonthlyFiscalCalendar_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postalbum_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_BulkDeleteFailures")]
		public Xrm.msdyn_PostAlbum msdyn_postalbum_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postconfig_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postconfig_BulkDeleteFailures")]
		public Xrm.msdyn_PostConfig msdyn_postconfig_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostConfig>("msdyn_postconfig_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postruleconfig_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postruleconfig_BulkDeleteFailures")]
		public Xrm.msdyn_PostRuleConfig msdyn_postruleconfig_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostRuleConfig>("msdyn_postruleconfig_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownicy_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_BulkDeleteFailures")]
		public Xrm.new_uzytkownicy new_uzytkownicy_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownikkontakty_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_BulkDeleteFailures")]
		public Xrm.new_uzytkownikkontakty new_uzytkownikkontakty_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 new_zainteresowanie_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_BulkDeleteFailures")]
		public Xrm.new_zainteresowanie new_zainteresowanie_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Opportunity_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_BulkDeleteFailures")]
		public Xrm.Opportunity Opportunity_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Opportunity>("Opportunity_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 OpportunityClose_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("OpportunityClose_BulkDeleteFailures")]
		public Xrm.OpportunityClose OpportunityClose_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.OpportunityClose>("OpportunityClose_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 OpportunityProduct_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("OpportunityProduct_BulkDeleteFailures")]
		public Xrm.OpportunityProduct OpportunityProduct_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.OpportunityProduct>("OpportunityProduct_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 OrderClose_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("OrderClose_BulkDeleteFailures")]
		public Xrm.OrderClose OrderClose_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.OrderClose>("OrderClose_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Organization_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Organization_BulkDeleteFailures")]
		public Xrm.Organization Organization_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("Organization_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 PhoneCall_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("PhoneCall_BulkDeleteFailures")]
		public Xrm.PhoneCall PhoneCall_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PhoneCall>("PhoneCall_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 post_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("post_BulkDeleteFailures")]
		public Xrm.Post post_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Post>("post_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 PriceLevel_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("PriceLevel_BulkDeleteFailures")]
		public Xrm.PriceLevel PriceLevel_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PriceLevel>("PriceLevel_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Privilege_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Privilege_BulkDeleteFailures")]
		public Xrm.Privilege Privilege_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Privilege>("Privilege_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Product_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Product_BulkDeleteFailures")]
		public Xrm.Product Product_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Product>("Product_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 ProductPriceLevel_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ProductPriceLevel_BulkDeleteFailures")]
		public Xrm.ProductPriceLevel ProductPriceLevel_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ProductPriceLevel>("ProductPriceLevel_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 QuarterlyFiscalCalendar_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("QuarterlyFiscalCalendar_BulkDeleteFailures")]
		public Xrm.QuarterlyFiscalCalendar QuarterlyFiscalCalendar_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.QuarterlyFiscalCalendar>("QuarterlyFiscalCalendar_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Queue_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Queue_BulkDeleteFailures")]
		public Xrm.Queue Queue_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Queue>("Queue_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 QueueItem_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("QueueItem_BulkDeleteFailures")]
		public Xrm.QueueItem QueueItem_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.QueueItem>("QueueItem_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Quote_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_BulkDeleteFailures")]
		public Xrm.Quote Quote_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Quote>("Quote_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 QuoteClose_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("QuoteClose_BulkDeleteFailures")]
		public Xrm.QuoteClose QuoteClose_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.QuoteClose>("QuoteClose_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 QuoteDetail_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("QuoteDetail_BulkDeleteFailures")]
		public Xrm.QuoteDetail QuoteDetail_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.QuoteDetail>("QuoteDetail_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 RecurringAppointmentMaster_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("RecurringAppointmentMaster_BulkDeleteFailures")]
		public Xrm.RecurringAppointmentMaster RecurringAppointmentMaster_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RecurringAppointmentMaster>("RecurringAppointmentMaster_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 RelationshipRole_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("RelationshipRole_BulkDeleteFailures")]
		public Xrm.RelationshipRole RelationshipRole_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RelationshipRole>("RelationshipRole_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 RelationshipRoleMap_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("RelationshipRoleMap_BulkDeleteFailures")]
		public Xrm.RelationshipRoleMap RelationshipRoleMap_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RelationshipRoleMap>("RelationshipRoleMap_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Resource_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Resource_BulkDeleteFailures")]
		public Xrm.Resource Resource_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Resource>("Resource_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 ResourceGroup_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ResourceGroup_BulkDeleteFailures")]
		public Xrm.ResourceGroup ResourceGroup_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ResourceGroup>("ResourceGroup_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 ResourceSpec_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ResourceSpec_BulkDeleteFailures")]
		public Xrm.ResourceSpec ResourceSpec_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ResourceSpec>("ResourceSpec_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Role_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Role_BulkDeleteFailures")]
		public Xrm.Role Role_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Role>("Role_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 SalesLiterature_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesLiterature_BulkDeleteFailures")]
		public Xrm.SalesLiterature SalesLiterature_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesLiterature>("SalesLiterature_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 SalesLiteratureItem_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesLiteratureItem_BulkDeleteFailures")]
		public Xrm.SalesLiteratureItem SalesLiteratureItem_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesLiteratureItem>("SalesLiteratureItem_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 SalesOrder_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrder_BulkDeleteFailures")]
		public Xrm.SalesOrder SalesOrder_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesOrder>("SalesOrder_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 SalesOrderDetail_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrderDetail_BulkDeleteFailures")]
		public Xrm.SalesOrderDetail SalesOrderDetail_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesOrderDetail>("SalesOrderDetail_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 SavedQuery_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SavedQuery_BulkDeleteFailures")]
		public Xrm.SavedQuery SavedQuery_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SavedQuery>("SavedQuery_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 SemiAnnualFiscalCalendar_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SemiAnnualFiscalCalendar_BulkDeleteFailures")]
		public Xrm.SemiAnnualFiscalCalendar SemiAnnualFiscalCalendar_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SemiAnnualFiscalCalendar>("SemiAnnualFiscalCalendar_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Service_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Service_BulkDeleteFailures")]
		public Xrm.Service Service_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Service>("Service_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 ServiceAppointment_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ServiceAppointment_BulkDeleteFailures")]
		public Xrm.ServiceAppointment ServiceAppointment_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ServiceAppointment>("ServiceAppointment_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Site_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Site_BulkDeleteFailures")]
		public Xrm.Site Site_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Site>("Site_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Subject_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Subject_BulkDeleteFailures")]
		public Xrm.Subject Subject_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Subject>("Subject_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 SystemForm_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SystemForm_BulkDeleteFailures")]
		public Xrm.SystemForm SystemForm_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemForm>("SystemForm_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 SystemUser_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SystemUser_BulkDeleteFailures")]
		public Xrm.SystemUser SystemUser_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("SystemUser_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Task_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Task_BulkDeleteFailures")]
		public Xrm.Task Task_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Task>("Task_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Team_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Team_BulkDeleteFailures")]
		public Xrm.Team Team_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("Team_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Template_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Template_BulkDeleteFailures")]
		public Xrm.Template Template_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Template>("Template_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 Territory_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Territory_BulkDeleteFailures")]
		public Xrm.Territory Territory_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Territory>("Territory_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 UoM_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("UoM_BulkDeleteFailures")]
		public Xrm.UoM UoM_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.UoM>("UoM_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 UoMSchedule_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("UoMSchedule_BulkDeleteFailures")]
		public Xrm.UoMSchedule UoMSchedule_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.UoMSchedule>("UoMSchedule_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 UserForm_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("UserForm_BulkDeleteFailures")]
		public Xrm.UserForm UserForm_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.UserForm>("UserForm_BulkDeleteFailures", null);
			}
		}
		
		/// <summary>
		/// N:1 UserQuery_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("UserQuery_BulkDeleteFailures")]
		public Xrm.UserQuery UserQuery_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntity<Xrm.UserQuery>("UserQuery_BulkDeleteFailures", null);
			}
		}
	}
	
	/// <summary>
	/// Zadania usuwania zbiorczego przesłane przez użytkownika.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("bulkdeleteoperation")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("BulkDeleteOperationSet")]
	public partial class BulkDeleteOperation : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public BulkDeleteOperation() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "bulkdeleteoperation";
		
		public const int EntityTypeCode = 4424;
		
		/// <summary>
		/// Unikatowy identyfikator zadania systemowego, które spowodowało utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("asyncoperationid")]
		public Microsoft.Xrm.Client.CrmEntityReference AsyncOperationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("asyncoperationid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zadania usuwania zbiorczego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("bulkdeleteoperationid")]
		public System.Nullable<System.Guid> BulkDeleteOperationId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("bulkdeleteoperationid");
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("bulkdeleteoperationid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				base.Id = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył zadanie usuwania zbiorczego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia zadania usuwania zbiorczego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika-delegata, który utworzył operację usuwania zbiorczego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Liczba rekordów, których nie można było usunąć w ramach zadania usuwania zbiorczego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("failurecount")]
		public System.Nullable<int> FailureCount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("failurecount");
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy zdefiniowano cykl dla zadania usuwania zbiorczego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isrecurring")]
		public System.Nullable<bool> IsRecurring
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isrecurring");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni modyfikował zadanie usuwania zbiorczego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji rekordu zadania usuwania zbiorczego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika-delegata, który jako ostatni modyfikował operację usuwania zbiorczego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa zadania usuwania zbiorczego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
		}
		
		/// <summary>
		/// Zaplanowany czas następnego uruchomienia operacji usuwania zbiorczego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("nextrun")]
		public System.Nullable<System.DateTime> NextRun
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("nextrun");
			}
		}
		
		/// <summary>
		/// Pobierz XML uporządkowanego zestawu kwerend.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("orderedquerysetxml")]
		public string OrderedQuerySetXml
		{
			get
			{
				return this.GetAttributeValue<string>("orderedquerysetxml");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem operacji usuwania zbiorczego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
		}
		
		/// <summary>
		/// Jednostka biznesowa, do której należy zadanie usuwania zbiorczego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Użytkownik biznesowy, do którego należy operacja usuwania zbiorczego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Indeks wyrażenia uporządkowanej kwerendy definiującej usuwany zestaw.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("processingqeindex")]
		public System.Nullable<int> ProcessingQEIndex
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("processingqeindex");
			}
		}
		
		/// <summary>
		/// Stan zadania usuwania zbiorczego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu zadania usuwania zbiorczego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
		}
		
		/// <summary>
		/// Liczba rekordów usuniętych w ramach zadania usuwania zbiorczego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("successcount")]
		public System.Nullable<int> SuccessCount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("successcount");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// 1:N BulkDeleteOperation_BulkDeleteFailure
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkDeleteOperation_BulkDeleteFailure")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> BulkDeleteOperation_BulkDeleteFailure
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("BulkDeleteOperation_BulkDeleteFailure", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("BulkDeleteOperation_BulkDeleteFailure", "BulkDeleteOperation_BulkDeleteFailure", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_bulkdeleteoperation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_bulkdeleteoperation")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_bulkdeleteoperation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_bulkdeleteoperation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_bulkdeleteoperation", "userentityinstancedata_bulkdeleteoperation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 AsyncOperation_BulkDeleteOperation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("asyncoperationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("AsyncOperation_BulkDeleteOperation")]
		public Xrm.AsyncOperation AsyncOperation_BulkDeleteOperation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.AsyncOperation>("AsyncOperation_BulkDeleteOperation", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_bulkdeleteoperation_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_bulkdeleteoperation_createdonbehalfby")]
		public Xrm.SystemUser lk_bulkdeleteoperation_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_bulkdeleteoperation_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_bulkdeleteoperation_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_bulkdeleteoperation_modifiedonbehalfby")]
		public Xrm.SystemUser lk_bulkdeleteoperation_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_bulkdeleteoperation_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_bulkdeleteoperationbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_bulkdeleteoperationbase_createdby")]
		public Xrm.SystemUser lk_bulkdeleteoperationbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_bulkdeleteoperationbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_bulkdeleteoperationbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_bulkdeleteoperationbase_modifiedby")]
		public Xrm.SystemUser lk_bulkdeleteoperationbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_bulkdeleteoperationbase_modifiedby", null);
			}
		}
	}
	
	/// <summary>
	/// Operacja systemowa używana do wykonywania długotrwałych i asynchronicznych operacji na dużych zestawach danych, np. dystrybuowania działania w ramach kampanii lub szybkiej kampanii.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("bulkoperation")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("BulkOperationSet")]
	public partial class BulkOperation : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public BulkOperation() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "bulkoperation";
		
		public const int EntityTypeCode = 4406;
		
		/// <summary>
		/// Unikatowy identyfikator operacji zbiorczej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public System.Nullable<System.Guid> ActivityId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("activityid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ActivityId", "activityid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ActivityId = value;
			}
		}
		
		/// <summary>
		/// Typ działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activitytypecode")]
		public string ActivityTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("activitytypecode");
			}
		}
		
		/// <summary>
		/// Rzeczywisty czas trwania operacji zbiorczej (w minutach).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualdurationminutes")]
		public System.Nullable<int> ActualDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("actualdurationminutes");
			}
		}
		
		/// <summary>
		/// Rzeczywista godzina zakończenia operacji zbiorczej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualend")]
		public System.Nullable<System.DateTime> ActualEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualend");
			}
		}
		
		/// <summary>
		/// Rzeczywista godzina rozpoczęcia operacji zbiorczej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualstart")]
		public System.Nullable<System.DateTime> ActualStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualstart");
			}
		}
		
		/// <summary>
		/// Unikatowa liczba będąca identyfikatorem operacji zbiorczej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("bulkoperationnumber")]
		public string BulkOperationNumber
		{
			get
			{
				return this.GetAttributeValue<string>("bulkoperationnumber");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył operację zbiorczą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia operacji zbiorczej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika-delegata, który utworzył operację zbiorczą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Kod typu obiektów utworzonych w ramach operacji zbiorczej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdrecordtypecode")]
		public System.Nullable<int> CreatedRecordTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("createdrecordtypecode");
			}
		}
		
		/// <summary>
		/// Opis operacji zbiorczej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
		}
		
		/// <summary>
		/// Kod błędu operacji zbiorczej zakończonej niepowodzeniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("errornumber")]
		public System.Nullable<int> ErrorNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("errornumber");
			}
		}
		
		/// <summary>
		/// Liczba rekordów, których dotyczyły błędy podczas operacji zbiorczej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("failurecount")]
		public System.Nullable<int> FailureCount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("failurecount");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isbilled")]
		public System.Nullable<bool> IsBilled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isbilled");
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy działanie ma charakter regularny, czy też jest zdarzeniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isregularactivity")]
		public System.Nullable<bool> IsRegularActivity
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isregularactivity");
			}
		}
		
		/// <summary>
		/// Określa, czy operacja zbiorcza została utworzona na podstawie reguły przepływu pracy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isworkflowcreated")]
		public System.Nullable<bool> IsWorkflowCreated
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isworkflowcreated");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni modyfikował operację zbiorczą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji operacji zbiorczej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika-delegata, który jako ostatni modyfikował operację zbiorczą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Typ operacji zbiorczej do wykonania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("operationtypecode")]
		public System.Nullable<int> OperationTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("operationtypecode");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem operacji zbiorczej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej będącej właścicielem operacji zbiorczej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu będącego właścicielem operacji zbiorczej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika będącego właścicielem operacji zbiorczej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Ciąg kodu XML zawierający parametry operacji zbiorczej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parameters")]
		public string Parameters
		{
			get
			{
				return this.GetAttributeValue<string>("parameters");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obiektu, z którym jest skojarzona operacja zbiorcza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		public Microsoft.Xrm.Client.CrmEntityReference RegardingObjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("regardingobjectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RegardingObjectId", "regardingobjectid", value);
			}
		}
		
		/// <summary>
		/// Zaplanowany czas trwania operacji zbiorczej (określony w minutach).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduleddurationminutes")]
		public System.Nullable<int> ScheduledDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("scheduleddurationminutes");
			}
		}
		
		/// <summary>
		/// Zaplanowana data i godzina zakończenia operacji zbiorczej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledend")]
		public System.Nullable<System.DateTime> ScheduledEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledend");
			}
		}
		
		/// <summary>
		/// Zaplanowana data i godzina rozpoczęcia operacji zbiorczej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledstart")]
		public System.Nullable<System.DateTime> ScheduledStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledstart");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator usługi skojarzonej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		public Microsoft.Xrm.Client.CrmEntityReference ServiceId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("serviceid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ServiceId", "serviceid", value);
			}
		}
		
		/// <summary>
		/// Stan operacji zbiorczej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu operacji zbiorczej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Temat skojarzony z operacją zbiorczą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subject")]
		public string Subject
		{
			get
			{
				return this.GetAttributeValue<string>("subject");
			}
		}
		
		/// <summary>
		/// Liczba rekordów pomyślnie przetworzonych w operacji zbiorczej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("successcount")]
		public System.Nullable<int> SuccessCount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("successcount");
			}
		}
		
		/// <summary>
		/// Kod typu obiektów docelowych operacji zbiorczej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("targetedrecordtypecode")]
		public System.Nullable<int> TargetedRecordTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("targetedrecordtypecode");
			}
		}
		
		/// <summary>
		/// Liczba członków docelowych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("targetmemberscount")]
		public System.Nullable<int> TargetMembersCount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("targetmemberscount");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji operacji zbiorczej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N bulkoperation_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("bulkoperation_activity_parties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> bulkoperation_activity_parties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("bulkoperation_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("bulkoperation_activity_parties", "bulkoperation_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N BulkOperation_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkOperation_ActivityPointers")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityPointer> BulkOperation_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityPointer>("BulkOperation_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityPointer>("BulkOperation_ActivityPointers", "BulkOperation_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// 1:N BulkOperation_Appointment
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkOperation_Appointment")]
		public System.Collections.Generic.IEnumerable<Xrm.Appointment> BulkOperation_Appointment
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Appointment>("BulkOperation_Appointment", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Appointment>("BulkOperation_Appointment", "BulkOperation_Appointment", null, value);
			}
		}
		
		/// <summary>
		/// 1:N BulkOperation_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkOperation_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> BulkOperation_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("BulkOperation_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("BulkOperation_AsyncOperations", "BulkOperation_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N BulkOperation_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkOperation_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> BulkOperation_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("BulkOperation_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("BulkOperation_BulkDeleteFailures", "BulkOperation_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N BulkOperation_CampaignResponse
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkOperation_CampaignResponse")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignResponse> BulkOperation_CampaignResponse
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignResponse>("BulkOperation_CampaignResponse", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignResponse>("BulkOperation_CampaignResponse", "BulkOperation_CampaignResponse", null, value);
			}
		}
		
		/// <summary>
		/// 1:N BulkOperation_Email
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkOperation_Email")]
		public System.Collections.Generic.IEnumerable<Xrm.Email> BulkOperation_Email
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Email>("BulkOperation_Email", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Email>("BulkOperation_Email", "BulkOperation_Email", null, value);
			}
		}
		
		/// <summary>
		/// 1:N BulkOperation_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkOperation_Faxes")]
		public System.Collections.Generic.IEnumerable<Xrm.Fax> BulkOperation_Faxes
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Fax>("BulkOperation_Faxes", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Fax>("BulkOperation_Faxes", "BulkOperation_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// 1:N BulkOperation_Letter
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkOperation_Letter")]
		public System.Collections.Generic.IEnumerable<Xrm.Letter> BulkOperation_Letter
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Letter>("BulkOperation_Letter", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Letter>("BulkOperation_Letter", "BulkOperation_Letter", null, value);
			}
		}
		
		/// <summary>
		/// 1:N BulkOperation_logs
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkOperation_logs")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkOperationLog> BulkOperation_logs
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkOperationLog>("BulkOperation_logs", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkOperationLog>("BulkOperation_logs", "BulkOperation_logs", null, value);
			}
		}
		
		/// <summary>
		/// 1:N BulkOperation_Phonecall
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkOperation_Phonecall")]
		public System.Collections.Generic.IEnumerable<Xrm.PhoneCall> BulkOperation_Phonecall
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PhoneCall>("BulkOperation_Phonecall", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PhoneCall>("BulkOperation_Phonecall", "BulkOperation_Phonecall", null, value);
			}
		}
		
		/// <summary>
		/// 1:N BulkOperation_QueueItem
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkOperation_QueueItem")]
		public System.Collections.Generic.IEnumerable<Xrm.QueueItem> BulkOperation_QueueItem
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QueueItem>("BulkOperation_QueueItem", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QueueItem>("BulkOperation_QueueItem", "BulkOperation_QueueItem", null, value);
			}
		}
		
		/// <summary>
		/// 1:N BulkOperation_RecurringAppointmentMaster
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkOperation_RecurringAppointmentMaster")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurringAppointmentMaster> BulkOperation_RecurringAppointmentMaster
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurringAppointmentMaster>("BulkOperation_RecurringAppointmentMaster", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurringAppointmentMaster>("BulkOperation_RecurringAppointmentMaster", "BulkOperation_RecurringAppointmentMaster", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_bulkoperation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_bulkoperation")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_bulkoperation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_bulkoperation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_bulkoperation", "userentityinstancedata_bulkoperation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 activity_pointer_BulkOperation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_BulkOperation")]
		public Xrm.ActivityPointer activity_pointer_BulkOperation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_BulkOperation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_BulkOperation", "activity_pointer_BulkOperation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_BulkOperation_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_BulkOperation_activities")]
		public Xrm.BusinessUnit business_unit_BulkOperation_activities
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_BulkOperation_activities", null);
			}
		}
		
		/// <summary>
		/// N:1 CampaignActivity_BulkOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignActivity_BulkOperations")]
		public Xrm.CampaignActivity CampaignActivity_BulkOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignActivity>("CampaignActivity_BulkOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CampaignActivity>("CampaignActivity_BulkOperations", "CampaignActivity_BulkOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 List_BulkOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("List_BulkOperations")]
		public Xrm.List List_BulkOperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.List>("List_BulkOperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.List>("List_BulkOperations", "List_BulkOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_BulkOperation_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_BulkOperation_createdby")]
		public Xrm.SystemUser lk_BulkOperation_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_BulkOperation_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_BulkOperation_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_BulkOperation_createdonbehalfby")]
		public Xrm.SystemUser lk_BulkOperation_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_BulkOperation_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_BulkOperation_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_BulkOperation_modifiedby")]
		public Xrm.SystemUser lk_BulkOperation_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_BulkOperation_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_BulkOperation_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_BulkOperation_modifiedonbehalfby")]
		public Xrm.SystemUser lk_BulkOperation_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_BulkOperation_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 team_BulkOperation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_BulkOperation")]
		public Xrm.Team team_BulkOperation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_BulkOperation", null);
			}
		}
		
		/// <summary>
		/// N:1 user_BulkOperation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_BulkOperation")]
		public Xrm.SystemUser user_BulkOperation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_BulkOperation", null);
			}
		}
	}
	
	/// <summary>
	/// Dziennik używany do śledzenia wykonania operacji zbiorczych, sukcesów i niepowodzeń.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("bulkoperationlog")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("BulkOperationLogSet")]
	public partial class BulkOperationLog : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public BulkOperationLog() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "bulkoperationlog";
		
		public const int EntityTypeCode = 4405;
		
		/// <summary>
		/// Informacje dodatkowe dotyczące dziennika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("additionalinfo")]
		public string AdditionalInfo
		{
			get
			{
				return this.GetAttributeValue<string>("additionalinfo");
			}
			set
			{
				this.SetAttributeValue<string>("AdditionalInfo", "additionalinfo", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji zbiorczej, której dotyczy ten dziennik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("bulkoperationid")]
		public Microsoft.Xrm.Client.CrmEntityReference BulkOperationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("bulkoperationid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("BulkOperationId", "bulkoperationid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator dziennika operacji zbiorczej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("bulkoperationlogid")]
		public System.Nullable<System.Guid> BulkOperationLogId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("bulkoperationlogid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("BulkOperationLogId", "bulkoperationlogid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("bulkoperationlogid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.BulkOperationLogId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obiektu utworzonego przez operację zbiorczą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdobjectid")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedObjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdobjectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("CreatedObjectId", "createdobjectid", value);
			}
		}
		
		/// <summary>
		/// Kod błędu operacji zbiorczej zakończonej niepowodzeniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("errornumber")]
		public System.Nullable<int> ErrorNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("errornumber");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem dziennika operacji zbiorczej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem dziennika operacji zbiorczej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public System.Nullable<System.Guid> OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem dziennika operacji zbiorczej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public System.Nullable<System.Guid> OwningUser
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owninguser");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obiektu, z którym jest skojarzona operacja zbiorcza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		public Microsoft.Xrm.Client.CrmEntityReference RegardingObjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("regardingobjectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RegardingObjectId", "regardingobjectid", value);
			}
		}
		
		/// <summary>
		/// 1:N BulkOperationLog_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkOperationLog_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> BulkOperationLog_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("BulkOperationLog_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("BulkOperationLog_AsyncOperations", "BulkOperationLog_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N BulkOperationLog_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkOperationLog_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> BulkOperationLog_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("BulkOperationLog_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("BulkOperationLog_BulkDeleteFailures", "BulkOperationLog_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_bulkoperationlog
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_bulkoperationlog")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_bulkoperationlog
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_bulkoperationlog", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_bulkoperationlog", "userentityinstancedata_bulkoperationlog", null, value);
			}
		}
		
		/// <summary>
		/// N:1 activity_pointer_BulkOperation_logs
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("bulkoperationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_BulkOperation_logs")]
		public Xrm.ActivityPointer activity_pointer_BulkOperation_logs
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_BulkOperation_logs", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_BulkOperation_logs", "activity_pointer_BulkOperation_logs", null, value);
			}
		}
		
		/// <summary>
		/// N:1 BulkOperation_logs
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("bulkoperationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkOperation_logs")]
		public Xrm.BulkOperation BulkOperation_logs
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BulkOperation>("BulkOperation_logs", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BulkOperation>("BulkOperation_logs", "BulkOperation_logs", null, value);
			}
		}
		
		/// <summary>
		/// N:1 CreatedAccount_BulkOperationLogs2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CreatedAccount_BulkOperationLogs2")]
		public Xrm.Account CreatedAccount_BulkOperationLogs2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("CreatedAccount_BulkOperationLogs2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("CreatedAccount_BulkOperationLogs2", "CreatedAccount_BulkOperationLogs2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 CreatedActivity_BulkOperationLogs
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CreatedActivity_BulkOperationLogs")]
		public Xrm.ActivityPointer CreatedActivity_BulkOperationLogs
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityPointer>("CreatedActivity_BulkOperationLogs", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ActivityPointer>("CreatedActivity_BulkOperationLogs", "CreatedActivity_BulkOperationLogs", null, value);
			}
		}
		
		/// <summary>
		/// N:1 CreatedContact_BulkOperationLogs
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CreatedContact_BulkOperationLogs")]
		public Xrm.Contact CreatedContact_BulkOperationLogs
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("CreatedContact_BulkOperationLogs", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("CreatedContact_BulkOperationLogs", "CreatedContact_BulkOperationLogs", null, value);
			}
		}
		
		/// <summary>
		/// N:1 CreatedLead_BulkOperationLogs
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CreatedLead_BulkOperationLogs")]
		public Xrm.Lead CreatedLead_BulkOperationLogs
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Lead>("CreatedLead_BulkOperationLogs", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Lead>("CreatedLead_BulkOperationLogs", "CreatedLead_BulkOperationLogs", null, value);
			}
		}
		
		/// <summary>
		/// N:1 CreatedOpportunity_BulkOperationLogs
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CreatedOpportunity_BulkOperationLogs")]
		public Xrm.Opportunity CreatedOpportunity_BulkOperationLogs
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Opportunity>("CreatedOpportunity_BulkOperationLogs", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Opportunity>("CreatedOpportunity_BulkOperationLogs", "CreatedOpportunity_BulkOperationLogs", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SourceAccount_BulkOperationLogs
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SourceAccount_BulkOperationLogs")]
		public Xrm.Account SourceAccount_BulkOperationLogs
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("SourceAccount_BulkOperationLogs", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("SourceAccount_BulkOperationLogs", "SourceAccount_BulkOperationLogs", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SourceContact_BulkOperationLogs
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SourceContact_BulkOperationLogs")]
		public Xrm.Contact SourceContact_BulkOperationLogs
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("SourceContact_BulkOperationLogs", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("SourceContact_BulkOperationLogs", "SourceContact_BulkOperationLogs", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SourceLead_BulkOperationLogs
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SourceLead_BulkOperationLogs")]
		public Xrm.Lead SourceLead_BulkOperationLogs
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Lead>("SourceLead_BulkOperationLogs", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Lead>("SourceLead_BulkOperationLogs", "SourceLead_BulkOperationLogs", null, value);
			}
		}
	}
	
	/// <summary>
	/// Firma, wydział lub dział w bazie danych programu Microsoft Dynamics CRM.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("businessunit")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("BusinessUnitSet")]
	public partial class BusinessUnit : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public BusinessUnit() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "businessunit";
		
		public const int EntityTypeCode = 10;
		
		/// <summary>
		/// Unikatowy identyfikator adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_addressid")]
		public System.Nullable<System.Guid> Address1_AddressId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("address1_addressid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("Address1_AddressId", "address1_addressid", value);
			}
		}
		
		/// <summary>
		/// Typ adresu 1, np. adres na fakturze, adres wysyłkowy lub adres podstawowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_addresstypecode")]
		public System.Nullable<int> Address1_AddressTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address1_addresstypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address1_AddressTypeCode", "address1_addresstypecode", value);
			}
		}
		
		/// <summary>
		/// Nazwa miasta dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_city")]
		public string Address1_City
		{
			get
			{
				return this.GetAttributeValue<string>("address1_city");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_City", "address1_city", value);
			}
		}
		
		/// <summary>
		/// Nazwa kraju/regionu w adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_country")]
		public string Address1_Country
		{
			get
			{
				return this.GetAttributeValue<string>("address1_country");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Country", "address1_country", value);
			}
		}
		
		/// <summary>
		/// Nazwa powiatu dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_county")]
		public string Address1_County
		{
			get
			{
				return this.GetAttributeValue<string>("address1_county");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_County", "address1_county", value);
			}
		}
		
		/// <summary>
		/// Numer faksu dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_fax")]
		public string Address1_Fax
		{
			get
			{
				return this.GetAttributeValue<string>("address1_fax");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Fax", "address1_fax", value);
			}
		}
		
		/// <summary>
		/// Szerokość geograficzna dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_latitude")]
		public System.Nullable<double> Address1_Latitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address1_latitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address1_Latitude", "address1_latitude", value);
			}
		}
		
		/// <summary>
		/// Pierwszy wiersz do wprowadzenia informacji o adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_line1")]
		public string Address1_Line1
		{
			get
			{
				return this.GetAttributeValue<string>("address1_line1");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Line1", "address1_line1", value);
			}
		}
		
		/// <summary>
		/// Drugi wiersz do wprowadzenia informacji o adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_line2")]
		public string Address1_Line2
		{
			get
			{
				return this.GetAttributeValue<string>("address1_line2");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Line2", "address1_line2", value);
			}
		}
		
		/// <summary>
		/// Trzeci wiersz do wprowadzenia informacji o adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_line3")]
		public string Address1_Line3
		{
			get
			{
				return this.GetAttributeValue<string>("address1_line3");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Line3", "address1_line3", value);
			}
		}
		
		/// <summary>
		/// Długość geograficzna dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_longitude")]
		public System.Nullable<double> Address1_Longitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address1_longitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address1_Longitude", "address1_longitude", value);
			}
		}
		
		/// <summary>
		/// Nazwa do wprowadzenia dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_name")]
		public string Address1_Name
		{
			get
			{
				return this.GetAttributeValue<string>("address1_name");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Name", "address1_name", value);
			}
		}
		
		/// <summary>
		/// Kod pocztowy adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_postalcode")]
		public string Address1_PostalCode
		{
			get
			{
				return this.GetAttributeValue<string>("address1_postalcode");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_PostalCode", "address1_postalcode", value);
			}
		}
		
		/// <summary>
		/// Numer skrytki pocztowej dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_postofficebox")]
		public string Address1_PostOfficeBox
		{
			get
			{
				return this.GetAttributeValue<string>("address1_postofficebox");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_PostOfficeBox", "address1_postofficebox", value);
			}
		}
		
		/// <summary>
		/// Metoda wysyłki dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_shippingmethodcode")]
		public System.Nullable<int> Address1_ShippingMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address1_shippingmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address1_ShippingMethodCode", "address1_shippingmethodcode", value);
			}
		}
		
		/// <summary>
		/// Województwo adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_stateorprovince")]
		public string Address1_StateOrProvince
		{
			get
			{
				return this.GetAttributeValue<string>("address1_stateorprovince");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_StateOrProvince", "address1_stateorprovince", value);
			}
		}
		
		/// <summary>
		/// Pierwszy numer telefonu skojarzony z adresem 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_telephone1")]
		public string Address1_Telephone1
		{
			get
			{
				return this.GetAttributeValue<string>("address1_telephone1");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Telephone1", "address1_telephone1", value);
			}
		}
		
		/// <summary>
		/// Drugi numer telefonu skojarzony z adresem 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_telephone2")]
		public string Address1_Telephone2
		{
			get
			{
				return this.GetAttributeValue<string>("address1_telephone2");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Telephone2", "address1_telephone2", value);
			}
		}
		
		/// <summary>
		/// Trzeci numer telefonu skojarzony z adresem 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_telephone3")]
		public string Address1_Telephone3
		{
			get
			{
				return this.GetAttributeValue<string>("address1_telephone3");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Telephone3", "address1_telephone3", value);
			}
		}
		
		/// <summary>
		/// Strefa firmy United Parcel Service (UPS) dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_upszone")]
		public string Address1_UPSZone
		{
			get
			{
				return this.GetAttributeValue<string>("address1_upszone");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_UPSZone", "address1_upszone", value);
			}
		}
		
		/// <summary>
		/// Przesunięcie czasu UTC dla adresu 1. Jest to różnica między czasem lokalnym a standardowym uniwersalnym czasem koordynowanym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_utcoffset")]
		public System.Nullable<int> Address1_UTCOffset
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address1_utcoffset");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Address1_UTCOffset", "address1_utcoffset", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_addressid")]
		public System.Nullable<System.Guid> Address2_AddressId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("address2_addressid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("Address2_AddressId", "address2_addressid", value);
			}
		}
		
		/// <summary>
		/// Typ adresu 2, np. adres na fakturze, adres wysyłkowy lub adres podstawowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_addresstypecode")]
		public System.Nullable<int> Address2_AddressTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address2_addresstypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address2_AddressTypeCode", "address2_addresstypecode", value);
			}
		}
		
		/// <summary>
		/// Nazwa miasta dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_city")]
		public string Address2_City
		{
			get
			{
				return this.GetAttributeValue<string>("address2_city");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_City", "address2_city", value);
			}
		}
		
		/// <summary>
		/// Nazwa kraju/regionu w adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_country")]
		public string Address2_Country
		{
			get
			{
				return this.GetAttributeValue<string>("address2_country");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Country", "address2_country", value);
			}
		}
		
		/// <summary>
		/// Nazwa powiatu dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_county")]
		public string Address2_County
		{
			get
			{
				return this.GetAttributeValue<string>("address2_county");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_County", "address2_county", value);
			}
		}
		
		/// <summary>
		/// Numer faksu dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_fax")]
		public string Address2_Fax
		{
			get
			{
				return this.GetAttributeValue<string>("address2_fax");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Fax", "address2_fax", value);
			}
		}
		
		/// <summary>
		/// Szerokość geograficzna dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_latitude")]
		public System.Nullable<double> Address2_Latitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address2_latitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address2_Latitude", "address2_latitude", value);
			}
		}
		
		/// <summary>
		/// Pierwszy wiersz do wprowadzenia informacji o adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_line1")]
		public string Address2_Line1
		{
			get
			{
				return this.GetAttributeValue<string>("address2_line1");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Line1", "address2_line1", value);
			}
		}
		
		/// <summary>
		/// Drugi wiersz do wprowadzenia informacji o adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_line2")]
		public string Address2_Line2
		{
			get
			{
				return this.GetAttributeValue<string>("address2_line2");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Line2", "address2_line2", value);
			}
		}
		
		/// <summary>
		/// Trzeci wiersz do wprowadzenia informacji o adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_line3")]
		public string Address2_Line3
		{
			get
			{
				return this.GetAttributeValue<string>("address2_line3");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Line3", "address2_line3", value);
			}
		}
		
		/// <summary>
		/// Długość geograficzna dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_longitude")]
		public System.Nullable<double> Address2_Longitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address2_longitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address2_Longitude", "address2_longitude", value);
			}
		}
		
		/// <summary>
		/// Nazwa do wprowadzenia dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_name")]
		public string Address2_Name
		{
			get
			{
				return this.GetAttributeValue<string>("address2_name");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Name", "address2_name", value);
			}
		}
		
		/// <summary>
		/// Kod pocztowy adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_postalcode")]
		public string Address2_PostalCode
		{
			get
			{
				return this.GetAttributeValue<string>("address2_postalcode");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_PostalCode", "address2_postalcode", value);
			}
		}
		
		/// <summary>
		/// Numer skrytki pocztowej dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_postofficebox")]
		public string Address2_PostOfficeBox
		{
			get
			{
				return this.GetAttributeValue<string>("address2_postofficebox");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_PostOfficeBox", "address2_postofficebox", value);
			}
		}
		
		/// <summary>
		/// Metoda wysyłki dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_shippingmethodcode")]
		public System.Nullable<int> Address2_ShippingMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address2_shippingmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address2_ShippingMethodCode", "address2_shippingmethodcode", value);
			}
		}
		
		/// <summary>
		/// Województwo adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_stateorprovince")]
		public string Address2_StateOrProvince
		{
			get
			{
				return this.GetAttributeValue<string>("address2_stateorprovince");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_StateOrProvince", "address2_stateorprovince", value);
			}
		}
		
		/// <summary>
		/// Pierwszy numer telefonu skojarzony z adresem 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_telephone1")]
		public string Address2_Telephone1
		{
			get
			{
				return this.GetAttributeValue<string>("address2_telephone1");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Telephone1", "address2_telephone1", value);
			}
		}
		
		/// <summary>
		/// Drugi numer telefonu skojarzony z adresem 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_telephone2")]
		public string Address2_Telephone2
		{
			get
			{
				return this.GetAttributeValue<string>("address2_telephone2");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Telephone2", "address2_telephone2", value);
			}
		}
		
		/// <summary>
		/// Trzeci numer telefonu skojarzony z adresem 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_telephone3")]
		public string Address2_Telephone3
		{
			get
			{
				return this.GetAttributeValue<string>("address2_telephone3");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Telephone3", "address2_telephone3", value);
			}
		}
		
		/// <summary>
		/// Strefa firmy United Parcel Service (UPS) dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_upszone")]
		public string Address2_UPSZone
		{
			get
			{
				return this.GetAttributeValue<string>("address2_upszone");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_UPSZone", "address2_upszone", value);
			}
		}
		
		/// <summary>
		/// Przesunięcie czasu UTC dla adresu 2. Jest to różnica między czasem lokalnym a standardowym uniwersalnym czasem koordynowanym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_utcoffset")]
		public System.Nullable<int> Address2_UTCOffset
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address2_utcoffset");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Address2_UTCOffset", "address2_utcoffset", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		public System.Nullable<System.Guid> BusinessUnitId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("businessunitid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("BusinessUnitId", "businessunitid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.BusinessUnitId = value;
			}
		}
		
		/// <summary>
		/// Kalendarz obrachunkowy skojarzony z jednostką biznesową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("calendarid")]
		public Microsoft.Xrm.Client.CrmEntityReference CalendarId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("calendarid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("CalendarId", "calendarid", value);
			}
		}
		
		/// <summary>
		/// Nazwa centrum kosztów jednostki biznesowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("costcenter")]
		public string CostCenter
		{
			get
			{
				return this.GetAttributeValue<string>("costcenter");
			}
			set
			{
				this.SetAttributeValue<string>("CostCenter", "costcenter", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył jednostkę biznesową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia jednostki biznesowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika-delegata, który utworzył jednostkę biznesową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Limit kredytu dla jednostki biznesowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("creditlimit")]
		public System.Nullable<double> CreditLimit
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("creditlimit");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("CreditLimit", "creditlimit", value);
			}
		}
		
		/// <summary>
		/// Opis jednostki biznesowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Przyczyna wyłączenia jednostki biznesowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("disabledreason")]
		public string DisabledReason
		{
			get
			{
				return this.GetAttributeValue<string>("disabledreason");
			}
		}
		
		/// <summary>
		/// Nazwa wydziału, do którego należy jednostka biznesowa.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("divisionname")]
		public string DivisionName
		{
			get
			{
				return this.GetAttributeValue<string>("divisionname");
			}
			set
			{
				this.SetAttributeValue<string>("DivisionName", "divisionname", value);
			}
		}
		
		/// <summary>
		/// Adres e-mail jednostki biznesowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("emailaddress")]
		public string EMailAddress
		{
			get
			{
				return this.GetAttributeValue<string>("emailaddress");
			}
			set
			{
				this.SetAttributeValue<string>("EMailAddress", "emailaddress", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z jednostką biznesową w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Nazwa alternatywna, pod którą można zachować jednostkę biznesową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fileasname")]
		public string FileAsName
		{
			get
			{
				return this.GetAttributeValue<string>("fileasname");
			}
			set
			{
				this.SetAttributeValue<string>("FileAsName", "fileasname", value);
			}
		}
		
		/// <summary>
		/// Adres URL witryny FTP jednostki biznesowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ftpsiteurl")]
		public string FtpSiteUrl
		{
			get
			{
				return this.GetAttributeValue<string>("ftpsiteurl");
			}
			set
			{
				this.SetAttributeValue<string>("FtpSiteUrl", "ftpsiteurl", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Maska dziedziczenia jednostki biznesowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("inheritancemask")]
		public System.Nullable<int> InheritanceMask
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("inheritancemask");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("InheritanceMask", "inheritancemask", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy jednostka biznesowa jest włączona, czy wyłączona.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isdisabled")]
		public System.Nullable<bool> IsDisabled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isdisabled");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował jednostkę biznesową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji jednostki biznesowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika-delegata, który jako ostatni zmodyfikował jednostkę biznesową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa jednostki biznesowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z tą jednostką biznesową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator nadrzędnej jednostki biznesowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentbusinessunitid")]
		public Microsoft.Xrm.Client.CrmEntityReference ParentBusinessUnitId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("parentbusinessunitid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ParentBusinessUnitId", "parentbusinessunitid", value);
			}
		}
		
		/// <summary>
		/// Obraz lub diagram jednostki biznesowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("picture")]
		public string Picture
		{
			get
			{
				return this.GetAttributeValue<string>("picture");
			}
			set
			{
				this.SetAttributeValue<string>("Picture", "picture", value);
			}
		}
		
		/// <summary>
		/// Giełda, na której jest notowana firma.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("stockexchange")]
		public string StockExchange
		{
			get
			{
				return this.GetAttributeValue<string>("stockexchange");
			}
			set
			{
				this.SetAttributeValue<string>("StockExchange", "stockexchange", value);
			}
		}
		
		/// <summary>
		/// Symbol giełdowy jednostki biznesowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("tickersymbol")]
		public string TickerSymbol
		{
			get
			{
				return this.GetAttributeValue<string>("tickersymbol");
			}
			set
			{
				this.SetAttributeValue<string>("TickerSymbol", "tickersymbol", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z jednostką biznesową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Przesunięcie czasu UTC dla jednostki biznesowej. Jest to różnica między czasem lokalnym a standardowym uniwersalnym czasem koordynowanym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcoffset")]
		public System.Nullable<int> UTCOffset
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcoffset");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCOffset", "utcoffset", value);
			}
		}
		
		/// <summary>
		/// Numer wersji jednostki biznesowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// Adres URL witryny sieci Web jednostki biznesowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("websiteurl")]
		public string WebSiteUrl
		{
			get
			{
				return this.GetAttributeValue<string>("websiteurl");
			}
			set
			{
				this.SetAttributeValue<string>("WebSiteUrl", "websiteurl", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy reguły przepływu pracy lub reguły procesu sprzedaży zostały zawieszone.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("workflowsuspended")]
		public System.Nullable<bool> WorkflowSuspended
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("workflowsuspended");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("WorkflowSuspended", "workflowsuspended", value);
			}
		}
		
		/// <summary>
		/// 1:N business_customer_opportunity_roles
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_customer_opportunity_roles")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerOpportunityRole> business_customer_opportunity_roles
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerOpportunityRole>("business_customer_opportunity_roles", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerOpportunityRole>("business_customer_opportunity_roles", "business_customer_opportunity_roles", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_accounts")]
		public System.Collections.Generic.IEnumerable<Xrm.Account> business_unit_accounts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Account>("business_unit_accounts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Account>("business_unit_accounts", "business_unit_accounts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_activitypointer
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_activitypointer")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityPointer> business_unit_activitypointer
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityPointer>("business_unit_activitypointer", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityPointer>("business_unit_activitypointer", "business_unit_activitypointer", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_annotations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_annotations")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> business_unit_annotations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("business_unit_annotations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("business_unit_annotations", "business_unit_annotations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_appointment_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_appointment_activities")]
		public System.Collections.Generic.IEnumerable<Xrm.Appointment> business_unit_appointment_activities
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Appointment>("business_unit_appointment_activities", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Appointment>("business_unit_appointment_activities", "business_unit_appointment_activities", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_asyncoperation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_asyncoperation")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> business_unit_asyncoperation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("business_unit_asyncoperation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("business_unit_asyncoperation", "business_unit_asyncoperation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_BulkOperation_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_BulkOperation_activities")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkOperation> business_unit_BulkOperation_activities
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkOperation>("business_unit_BulkOperation_activities", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkOperation>("business_unit_BulkOperation_activities", "business_unit_BulkOperation_activities", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_calendars
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_calendars")]
		public System.Collections.Generic.IEnumerable<Xrm.Calendar> business_unit_calendars
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Calendar>("business_unit_calendars", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Calendar>("business_unit_calendars", "business_unit_calendars", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_campaignactivity_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_campaignactivity_activities")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignActivity> business_unit_campaignactivity_activities
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignActivity>("business_unit_campaignactivity_activities", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignActivity>("business_unit_campaignactivity_activities", "business_unit_campaignactivity_activities", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_campaignresponse_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_campaignresponse_activities")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignResponse> business_unit_campaignresponse_activities
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignResponse>("business_unit_campaignresponse_activities", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignResponse>("business_unit_campaignresponse_activities", "business_unit_campaignresponse_activities", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_connections
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_connections")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> business_unit_connections
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("business_unit_connections", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("business_unit_connections", "business_unit_connections", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_constraint_based_groups
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_constraint_based_groups")]
		public System.Collections.Generic.IEnumerable<Xrm.ConstraintBasedGroup> business_unit_constraint_based_groups
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ConstraintBasedGroup>("business_unit_constraint_based_groups", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ConstraintBasedGroup>("business_unit_constraint_based_groups", "business_unit_constraint_based_groups", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_contacts")]
		public System.Collections.Generic.IEnumerable<Xrm.Contact> business_unit_contacts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contact>("business_unit_contacts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contact>("business_unit_contacts", "business_unit_contacts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_customer_relationship
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_customer_relationship")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerRelationship> business_unit_customer_relationship
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerRelationship>("business_unit_customer_relationship", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerRelationship>("business_unit_customer_relationship", "business_unit_customer_relationship", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_email_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_email_activities")]
		public System.Collections.Generic.IEnumerable<Xrm.Email> business_unit_email_activities
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Email>("business_unit_email_activities", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Email>("business_unit_email_activities", "business_unit_email_activities", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_equipment
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_equipment")]
		public System.Collections.Generic.IEnumerable<Xrm.Equipment> business_unit_equipment
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Equipment>("business_unit_equipment", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Equipment>("business_unit_equipment", "business_unit_equipment", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_fax_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_fax_activities")]
		public System.Collections.Generic.IEnumerable<Xrm.Fax> business_unit_fax_activities
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Fax>("business_unit_fax_activities", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Fax>("business_unit_fax_activities", "business_unit_fax_activities", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_goal
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_goal")]
		public System.Collections.Generic.IEnumerable<Xrm.Goal> business_unit_goal
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Goal>("business_unit_goal", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Goal>("business_unit_goal", "business_unit_goal", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_goalrollupquery
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_goalrollupquery")]
		public System.Collections.Generic.IEnumerable<Xrm.GoalRollupQuery> business_unit_goalrollupquery
		{
			get
			{
				return this.GetRelatedEntities<Xrm.GoalRollupQuery>("business_unit_goalrollupquery", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.GoalRollupQuery>("business_unit_goalrollupquery", "business_unit_goalrollupquery", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_incident_resolution_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_incident_resolution_activities")]
		public System.Collections.Generic.IEnumerable<Xrm.IncidentResolution> business_unit_incident_resolution_activities
		{
			get
			{
				return this.GetRelatedEntities<Xrm.IncidentResolution>("business_unit_incident_resolution_activities", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.IncidentResolution>("business_unit_incident_resolution_activities", "business_unit_incident_resolution_activities", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_incidents
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_incidents")]
		public System.Collections.Generic.IEnumerable<Xrm.Incident> business_unit_incidents
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Incident>("business_unit_incidents", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Incident>("business_unit_incidents", "business_unit_incidents", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_invoices
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_invoices")]
		public System.Collections.Generic.IEnumerable<Xrm.Invoice> business_unit_invoices
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Invoice>("business_unit_invoices", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Invoice>("business_unit_invoices", "business_unit_invoices", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_leads
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_leads")]
		public System.Collections.Generic.IEnumerable<Xrm.Lead> business_unit_leads
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Lead>("business_unit_leads", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Lead>("business_unit_leads", "business_unit_leads", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_letter_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_letter_activities")]
		public System.Collections.Generic.IEnumerable<Xrm.Letter> business_unit_letter_activities
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Letter>("business_unit_letter_activities", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Letter>("business_unit_letter_activities", "business_unit_letter_activities", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_list
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_list")]
		public System.Collections.Generic.IEnumerable<Xrm.List> business_unit_list
		{
			get
			{
				return this.GetRelatedEntities<Xrm.List>("business_unit_list", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.List>("business_unit_list", "business_unit_list", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_mailmergetemplates
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_mailmergetemplates")]
		public System.Collections.Generic.IEnumerable<Xrm.MailMergeTemplate> business_unit_mailmergetemplates
		{
			get
			{
				return this.GetRelatedEntities<Xrm.MailMergeTemplate>("business_unit_mailmergetemplates", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.MailMergeTemplate>("business_unit_mailmergetemplates", "business_unit_mailmergetemplates", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_msdyn_postalbum
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_msdyn_postalbum")]
		public System.Collections.Generic.IEnumerable<Xrm.msdyn_PostAlbum> business_unit_msdyn_postalbum
		{
			get
			{
				return this.GetRelatedEntities<Xrm.msdyn_PostAlbum>("business_unit_msdyn_postalbum", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.msdyn_PostAlbum>("business_unit_msdyn_postalbum", "business_unit_msdyn_postalbum", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_new_uzytkownicy
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_new_uzytkownicy")]
		public System.Collections.Generic.IEnumerable<Xrm.new_uzytkownicy> business_unit_new_uzytkownicy
		{
			get
			{
				return this.GetRelatedEntities<Xrm.new_uzytkownicy>("business_unit_new_uzytkownicy", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.new_uzytkownicy>("business_unit_new_uzytkownicy", "business_unit_new_uzytkownicy", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_new_uzytkownikkontakty
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_new_uzytkownikkontakty")]
		public System.Collections.Generic.IEnumerable<Xrm.new_uzytkownikkontakty> business_unit_new_uzytkownikkontakty
		{
			get
			{
				return this.GetRelatedEntities<Xrm.new_uzytkownikkontakty>("business_unit_new_uzytkownikkontakty", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.new_uzytkownikkontakty>("business_unit_new_uzytkownikkontakty", "business_unit_new_uzytkownikkontakty", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_new_zainteresowanie
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_new_zainteresowanie")]
		public System.Collections.Generic.IEnumerable<Xrm.new_zainteresowanie> business_unit_new_zainteresowanie
		{
			get
			{
				return this.GetRelatedEntities<Xrm.new_zainteresowanie>("business_unit_new_zainteresowanie", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.new_zainteresowanie>("business_unit_new_zainteresowanie", "business_unit_new_zainteresowanie", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_opportunities
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_opportunities")]
		public System.Collections.Generic.IEnumerable<Xrm.Opportunity> business_unit_opportunities
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Opportunity>("business_unit_opportunities", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Opportunity>("business_unit_opportunities", "business_unit_opportunities", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_opportunity_close_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_opportunity_close_activities")]
		public System.Collections.Generic.IEnumerable<Xrm.OpportunityClose> business_unit_opportunity_close_activities
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OpportunityClose>("business_unit_opportunity_close_activities", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OpportunityClose>("business_unit_opportunity_close_activities", "business_unit_opportunity_close_activities", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_order_close_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_order_close_activities")]
		public System.Collections.Generic.IEnumerable<Xrm.OrderClose> business_unit_order_close_activities
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OrderClose>("business_unit_order_close_activities", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OrderClose>("business_unit_order_close_activities", "business_unit_order_close_activities", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_orders
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_orders")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesOrder> business_unit_orders
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesOrder>("business_unit_orders", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesOrder>("business_unit_orders", "business_unit_orders", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_parent_business_unit
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_parent_business_unit", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.BusinessUnit> Referencedbusiness_unit_parent_business_unit
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BusinessUnit>("business_unit_parent_business_unit", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BusinessUnit>("Referencedbusiness_unit_parent_business_unit", "business_unit_parent_business_unit", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_phone_call_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_phone_call_activities")]
		public System.Collections.Generic.IEnumerable<Xrm.PhoneCall> business_unit_phone_call_activities
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PhoneCall>("business_unit_phone_call_activities", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PhoneCall>("business_unit_phone_call_activities", "business_unit_phone_call_activities", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_postfollows
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_postfollows")]
		public System.Collections.Generic.IEnumerable<Xrm.PostFollow> business_unit_postfollows
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PostFollow>("business_unit_postfollows", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PostFollow>("business_unit_postfollows", "business_unit_postfollows", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_queues
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_queues")]
		public System.Collections.Generic.IEnumerable<Xrm.Queue> business_unit_queues
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Queue>("business_unit_queues", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Queue>("business_unit_queues", "business_unit_queues", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_queues2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_queues2")]
		public System.Collections.Generic.IEnumerable<Xrm.Queue> business_unit_queues2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Queue>("business_unit_queues2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Queue>("business_unit_queues2", "business_unit_queues2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_quote_close_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_quote_close_activities")]
		public System.Collections.Generic.IEnumerable<Xrm.QuoteClose> business_unit_quote_close_activities
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QuoteClose>("business_unit_quote_close_activities", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QuoteClose>("business_unit_quote_close_activities", "business_unit_quote_close_activities", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_quotes
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_quotes")]
		public System.Collections.Generic.IEnumerable<Xrm.Quote> business_unit_quotes
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Quote>("business_unit_quotes", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Quote>("business_unit_quotes", "business_unit_quotes", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_recurrencerule
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_recurrencerule")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurrenceRule> business_unit_recurrencerule
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurrenceRule>("business_unit_recurrencerule", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurrenceRule>("business_unit_recurrencerule", "business_unit_recurrencerule", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_recurringappointmentmaster_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_recurringappointmentmaster_activities")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurringAppointmentMaster> business_unit_recurringappointmentmaster_activities
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurringAppointmentMaster>("business_unit_recurringappointmentmaster_activities", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurringAppointmentMaster>("business_unit_recurringappointmentmaster_activities", "business_unit_recurringappointmentmaster_activities", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_reports
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_reports")]
		public System.Collections.Generic.IEnumerable<Xrm.Report> business_unit_reports
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Report>("business_unit_reports", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Report>("business_unit_reports", "business_unit_reports", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_resource_groups
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_resource_groups")]
		public System.Collections.Generic.IEnumerable<Xrm.ResourceGroup> business_unit_resource_groups
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ResourceGroup>("business_unit_resource_groups", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ResourceGroup>("business_unit_resource_groups", "business_unit_resource_groups", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_resource_specs
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_resource_specs")]
		public System.Collections.Generic.IEnumerable<Xrm.ResourceSpec> business_unit_resource_specs
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ResourceSpec>("business_unit_resource_specs", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ResourceSpec>("business_unit_resource_specs", "business_unit_resource_specs", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_resources
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_resources")]
		public System.Collections.Generic.IEnumerable<Xrm.Resource> business_unit_resources
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Resource>("business_unit_resources", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Resource>("business_unit_resources", "business_unit_resources", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_roles
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_roles")]
		public System.Collections.Generic.IEnumerable<Xrm.Role> business_unit_roles
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Role>("business_unit_roles", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Role>("business_unit_roles", "business_unit_roles", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_service_appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_service_appointments")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceAppointment> business_unit_service_appointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceAppointment>("business_unit_service_appointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceAppointment>("business_unit_service_appointments", "business_unit_service_appointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_service_contracts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_service_contracts")]
		public System.Collections.Generic.IEnumerable<Xrm.Contract> business_unit_service_contracts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contract>("business_unit_service_contracts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contract>("business_unit_service_contracts", "business_unit_service_contracts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_sharepointdocumentlocation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_sharepointdocumentlocation")]
		public System.Collections.Generic.IEnumerable<Xrm.SharePointDocumentLocation> business_unit_sharepointdocumentlocation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SharePointDocumentLocation>("business_unit_sharepointdocumentlocation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SharePointDocumentLocation>("business_unit_sharepointdocumentlocation", "business_unit_sharepointdocumentlocation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_sharepointsites
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_sharepointsites")]
		public System.Collections.Generic.IEnumerable<Xrm.SharePointSite> business_unit_sharepointsites
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SharePointSite>("business_unit_sharepointsites", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SharePointSite>("business_unit_sharepointsites", "business_unit_sharepointsites", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_system_users
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_system_users")]
		public System.Collections.Generic.IEnumerable<Xrm.SystemUser> business_unit_system_users
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SystemUser>("business_unit_system_users", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SystemUser>("business_unit_system_users", "business_unit_system_users", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_task_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_task_activities")]
		public System.Collections.Generic.IEnumerable<Xrm.Task> business_unit_task_activities
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Task>("business_unit_task_activities", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Task>("business_unit_task_activities", "business_unit_task_activities", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_teams
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_teams")]
		public System.Collections.Generic.IEnumerable<Xrm.Team> business_unit_teams
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Team>("business_unit_teams", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Team>("business_unit_teams", "business_unit_teams", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_templates
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_templates")]
		public System.Collections.Generic.IEnumerable<Xrm.Template> business_unit_templates
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Template>("business_unit_templates", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Template>("business_unit_templates", "business_unit_templates", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_user_settings
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_user_settings")]
		public System.Collections.Generic.IEnumerable<Xrm.UserSettings> business_unit_user_settings
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserSettings>("business_unit_user_settings", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserSettings>("business_unit_user_settings", "business_unit_user_settings", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_userform
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_userform")]
		public System.Collections.Generic.IEnumerable<Xrm.UserForm> business_unit_userform
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserForm>("business_unit_userform", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserForm>("business_unit_userform", "business_unit_userform", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_userquery
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_userquery")]
		public System.Collections.Generic.IEnumerable<Xrm.UserQuery> business_unit_userquery
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserQuery>("business_unit_userquery", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserQuery>("business_unit_userquery", "business_unit_userquery", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_userqueryvisualizations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_userqueryvisualizations")]
		public System.Collections.Generic.IEnumerable<Xrm.UserQueryVisualization> business_unit_userqueryvisualizations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserQueryVisualization>("business_unit_userqueryvisualizations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserQueryVisualization>("business_unit_userqueryvisualizations", "business_unit_userqueryvisualizations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_workflow
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_workflow")]
		public System.Collections.Generic.IEnumerable<Xrm.Workflow> business_unit_workflow
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Workflow>("business_unit_workflow", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Workflow>("business_unit_workflow", "business_unit_workflow", null, value);
			}
		}
		
		/// <summary>
		/// 1:N business_unit_workflowlogs
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_workflowlogs")]
		public System.Collections.Generic.IEnumerable<Xrm.WorkflowLog> business_unit_workflowlogs
		{
			get
			{
				return this.GetRelatedEntities<Xrm.WorkflowLog>("business_unit_workflowlogs", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.WorkflowLog>("business_unit_workflowlogs", "business_unit_workflowlogs", null, value);
			}
		}
		
		/// <summary>
		/// 1:N BusinessUnit_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BusinessUnit_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> BusinessUnit_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("BusinessUnit_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("BusinessUnit_AsyncOperations", "BusinessUnit_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N BusinessUnit_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BusinessUnit_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> BusinessUnit_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("BusinessUnit_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("BusinessUnit_BulkDeleteFailures", "BusinessUnit_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N BusinessUnit_Campaigns
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BusinessUnit_Campaigns")]
		public System.Collections.Generic.IEnumerable<Xrm.Campaign> BusinessUnit_Campaigns
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Campaign>("BusinessUnit_Campaigns", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Campaign>("BusinessUnit_Campaigns", "BusinessUnit_Campaigns", null, value);
			}
		}
		
		/// <summary>
		/// 1:N BusinessUnit_DuplicateRules
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BusinessUnit_DuplicateRules")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRule> BusinessUnit_DuplicateRules
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRule>("BusinessUnit_DuplicateRules", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRule>("BusinessUnit_DuplicateRules", "BusinessUnit_DuplicateRules", null, value);
			}
		}
		
		/// <summary>
		/// 1:N BusinessUnit_ImportFiles
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BusinessUnit_ImportFiles")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportFile> BusinessUnit_ImportFiles
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportFile>("BusinessUnit_ImportFiles", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportFile>("BusinessUnit_ImportFiles", "BusinessUnit_ImportFiles", null, value);
			}
		}
		
		/// <summary>
		/// 1:N BusinessUnit_ImportLogs
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BusinessUnit_ImportLogs")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportLog> BusinessUnit_ImportLogs
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportLog>("BusinessUnit_ImportLogs", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportLog>("BusinessUnit_ImportLogs", "BusinessUnit_ImportLogs", null, value);
			}
		}
		
		/// <summary>
		/// 1:N BusinessUnit_ImportMaps
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BusinessUnit_ImportMaps")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportMap> BusinessUnit_ImportMaps
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportMap>("BusinessUnit_ImportMaps", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportMap>("BusinessUnit_ImportMaps", "BusinessUnit_ImportMaps", null, value);
			}
		}
		
		/// <summary>
		/// 1:N BusinessUnit_Imports
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BusinessUnit_Imports")]
		public System.Collections.Generic.IEnumerable<Xrm.Import> BusinessUnit_Imports
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Import>("BusinessUnit_Imports", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Import>("BusinessUnit_Imports", "BusinessUnit_Imports", null, value);
			}
		}
		
		/// <summary>
		/// 1:N businessunit_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("businessunit_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> businessunit_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("businessunit_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("businessunit_principalobjectattributeaccess", "businessunit_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N BusinessUnit_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BusinessUnit_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> BusinessUnit_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("BusinessUnit_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("BusinessUnit_ProcessSessions", "BusinessUnit_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Owning_businessunit_processsessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Owning_businessunit_processsessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Owning_businessunit_processsessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Owning_businessunit_processsessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Owning_businessunit_processsessions", "Owning_businessunit_processsessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_businessunit
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_businessunit")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_businessunit
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_businessunit", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_businessunit", "userentityinstancedata_businessunit", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityuisettings_businessunit
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityuisettings_businessunit")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityUISettings> userentityuisettings_businessunit
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityUISettings>("userentityuisettings_businessunit", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityUISettings>("userentityuisettings_businessunit", "userentityuisettings_businessunit", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_parent_business_unit
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentbusinessunitid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_parent_business_unit", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.BusinessUnit Referencingbusiness_unit_parent_business_unit
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_parent_business_unit", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BusinessUnit>("Referencingbusiness_unit_parent_business_unit", "business_unit_parent_business_unit", Microsoft.Xrm.Sdk.EntityRole.Referencing, value);
			}
		}
		
		/// <summary>
		/// N:1 BusinessUnit_Calendar
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("calendarid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BusinessUnit_Calendar")]
		public Xrm.Calendar BusinessUnit_Calendar
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Calendar>("BusinessUnit_Calendar", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Calendar>("BusinessUnit_Calendar", "BusinessUnit_Calendar", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_businessunit_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_businessunit_createdonbehalfby")]
		public Xrm.SystemUser lk_businessunit_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_businessunit_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_businessunit_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_businessunit_modifiedonbehalfby")]
		public Xrm.SystemUser lk_businessunit_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_businessunit_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_businessunitbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_businessunitbase_createdby")]
		public Xrm.SystemUser lk_businessunitbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_businessunitbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_businessunitbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_businessunitbase_modifiedby")]
		public Xrm.SystemUser lk_businessunitbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_businessunitbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_business_units
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_business_units")]
		public Xrm.Organization organization_business_units
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_business_units", null);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_BusinessUnit
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_BusinessUnit")]
		public Xrm.TransactionCurrency TransactionCurrency_BusinessUnit
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_BusinessUnit", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_BusinessUnit", "TransactionCurrency_BusinessUnit", null, value);
			}
		}
	}
	
	/// <summary>
	/// Anons skojarzony z organizacją.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("businessunitnewsarticle")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("BusinessUnitNewsArticleSet")]
	public partial class BusinessUnitNewsArticle : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public BusinessUnitNewsArticle() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "businessunitnewsarticle";
		
		public const int EntityTypeCode = 132;
		
		/// <summary>
		/// Data i godzina, kiedy anons staje się aktywny.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activeon")]
		public System.Nullable<System.DateTime> ActiveOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("activeon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActiveOn", "activeon", value);
			}
		}
		
		/// <summary>
		/// Data i godzina, kiedy anons przestaje być aktywny.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activeuntil")]
		public System.Nullable<System.DateTime> ActiveUntil
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("activeuntil");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActiveUntil", "activeuntil", value);
			}
		}
		
		/// <summary>
		/// Tytuł anonsu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("articletitle")]
		public string ArticleTitle
		{
			get
			{
				return this.GetAttributeValue<string>("articletitle");
			}
			set
			{
				this.SetAttributeValue<string>("ArticleTitle", "articletitle", value);
			}
		}
		
		/// <summary>
		/// Typ anonsu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("articletypecode")]
		public System.Nullable<int> ArticleTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("articletypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ArticleTypeCode", "articletypecode", value);
			}
		}
		
		/// <summary>
		/// Adres URL witryny sieci Web, na której znajduje się anons.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("articleurl")]
		public string ArticleUrl
		{
			get
			{
				return this.GetAttributeValue<string>("articleurl");
			}
			set
			{
				this.SetAttributeValue<string>("ArticleUrl", "articleurl", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator anonsu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitnewsarticleid")]
		public System.Nullable<System.Guid> BusinessUnitNewsArticleId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("businessunitnewsarticleid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("BusinessUnitNewsArticleId", "businessunitnewsarticleid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitnewsarticleid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.BusinessUnitNewsArticleId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył anons.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia anonsu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika-delegata, który utworzył artykuł informacyjny jednostki biznesowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował anons.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji anonsu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika-delegata, który jako ostatni zmodyfikował artykuł informacyjny jednostki biznesowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Tekst anonsu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("newsarticle")]
		public string NewsArticle
		{
			get
			{
				return this.GetAttributeValue<string>("newsarticle");
			}
			set
			{
				this.SetAttributeValue<string>("NewsArticle", "newsarticle", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej w anonsem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy pokazywać anons na stronie głównej witryny sieci Web.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("showonhomepage")]
		public System.Nullable<bool> ShowOnHomepage
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("showonhomepage");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("ShowOnHomepage", "showonhomepage", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N BusinessUnitNewsArticle_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BusinessUnitNewsArticle_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> BusinessUnitNewsArticle_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("BusinessUnitNewsArticle_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("BusinessUnitNewsArticle_AsyncOperations", "BusinessUnitNewsArticle_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N BusinessUnitNewsArticle_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BusinessUnitNewsArticle_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> BusinessUnitNewsArticle_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("BusinessUnitNewsArticle_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("BusinessUnitNewsArticle_BulkDeleteFailures", "BusinessUnitNewsArticle_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N BusinessUnitNewsArticle_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BusinessUnitNewsArticle_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> BusinessUnitNewsArticle_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("BusinessUnitNewsArticle_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("BusinessUnitNewsArticle_ProcessSessions", "BusinessUnitNewsArticle_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_businessunitnewsarticle
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_businessunitnewsarticle")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_businessunitnewsarticle
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_businessunitnewsarticle", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_businessunitnewsarticle", "userentityinstancedata_businessunitnewsarticle", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_businessunitnewsarticle_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_businessunitnewsarticle_createdonbehalfby")]
		public Xrm.SystemUser lk_businessunitnewsarticle_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_businessunitnewsarticle_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_businessunitnewsarticle_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_businessunitnewsarticle_modifiedonbehalfby")]
		public Xrm.SystemUser lk_businessunitnewsarticle_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_businessunitnewsarticle_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_businessunitnewsarticlebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_businessunitnewsarticlebase_createdby")]
		public Xrm.SystemUser lk_businessunitnewsarticlebase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_businessunitnewsarticlebase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_businessunitnewsarticlebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_businessunitnewsarticlebase_modifiedby")]
		public Xrm.SystemUser lk_businessunitnewsarticlebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_businessunitnewsarticlebase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_business_unit_news_articles
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_business_unit_news_articles")]
		public Xrm.Organization organization_business_unit_news_articles
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_business_unit_news_articles", null);
			}
		}
	}
	
	/// <summary>
	/// Kalendarz używany w systemie planowania do definiowania czasu wystąpienia terminu lub działania.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("calendar")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData", "CalendarRules")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("CalendarSet")]
	public partial class Calendar : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Calendar() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "calendar";
		
		public const int EntityTypeCode = 4003;
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, z którą jest skojarzony kalendarz.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		public Microsoft.Xrm.Client.CrmEntityReference BusinessUnitId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("businessunitid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("BusinessUnitId", "businessunitid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kalendarza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("calendarid")]
		public System.Nullable<System.Guid> CalendarId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("calendarid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("CalendarId", "calendarid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("calendarid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.CalendarId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył kalendarz.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia kalendarza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika-delegata, który utworzył kalendarz.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Kalendarz używany w systemie planowania do definiowania czasu wystąpienia terminu lub działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Kalendarz jest udostępniony innym kalendarzom, np. kalendarzowi organizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isshared")]
		public System.Nullable<bool> IsShared
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isshared");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsShared", "isshared", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował kalendarz.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji kalendarza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika-delegata, który jako ostatni zmodyfikował kalendarz.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa kalendarza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji, z którą jest skojarzony kalendarz.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator podstawowego użytkownika tego kalendarza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("primaryuserid")]
		public System.Nullable<System.Guid> PrimaryUserId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("primaryuserid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("PrimaryUserId", "primaryuserid", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N BusinessUnit_Calendar
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BusinessUnit_Calendar")]
		public System.Collections.Generic.IEnumerable<Xrm.BusinessUnit> BusinessUnit_Calendar
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BusinessUnit>("BusinessUnit_Calendar", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BusinessUnit>("BusinessUnit_Calendar", "BusinessUnit_Calendar", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Calendar_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Calendar_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> Calendar_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("Calendar_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("Calendar_Annotation", "Calendar_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Calendar_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Calendar_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Calendar_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Calendar_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Calendar_AsyncOperations", "Calendar_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Calendar_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Calendar_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Calendar_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Calendar_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Calendar_BulkDeleteFailures", "Calendar_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N calendar_calendar_rules
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("calendarrules")]
		public System.Collections.Generic.IEnumerable<Xrm.CalendarRule> CalendarRules
		{
			get
			{
				return this.GetAttributeCollectionValue<Xrm.CalendarRule>("calendarrules");
			}
			set
			{
				this.SetAttributeCollectionValue<Xrm.CalendarRule>("CalendarRules", "calendarrules", value);
			}
		}
		
		/// <summary>
		/// 1:N calendar_equipment
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("calendar_equipment")]
		public System.Collections.Generic.IEnumerable<Xrm.Equipment> calendar_equipment
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Equipment>("calendar_equipment", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Equipment>("calendar_equipment", "calendar_equipment", null, value);
			}
		}
		
		/// <summary>
		/// 1:N calendar_organization
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("calendar_organization")]
		public System.Collections.Generic.IEnumerable<Xrm.Organization> calendar_organization
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Organization>("calendar_organization", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Organization>("calendar_organization", "calendar_organization", null, value);
			}
		}
		
		/// <summary>
		/// 1:N calendar_services
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("calendar_services")]
		public System.Collections.Generic.IEnumerable<Xrm.Service> calendar_services
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Service>("calendar_services", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Service>("calendar_services", "calendar_services", null, value);
			}
		}
		
		/// <summary>
		/// 1:N calendar_system_users
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("calendar_system_users")]
		public System.Collections.Generic.IEnumerable<Xrm.SystemUser> calendar_system_users
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SystemUser>("calendar_system_users", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SystemUser>("calendar_system_users", "calendar_system_users", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_calendar
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_calendar")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_calendar
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_calendar", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_calendar", "userentityinstancedata_calendar", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_calendars
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_calendars")]
		public Xrm.BusinessUnit business_unit_calendars
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_calendars", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BusinessUnit>("business_unit_calendars", "business_unit_calendars", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_calendar_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_calendar_createdby")]
		public Xrm.SystemUser lk_calendar_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_calendar_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_calendar_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_calendar_createdonbehalfby")]
		public Xrm.SystemUser lk_calendar_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_calendar_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_calendar_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_calendar_modifiedby")]
		public Xrm.SystemUser lk_calendar_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_calendar_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_calendar_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_calendar_modifiedonbehalfby")]
		public Xrm.SystemUser lk_calendar_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_calendar_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_calendars
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_calendars")]
		public Xrm.Organization organization_calendars
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_calendars", null);
			}
		}
	}
	
	/// <summary>
	/// Definiuje czas wolny/zajęty, na przykład godziny pracy, wolne od pracy, wakacje i zablokowane, dla usługi i dla zasobów lub grup zasobów.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("calendarrule")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("CalendarRuleSet")]
	public partial class CalendarRule : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public CalendarRule() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "calendarrule";
		
		public const int EntityTypeCode = 4004;
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, z którą jest skojarzona reguła kalendarza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		public System.Nullable<System.Guid> BusinessUnitId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("businessunitid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kalendarza, z którym jest skojarzona reguła kalendarza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("calendarid")]
		public Microsoft.Xrm.Client.CrmEntityReference CalendarId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("calendarid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("CalendarId", "calendarid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator reguły kalendarza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("calendarruleid")]
		public System.Nullable<System.Guid> CalendarRuleId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("calendarruleid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("CalendarRuleId", "calendarruleid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("calendarruleid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.CalendarRuleId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył regułę kalendarza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia reguły kalendarza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika-delegata, który utworzył regułę kalendarza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Definiuje czas wolny/zajęty, na przykład godziny pracy, wolne od pracy, wakacje i zablokowane, dla usługi i dla zasobu lub grup zasobów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Czas trwania reguły kalendarza w minutach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duration")]
		public System.Nullable<int> Duration
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("duration");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Duration", "duration", value);
			}
		}
		
		/// <summary>
		/// Koniec interwału obowiązywania reguły kalendarza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("effectiveintervalend")]
		public System.Nullable<System.DateTime> EffectiveIntervalEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("effectiveintervalend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("EffectiveIntervalEnd", "effectiveintervalend", value);
			}
		}
		
		/// <summary>
		/// Początek interwału obowiązywania reguły kalendarza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("effectiveintervalstart")]
		public System.Nullable<System.DateTime> EffectiveIntervalStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("effectiveintervalstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("EffectiveIntervalStart", "effectiveintervalstart", value);
			}
		}
		
		/// <summary>
		/// Nakład pracy dostępny dla zasobu w czasie opisanym przez regułę kalendarza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("effort")]
		public System.Nullable<double> Effort
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("effort");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Effort", "effort", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("endtime")]
		public System.Nullable<System.DateTime> EndTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("endtime");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("EndTime", "endtime", value);
			}
		}
		
		/// <summary>
		/// Zakres reguły kalendarza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("extentcode")]
		public System.Nullable<int> ExtentCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("extentcode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ExtentCode", "extentcode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator grupy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("groupdesignator")]
		public string GroupDesignator
		{
			get
			{
				return this.GetAttributeValue<string>("groupdesignator");
			}
			set
			{
				this.SetAttributeValue<string>("GroupDesignator", "groupdesignator", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kalendarza wewnętrznego dla reguł kalendarza typu innego niż liść.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("innercalendarid")]
		public Microsoft.Xrm.Client.CrmEntityReference InnerCalendarId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("innercalendarid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("InnerCalendarId", "innercalendarid", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismodified")]
		public System.Nullable<bool> IsModified
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismodified");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsModified", "ismodified", value);
			}
		}
		
		/// <summary>
		/// Flaga używana w regułach kalendarza różnych w zależności od dnia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isselected")]
		public System.Nullable<bool> IsSelected
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isselected");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsSelected", "isselected", value);
			}
		}
		
		/// <summary>
		/// Flaga używana w regułach kalendarza różnych w zależności od dnia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("issimple")]
		public System.Nullable<bool> IsSimple
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("issimple");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsSimple", "issimple", value);
			}
		}
		
		/// <summary>
		/// Flaga używana w niecyklicznych regułach typu liść.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isvaried")]
		public System.Nullable<bool> IsVaried
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isvaried");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsVaried", "isvaried", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował regułę kalendarza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji reguły kalendarza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika-delegata, który jako ostatni zmodyfikował regułę kalendarza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa reguły kalendarza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Początkowe przesunięcie niecyklicznych reguł typu liść.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("offset")]
		public System.Nullable<int> Offset
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("offset");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Offset", "offset", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji, z którą jest skojarzona ta reguła kalendarza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public System.Nullable<System.Guid> OrganizationId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("organizationid");
			}
		}
		
		/// <summary>
		/// Wzorzec cykliczności reguły.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pattern")]
		public string Pattern
		{
			get
			{
				return this.GetAttributeValue<string>("pattern");
			}
			set
			{
				this.SetAttributeValue<string>("Pattern", "pattern", value);
			}
		}
		
		/// <summary>
		/// Ranga reguły kalendarza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("rank")]
		public System.Nullable<int> Rank
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("rank");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Rank", "rank", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator usługi, z którą jest skojarzona ta reguła kalendarza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		public Microsoft.Xrm.Client.CrmEntityReference ServiceId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("serviceid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ServiceId", "serviceid", value);
			}
		}
		
		/// <summary>
		/// Czas rozpoczęcia reguły.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("starttime")]
		public System.Nullable<System.DateTime> StartTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("starttime");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("StartTime", "starttime", value);
			}
		}
		
		/// <summary>
		/// Podtyp reguły kalendarza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subcode")]
		public System.Nullable<int> SubCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("subcode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("SubCode", "subcode", value);
			}
		}
		
		/// <summary>
		/// Typ reguły kalendarza, np. godziny pracy, przerwa, urlop lub czas wolny.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timecode")]
		public System.Nullable<int> TimeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeCode", "timecode", value);
			}
		}
		
		/// <summary>
		/// Lokalna strefa czasowa dla reguły kalendarza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonecode")]
		public System.Nullable<int> TimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneCode", "timezonecode", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_calendarrule
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_calendarrule")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_calendarrule
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_calendarrule", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_calendarrule", "userentityinstancedata_calendarrule", null, value);
			}
		}
		
		/// <summary>
		/// N:1 calendar_calendar_rules
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("calendarid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("calendar_calendar_rules")]
		public Xrm.Calendar calendar_calendar_rules
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Calendar>("calendar_calendar_rules", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Calendar>("calendar_calendar_rules", "calendar_calendar_rules", null, value);
			}
		}
		
		/// <summary>
		/// N:1 inner_calendar_calendar_rules
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("innercalendarid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("inner_calendar_calendar_rules")]
		public Xrm.Calendar inner_calendar_calendar_rules
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Calendar>("inner_calendar_calendar_rules", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Calendar>("inner_calendar_calendar_rules", "inner_calendar_calendar_rules", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_calendarrule_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_calendarrule_createdby")]
		public Xrm.SystemUser lk_calendarrule_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_calendarrule_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_calendarrule_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_calendarrule_createdonbehalfby")]
		public Xrm.SystemUser lk_calendarrule_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_calendarrule_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_calendarrule_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_calendarrule_modifiedby")]
		public Xrm.SystemUser lk_calendarrule_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_calendarrule_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_calendarrule_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_calendarrule_modifiedonbehalfby")]
		public Xrm.SystemUser lk_calendarrule_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_calendarrule_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 service_calendar_rules
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_calendar_rules")]
		public Xrm.Service service_calendar_rules
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Service>("service_calendar_rules", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Service>("service_calendar_rules", "service_calendar_rules", null, value);
			}
		}
	}
	
	/// <summary>
	/// Kontener na działania w ramach kampanii i odpowiedzi na kampanię, materiały sprzedażowe, produkty i listy umożliwiający tworzenie, planowanie, wykonywanie i śledzenie wyników określonej kampanii marketingowej w czasie jej trwania.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("campaign")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("CampaignSet")]
	public partial class Campaign : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Campaign() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "campaign";
		
		public const int EntityTypeCode = 4400;
		
		/// <summary>
		/// Rzeczywista data zakończenia kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualend")]
		public System.Nullable<System.DateTime> ActualEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualEnd", "actualend", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista data rozpoczęcia kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualstart")]
		public System.Nullable<System.DateTime> ActualStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualStart", "actualstart", value);
			}
		}
		
		/// <summary>
		/// Koszt kampanii uwzględniony w budżecie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("budgetedcost")]
		public System.Nullable<decimal> BudgetedCost
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("budgetedcost");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("BudgetedCost", "budgetedcost", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej kosztu kampanii uwzględnionego w budżecie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("budgetedcost_base")]
		public System.Nullable<decimal> BudgetedCost_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("budgetedcost_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("campaignid")]
		public System.Nullable<System.Guid> CampaignId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("campaignid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("CampaignId", "campaignid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("campaignid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.CampaignId = value;
			}
		}
		
		/// <summary>
		/// Unikatowa nazwa kodu identyfikująca kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("codename")]
		public string CodeName
		{
			get
			{
				return this.GetAttributeValue<string>("codename");
			}
			set
			{
				this.SetAttributeValue<string>("CodeName", "codename", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika-delegata, który utworzył kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z kampanią w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Procent oczekiwanych odpowiedzi na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("expectedresponse")]
		public System.Nullable<int> ExpectedResponse
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("expectedresponse");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ExpectedResponse", "expectedresponse", value);
			}
		}
		
		/// <summary>
		/// Oczekiwany przychód z kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("expectedrevenue")]
		public System.Nullable<decimal> ExpectedRevenue
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("expectedrevenue");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("ExpectedRevenue", "expectedrevenue", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej przewidywanego przychodu z kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("expectedrevenue_base")]
		public System.Nullable<decimal> ExpectedRevenue_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("expectedrevenue_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Wskazanie, czy kampania jest szablonem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("istemplate")]
		public System.Nullable<bool> IsTemplate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("istemplate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsTemplate", "istemplate", value);
			}
		}
		
		/// <summary>
		/// Wiadomość promocyjna kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("message")]
		public string Message
		{
			get
			{
				return this.GetAttributeValue<string>("message");
			}
			set
			{
				this.SetAttributeValue<string>("Message", "message", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika-delegata, który jako ostatni zmodyfikował kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Cel kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objective")]
		public string Objective
		{
			get
			{
				return this.GetAttributeValue<string>("objective");
			}
			set
			{
				this.SetAttributeValue<string>("Objective", "objective", value);
			}
		}
		
		/// <summary>
		/// Inne koszty różne kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("othercost")]
		public System.Nullable<decimal> OtherCost
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("othercost");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("OtherCost", "othercost", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej innych różnych kosztów kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("othercost_base")]
		public System.Nullable<decimal> OtherCost_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("othercost_base");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, który jest właścicielem kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, który jest właścicielem kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator cennika dotyczącego tej kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pricelistid")]
		public Microsoft.Xrm.Client.CrmEntityReference PriceListId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("pricelistid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("PriceListId", "pricelistid", value);
			}
		}
		
		/// <summary>
		/// Kod promocyjny dotyczący kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("promotioncodename")]
		public string PromotionCodeName
		{
			get
			{
				return this.GetAttributeValue<string>("promotioncodename");
			}
			set
			{
				this.SetAttributeValue<string>("PromotionCodeName", "promotioncodename", value);
			}
		}
		
		/// <summary>
		/// Proponowana data zakończenia kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("proposedend")]
		public System.Nullable<System.DateTime> ProposedEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("proposedend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ProposedEnd", "proposedend", value);
			}
		}
		
		/// <summary>
		/// Proponowana data rozpoczęcia kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("proposedstart")]
		public System.Nullable<System.DateTime> ProposedStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("proposedstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ProposedStart", "proposedstart", value);
			}
		}
		
		/// <summary>
		/// Stan kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Łączny rzeczywisty koszt kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totalactualcost")]
		public System.Nullable<decimal> TotalActualCost
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totalactualcost");
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej całkowitego rzeczywistego kosztu kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totalactualcost_base")]
		public System.Nullable<decimal> TotalActualCost_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totalactualcost_base");
			}
		}
		
		/// <summary>
		/// Suma wszystkich rzeczywistych kosztów działań w ramach kampanii dotyczących tej kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totalcampaignactivityactualcost")]
		public System.Nullable<decimal> TotalCampaignActivityActualCost
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totalcampaignactivityactualcost");
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej sumy wszystkich kosztów rzeczywistych działań w ramach tej kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totalcampaignactivityactualcost_base")]
		public System.Nullable<decimal> TotalCampaignActivityActualCost_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totalcampaignactivityactualcost_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z kampanią.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Typ kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("typecode")]
		public System.Nullable<int> TypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("typecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("TypeCode", "typecode", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N campaign_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaign_activity_parties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> campaign_activity_parties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("campaign_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("campaign_activity_parties", "campaign_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Campaign_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_ActivityPointers")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityPointer> Campaign_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityPointer>("Campaign_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityPointer>("Campaign_ActivityPointers", "Campaign_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Campaign_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> Campaign_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("Campaign_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("Campaign_Annotation", "Campaign_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Campaign_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_Appointments")]
		public System.Collections.Generic.IEnumerable<Xrm.Appointment> Campaign_Appointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Appointment>("Campaign_Appointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Appointment>("Campaign_Appointments", "Campaign_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Campaign_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Campaign_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Campaign_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Campaign_AsyncOperations", "Campaign_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Campaign_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Campaign_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Campaign_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Campaign_BulkDeleteFailures", "Campaign_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Campaign_CampaignActivities
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_CampaignActivities")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignActivity> Campaign_CampaignActivities
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignActivity>("Campaign_CampaignActivities", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignActivity>("Campaign_CampaignActivities", "Campaign_CampaignActivities", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Campaign_CampaignResponses
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_CampaignResponses")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignResponse> Campaign_CampaignResponses
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignResponse>("Campaign_CampaignResponses", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignResponse>("Campaign_CampaignResponses", "Campaign_CampaignResponses", null, value);
			}
		}
		
		/// <summary>
		/// 1:N campaign_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaign_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> campaign_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("campaign_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("campaign_connections1", "campaign_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N campaign_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaign_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> campaign_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("campaign_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("campaign_connections2", "campaign_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Campaign_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Campaign_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Campaign_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Campaign_DuplicateBaseRecord", "Campaign_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Campaign_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Campaign_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Campaign_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Campaign_DuplicateMatchingRecord", "Campaign_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Campaign_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_Emails")]
		public System.Collections.Generic.IEnumerable<Xrm.Email> Campaign_Emails
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Email>("Campaign_Emails", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Email>("Campaign_Emails", "Campaign_Emails", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Campaign_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_Faxes")]
		public System.Collections.Generic.IEnumerable<Xrm.Fax> Campaign_Faxes
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Fax>("Campaign_Faxes", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Fax>("Campaign_Faxes", "Campaign_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// 1:N campaign_leads
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaign_leads")]
		public System.Collections.Generic.IEnumerable<Xrm.Lead> campaign_leads
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Lead>("campaign_leads", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Lead>("campaign_leads", "campaign_leads", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Campaign_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_Letters")]
		public System.Collections.Generic.IEnumerable<Xrm.Letter> Campaign_Letters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Letter>("Campaign_Letters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Letter>("Campaign_Letters", "Campaign_Letters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N campaign_opportunities
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaign_opportunities")]
		public System.Collections.Generic.IEnumerable<Xrm.Opportunity> campaign_opportunities
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Opportunity>("campaign_opportunities", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Opportunity>("campaign_opportunities", "campaign_opportunities", null, value);
			}
		}
		
		/// <summary>
		/// 1:N campaign_orders
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaign_orders")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesOrder> campaign_orders
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesOrder>("campaign_orders", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesOrder>("campaign_orders", "campaign_orders", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Campaign_Phonecalls
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_Phonecalls")]
		public System.Collections.Generic.IEnumerable<Xrm.PhoneCall> Campaign_Phonecalls
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PhoneCall>("Campaign_Phonecalls", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PhoneCall>("Campaign_Phonecalls", "Campaign_Phonecalls", null, value);
			}
		}
		
		/// <summary>
		/// 1:N campaign_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaign_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> campaign_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("campaign_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("campaign_principalobjectattributeaccess", "campaign_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Campaign_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Campaign_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Campaign_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Campaign_ProcessSessions", "Campaign_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N campaign_quotes
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaign_quotes")]
		public System.Collections.Generic.IEnumerable<Xrm.Quote> campaign_quotes
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Quote>("campaign_quotes", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Quote>("campaign_quotes", "campaign_quotes", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Campaign_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_RecurringAppointmentMasters")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurringAppointmentMaster> Campaign_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurringAppointmentMaster>("Campaign_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurringAppointmentMaster>("Campaign_RecurringAppointmentMasters", "Campaign_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Campaign_ServiceAppointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_ServiceAppointments")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceAppointment> Campaign_ServiceAppointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceAppointment>("Campaign_ServiceAppointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceAppointment>("Campaign_ServiceAppointments", "Campaign_ServiceAppointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Campaign_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_Tasks")]
		public System.Collections.Generic.IEnumerable<Xrm.Task> Campaign_Tasks
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Task>("Campaign_Tasks", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Task>("Campaign_Tasks", "Campaign_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_campaign
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_campaign")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_campaign
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_campaign", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_campaign", "userentityinstancedata_campaign", null, value);
			}
		}
		
		/// <summary>
		/// N:N campaigncampaign_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaigncampaign_association", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public System.Collections.Generic.IEnumerable<Xrm.Campaign> Referencingcampaigncampaign_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Campaign>("campaigncampaign_association", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Campaign>("Referencingcampaigncampaign_association", "campaigncampaign_association", Microsoft.Xrm.Sdk.EntityRole.Referencing, value);
			}
		}
		
		/// <summary>
		/// N:N campaigncampaign_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaigncampaign_association", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.Campaign> Referencedcampaigncampaign_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Campaign>("campaigncampaign_association", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Campaign>("Referencedcampaigncampaign_association", "campaigncampaign_association", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// N:N campaignlist_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaignlist_association")]
		public System.Collections.Generic.IEnumerable<Xrm.List> campaignlist_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.List>("campaignlist_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.List>("campaignlist_association", "campaignlist_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N campaignproduct_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaignproduct_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Product> campaignproduct_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Product>("campaignproduct_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Product>("campaignproduct_association", "campaignproduct_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N campaignsalesliterature_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaignsalesliterature_association")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesLiterature> campaignsalesliterature_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesLiterature>("campaignsalesliterature_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesLiterature>("campaignsalesliterature_association", "campaignsalesliterature_association", null, value);
			}
		}
		
		/// <summary>
		/// N:1 BusinessUnit_Campaigns
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BusinessUnit_Campaigns")]
		public Xrm.BusinessUnit BusinessUnit_Campaigns
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("BusinessUnit_Campaigns", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_campaign_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_campaign_createdby")]
		public Xrm.SystemUser lk_campaign_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_campaign_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_campaign_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_campaign_createdonbehalfby")]
		public Xrm.SystemUser lk_campaign_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_campaign_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_campaign_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_campaign_modifiedby")]
		public Xrm.SystemUser lk_campaign_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_campaign_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_campaign_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_campaign_modifiedonbehalfby")]
		public Xrm.SystemUser lk_campaign_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_campaign_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 PriceList_Campaigns
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pricelistid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("PriceList_Campaigns")]
		public Xrm.PriceLevel PriceList_Campaigns
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PriceLevel>("PriceList_Campaigns", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PriceLevel>("PriceList_Campaigns", "PriceList_Campaigns", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SystemUser_Campaigns
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SystemUser_Campaigns")]
		public Xrm.SystemUser SystemUser_Campaigns
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("SystemUser_Campaigns", null);
			}
		}
		
		/// <summary>
		/// N:1 team_Campaigns
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_Campaigns")]
		public Xrm.Team team_Campaigns
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_Campaigns", null);
			}
		}
		
		/// <summary>
		/// N:1 transactioncurrency_campaign
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_campaign")]
		public Xrm.TransactionCurrency transactioncurrency_campaign
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_campaign", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_campaign", "transactioncurrency_campaign", null, value);
			}
		}
	}
	
	/// <summary>
	/// Zadania wykonane lub do wykonania przez użytkownika w ramach planowanej lub trwającej kampanii.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("campaignactivity")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("CampaignActivitySet")]
	public partial class CampaignActivity : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public CampaignActivity() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "campaignactivity";
		
		public const int EntityTypeCode = 4402;
		
		/// <summary>
		/// Unikatowy identyfikator działania w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public System.Nullable<System.Guid> ActivityId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("activityid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ActivityId", "activityid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ActivityId = value;
			}
		}
		
		/// <summary>
		/// Typ działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activitytypecode")]
		public string ActivityTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("activitytypecode");
			}
		}
		
		/// <summary>
		/// Rzeczywisty koszt działania w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualcost")]
		public System.Nullable<decimal> ActualCost
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("actualcost");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("ActualCost", "actualcost", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej rzeczywistego kosztu działania w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualcost_base")]
		public System.Nullable<decimal> ActualCost_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("actualcost_base");
			}
		}
		
		/// <summary>
		/// Rzeczywisty czas trwania działania (w minutach).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualdurationminutes")]
		public System.Nullable<int> ActualDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("actualdurationminutes");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ActualDurationMinutes", "actualdurationminutes", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista godzina zakończenia działania w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualend")]
		public System.Nullable<System.DateTime> ActualEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualEnd", "actualend", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista godzina rozpoczęcia działania w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualstart")]
		public System.Nullable<System.DateTime> ActualStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualStart", "actualstart", value);
			}
		}
		
		/// <summary>
		/// Koszt działania w ramach kampanii uwzględniony w budżecie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("budgetedcost")]
		public System.Nullable<decimal> BudgetedCost
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("budgetedcost");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("BudgetedCost", "budgetedcost", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej kosztu działania w ramach kampanii uwzględnionego w budżecie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("budgetedcost_base")]
		public System.Nullable<decimal> BudgetedCost_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("budgetedcost_base");
			}
		}
		
		/// <summary>
		/// Kategoria działania w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("category")]
		public string Category
		{
			get
			{
				return this.GetAttributeValue<string>("category");
			}
			set
			{
				this.SetAttributeValue<string>("Category", "category", value);
			}
		}
		
		/// <summary>
		/// Kod typu kanału dotyczący działania w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("channeltypecode")]
		public System.Nullable<int> ChannelTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("channeltypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ChannelTypeCode", "channeltypecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył działanie w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia działania w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który utworzył działanie w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis działania w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy wysyłać materiały marketingowe do członków listy, którzy nie zezwolili na wysyłanie materiałów marketingowych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("donotsendonoptout")]
		public System.Nullable<bool> DoNotSendOnOptOut
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("donotsendonoptout");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DoNotSendOnOptOut", "donotsendonoptout", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z działaniem w ramach kampanii w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Zignoruj, jeśli kampania odbywała się w ciągu ostatnich X dni.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("excludeifcontactedinxdays")]
		public System.Nullable<int> ExcludeIfContactedInXDays
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("excludeifcontactedinxdays");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ExcludeIfContactedInXDays", "excludeifcontactedinxdays", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("from")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> From
		{
			get
			{
				return this.GetAttributeCollectionValue<Xrm.ActivityParty>("from");
			}
			set
			{
				this.SetAttributeCollectionValue<Xrm.ActivityParty>("From", "from", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy ignorować nieaktywne listy podczas propagowania/wykonywania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ignoreinactivelistmembers")]
		public System.Nullable<bool> IgnoreInactiveListMembers
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ignoreinactivelistmembers");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IgnoreInactiveListMembers", "ignoreinactivelistmembers", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy działanie w ramach kampanii zostało zafakturowane jako element obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isbilled")]
		public System.Nullable<bool> IsBilled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isbilled");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsBilled", "isbilled", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy działanie ma charakter regularny, czy też jest zdarzeniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isregularactivity")]
		public System.Nullable<bool> IsRegularActivity
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isregularactivity");
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy działanie w ramach kampanii jest tworzone według reguły przepływu pracy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isworkflowcreated")]
		public System.Nullable<bool> IsWorkflowCreated
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isworkflowcreated");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsWorkflowCreated", "isworkflowcreated", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował działanie w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji działania w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który jako ostatni zmodyfikował działanie w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, który jest właścicielem działania w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem działania w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, który jest właścicielem działania w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem działania w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator partnera działania w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("partners")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> Partners
		{
			get
			{
				return this.GetAttributeCollectionValue<Xrm.ActivityParty>("partners");
			}
			set
			{
				this.SetAttributeCollectionValue<Xrm.ActivityParty>("Partners", "partners", value);
			}
		}
		
		/// <summary>
		/// Kod priorytetu działania w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("prioritycode")]
		public System.Nullable<int> PriorityCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("prioritycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PriorityCode", "prioritycode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obiektu, z którym jest skojarzone działanie w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		public Microsoft.Xrm.Client.CrmEntityReference RegardingObjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("regardingobjectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RegardingObjectId", "regardingobjectid", value);
			}
		}
		
		/// <summary>
		/// Planowany czas trwania działania w ramach kampanii (wyrażony w minutach).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduleddurationminutes")]
		public System.Nullable<int> ScheduledDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("scheduleddurationminutes");
			}
		}
		
		/// <summary>
		/// Planowany czas zakończenia działania w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledend")]
		public System.Nullable<System.DateTime> ScheduledEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ScheduledEnd", "scheduledend", value);
			}
		}
		
		/// <summary>
		/// Planowany czas rozpoczęcia działania w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledstart")]
		public System.Nullable<System.DateTime> ScheduledStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ScheduledStart", "scheduledstart", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonej usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		public Microsoft.Xrm.Client.CrmEntityReference ServiceId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("serviceid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ServiceId", "serviceid", value);
			}
		}
		
		/// <summary>
		/// Stan działania w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Powód przyczyny stanu działania w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Podkategoria działania w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subcategory")]
		public string Subcategory
		{
			get
			{
				return this.GetAttributeValue<string>("subcategory");
			}
			set
			{
				this.SetAttributeValue<string>("Subcategory", "subcategory", value);
			}
		}
		
		/// <summary>
		/// Temat skojarzony z działaniem w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subject")]
		public string Subject
		{
			get
			{
				return this.GetAttributeValue<string>("subject");
			}
			set
			{
				this.SetAttributeValue<string>("Subject", "subject", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z działaniem w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
		}
		
		/// <summary>
		/// Typ działania w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("typecode")]
		public System.Nullable<int> TypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("typecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("TypeCode", "typecode", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji działania w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N campaignactivity_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaignactivity_activity_parties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> campaignactivity_activity_parties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("campaignactivity_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("campaignactivity_activity_parties", "campaignactivity_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N campaignactivity_activityparties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaignactivity_activityparties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> campaignactivity_activityparties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("campaignactivity_activityparties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("campaignactivity_activityparties", "campaignactivity_activityparties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CampaignActivity_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignActivity_ActivityPointers")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityPointer> CampaignActivity_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityPointer>("CampaignActivity_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityPointer>("CampaignActivity_ActivityPointers", "CampaignActivity_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CampaignActivity_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignActivity_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> CampaignActivity_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("CampaignActivity_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("CampaignActivity_Annotation", "CampaignActivity_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CampaignActivity_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignActivity_Appointments")]
		public System.Collections.Generic.IEnumerable<Xrm.Appointment> CampaignActivity_Appointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Appointment>("CampaignActivity_Appointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Appointment>("CampaignActivity_Appointments", "CampaignActivity_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CampaignActivity_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignActivity_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> CampaignActivity_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("CampaignActivity_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("CampaignActivity_AsyncOperations", "CampaignActivity_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CampaignActivity_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignActivity_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> CampaignActivity_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("CampaignActivity_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("CampaignActivity_BulkDeleteFailures", "CampaignActivity_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CampaignActivity_BulkOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignActivity_BulkOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkOperation> CampaignActivity_BulkOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkOperation>("CampaignActivity_BulkOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkOperation>("CampaignActivity_BulkOperations", "CampaignActivity_BulkOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N campaignactivity_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaignactivity_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> campaignactivity_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("campaignactivity_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("campaignactivity_connections1", "campaignactivity_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N campaignactivity_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaignactivity_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> campaignactivity_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("campaignactivity_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("campaignactivity_connections2", "campaignactivity_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CampaignActivity_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignActivity_Emails")]
		public System.Collections.Generic.IEnumerable<Xrm.Email> CampaignActivity_Emails
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Email>("CampaignActivity_Emails", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Email>("CampaignActivity_Emails", "CampaignActivity_Emails", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CampaignActivity_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignActivity_Faxes")]
		public System.Collections.Generic.IEnumerable<Xrm.Fax> CampaignActivity_Faxes
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Fax>("CampaignActivity_Faxes", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Fax>("CampaignActivity_Faxes", "CampaignActivity_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CampaignActivity_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignActivity_Letters")]
		public System.Collections.Generic.IEnumerable<Xrm.Letter> CampaignActivity_Letters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Letter>("CampaignActivity_Letters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Letter>("CampaignActivity_Letters", "CampaignActivity_Letters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CampaignActivity_Phonecalls
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignActivity_Phonecalls")]
		public System.Collections.Generic.IEnumerable<Xrm.PhoneCall> CampaignActivity_Phonecalls
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PhoneCall>("CampaignActivity_Phonecalls", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PhoneCall>("CampaignActivity_Phonecalls", "CampaignActivity_Phonecalls", null, value);
			}
		}
		
		/// <summary>
		/// 1:N campaignactivity_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaignactivity_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> campaignactivity_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("campaignactivity_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("campaignactivity_principalobjectattributeaccess", "campaignactivity_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CampaignActivity_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignActivity_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> CampaignActivity_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("CampaignActivity_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("CampaignActivity_ProcessSessions", "CampaignActivity_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CampaignActivity_QueueItem
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignActivity_QueueItem")]
		public System.Collections.Generic.IEnumerable<Xrm.QueueItem> CampaignActivity_QueueItem
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QueueItem>("CampaignActivity_QueueItem", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QueueItem>("CampaignActivity_QueueItem", "CampaignActivity_QueueItem", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CampaignActivity_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignActivity_RecurringAppointmentMasters")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurringAppointmentMaster> CampaignActivity_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurringAppointmentMaster>("CampaignActivity_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurringAppointmentMaster>("CampaignActivity_RecurringAppointmentMasters", "CampaignActivity_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CampaignActivity_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignActivity_Tasks")]
		public System.Collections.Generic.IEnumerable<Xrm.Task> CampaignActivity_Tasks
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Task>("CampaignActivity_Tasks", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Task>("CampaignActivity_Tasks", "CampaignActivity_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_campaignactivity
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_campaignactivity")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_campaignactivity
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_campaignactivity", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_campaignactivity", "userentityinstancedata_campaignactivity", null, value);
			}
		}
		
		/// <summary>
		/// N:N campaignactivitylist_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaignactivitylist_association")]
		public System.Collections.Generic.IEnumerable<Xrm.List> campaignactivitylist_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.List>("campaignactivitylist_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.List>("campaignactivitylist_association", "campaignactivitylist_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N campaignactivitysalesliterature_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaignactivitysalesliterature_association")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesLiterature> campaignactivitysalesliterature_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesLiterature>("campaignactivitysalesliterature_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesLiterature>("campaignactivitysalesliterature_association", "campaignactivitysalesliterature_association", null, value);
			}
		}
		
		/// <summary>
		/// N:1 activity_pointer_campaignactivity
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_campaignactivity")]
		public Xrm.ActivityPointer activity_pointer_campaignactivity
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_campaignactivity", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_campaignactivity", "activity_pointer_campaignactivity", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_campaignactivity_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_campaignactivity_activities")]
		public Xrm.BusinessUnit business_unit_campaignactivity_activities
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_campaignactivity_activities", null);
			}
		}
		
		/// <summary>
		/// N:1 Campaign_CampaignActivities
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_CampaignActivities")]
		public Xrm.Campaign Campaign_CampaignActivities
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Campaign>("Campaign_CampaignActivities", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Campaign>("Campaign_CampaignActivities", "Campaign_CampaignActivities", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_campaignactivity_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_campaignactivity_createdby")]
		public Xrm.SystemUser lk_campaignactivity_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_campaignactivity_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_campaignactivity_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_campaignactivity_createdonbehalfby")]
		public Xrm.SystemUser lk_campaignactivity_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_campaignactivity_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_campaignactivity_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_campaignactivity_modifiedby")]
		public Xrm.SystemUser lk_campaignactivity_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_campaignactivity_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_campaignactivity_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_campaignactivity_modifiedonbehalfby")]
		public Xrm.SystemUser lk_campaignactivity_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_campaignactivity_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 team_campaignactivity
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_campaignactivity")]
		public Xrm.Team team_campaignactivity
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_campaignactivity", null);
			}
		}
		
		/// <summary>
		/// N:1 transactioncurrency_campaignactivity
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_campaignactivity")]
		public Xrm.TransactionCurrency transactioncurrency_campaignactivity
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_campaignactivity", null);
			}
		}
		
		/// <summary>
		/// N:1 user_campaignactivity
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_campaignactivity")]
		public Xrm.SystemUser user_campaignactivity
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_campaignactivity", null);
			}
		}
	}
	
	/// <summary>
	/// Element roboczy działania w ramach kampanii, np. lista lub materiały sprzedażowe.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("campaignactivityitem")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("CampaignActivityItemSet")]
	public partial class CampaignActivityItem : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public CampaignActivityItem() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "campaignactivityitem";
		
		public const int EntityTypeCode = 4404;
		
		/// <summary>
		/// Unikatowy identyfikator działania w ramach kampanii dla danego elementu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("campaignactivityid")]
		public Microsoft.Xrm.Client.CrmEntityReference CampaignActivityId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("campaignactivityid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("CampaignActivityId", "campaignactivityid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator elementu działania w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("campaignactivityitemid")]
		public System.Nullable<System.Guid> CampaignActivityItemId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("campaignactivityitemid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("CampaignActivityItemId", "campaignactivityitemid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("campaignactivityitemid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.CampaignActivityItemId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator elementu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("itemid")]
		public System.Nullable<System.Guid> ItemId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("itemid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("ItemId", "itemid", value);
			}
		}
		
		/// <summary>
		/// Identyfikacja typu elementu działania w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("itemobjecttypecode")]
		public string ItemObjectTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("itemobjecttypecode");
			}
			set
			{
				this.SetAttributeValue<string>("ItemObjectTypeCode", "itemobjecttypecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, który jest właścicielem elementu działania w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem elementu działania w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public System.Nullable<System.Guid> OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem elementu działania w ramach kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public System.Nullable<System.Guid> OwningUser
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owninguser");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_campaignactivityitem
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_campaignactivityitem")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_campaignactivityitem
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_campaignactivityitem", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_campaignactivityitem", "userentityinstancedata_campaignactivityitem", null, value);
			}
		}
		
		/// <summary>
		/// N:N campaignactivitylist_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaignactivitylist_association")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignActivity> campaignactivitylist_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignActivity>("campaignactivitylist_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignActivity>("campaignactivitylist_association", "campaignactivitylist_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N campaignactivitysalesliterature_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaignactivitysalesliterature_association")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignActivity> campaignactivitysalesliterature_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignActivity>("campaignactivitysalesliterature_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignActivity>("campaignactivitysalesliterature_association", "campaignactivitysalesliterature_association", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ActivityPointer_CampaignActivityItems
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("campaignactivityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ActivityPointer_CampaignActivityItems")]
		public Xrm.ActivityPointer ActivityPointer_CampaignActivityItems
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityPointer>("ActivityPointer_CampaignActivityItems", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ActivityPointer>("ActivityPointer_CampaignActivityItems", "ActivityPointer_CampaignActivityItems", null, value);
			}
		}
	}
	
	/// <summary>
	/// Element roboczy w ramach kampanii (lista lub materiały sprzedażowe).
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("campaignitem")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("CampaignItemSet")]
	public partial class CampaignItem : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public CampaignItem() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "campaignitem";
		
		public const int EntityTypeCode = 4403;
		
		/// <summary>
		/// Unikatowy identyfikator kampanii skojarzonej z pojedynczym elementem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("campaignid")]
		public Microsoft.Xrm.Client.CrmEntityReference CampaignId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("campaignid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("CampaignId", "campaignid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator elementu kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("campaignitemid")]
		public System.Nullable<System.Guid> CampaignItemId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("campaignitemid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("CampaignItemId", "campaignitemid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("campaignitemid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.CampaignItemId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator encji dla elementu kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("entityid")]
		public System.Nullable<System.Guid> EntityId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("entityid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("EntityId", "entityid", value);
			}
		}
		
		/// <summary>
		/// Typ obiektu encji dla elementu kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("entitytype")]
		public string EntityType
		{
			get
			{
				return this.GetAttributeValue<string>("entitytype");
			}
			set
			{
				this.SetAttributeValue<string>("EntityType", "entitytype", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, który jest właścicielem elementu kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem elementu kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public System.Nullable<System.Guid> OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem elementu kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public System.Nullable<System.Guid> OwningUser
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owninguser");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_campaignitem
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_campaignitem")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_campaignitem
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_campaignitem", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_campaignitem", "userentityinstancedata_campaignitem", null, value);
			}
		}
		
		/// <summary>
		/// N:N campaigncampaign_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaigncampaign_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Campaign> campaigncampaign_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Campaign>("campaigncampaign_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Campaign>("campaigncampaign_association", "campaigncampaign_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N campaignlist_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaignlist_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Campaign> campaignlist_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Campaign>("campaignlist_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Campaign>("campaignlist_association", "campaignlist_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N campaignproduct_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaignproduct_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Campaign> campaignproduct_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Campaign>("campaignproduct_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Campaign>("campaignproduct_association", "campaignproduct_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N campaignsalesliterature_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaignsalesliterature_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Campaign> campaignsalesliterature_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Campaign>("campaignsalesliterature_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Campaign>("campaignsalesliterature_association", "campaignsalesliterature_association", null, value);
			}
		}
	}
	
	/// <summary>
	/// Odpowiedź na kampanię od istniejącego lub potencjalnego nowego klienta.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("campaignresponse")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("CampaignResponseSet")]
	public partial class CampaignResponse : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public CampaignResponse() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "campaignresponse";
		
		public const int EntityTypeCode = 4401;
		
		/// <summary>
		/// Unikatowy identyfikator odpowiedzi na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public System.Nullable<System.Guid> ActivityId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("activityid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ActivityId", "activityid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ActivityId = value;
			}
		}
		
		/// <summary>
		/// Typ działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activitytypecode")]
		public string ActivityTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("activitytypecode");
			}
		}
		
		/// <summary>
		/// Rzeczywisty czas trwania odpowiedzi na kampanię (wyrażony w minutach).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualdurationminutes")]
		public System.Nullable<int> ActualDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("actualdurationminutes");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ActualDurationMinutes", "actualdurationminutes", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista godzina zakończenia odpowiedzi na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualend")]
		public System.Nullable<System.DateTime> ActualEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualEnd", "actualend", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista godzina rozpoczęcia odpowiedzi na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualstart")]
		public System.Nullable<System.DateTime> ActualStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualStart", "actualstart", value);
			}
		}
		
		/// <summary>
		/// Kategoria odpowiedzi na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("category")]
		public string Category
		{
			get
			{
				return this.GetAttributeValue<string>("category");
			}
			set
			{
				this.SetAttributeValue<string>("Category", "category", value);
			}
		}
		
		/// <summary>
		/// Kod typu kanału odpowiedzi na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("channeltypecode")]
		public System.Nullable<int> ChannelTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("channeltypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ChannelTypeCode", "channeltypecode", value);
			}
		}
		
		/// <summary>
		/// Nazwa firmy, z którą jest skojarzona odpowiedź na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("companyname")]
		public string CompanyName
		{
			get
			{
				return this.GetAttributeValue<string>("companyname");
			}
			set
			{
				this.SetAttributeValue<string>("CompanyName", "companyname", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył odpowiedź na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia odpowiedzi na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który utworzył odpowiedź na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Klient, z którym jest skojarzona odpowiedź na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customer")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> Customer
		{
			get
			{
				return this.GetAttributeCollectionValue<Xrm.ActivityParty>("customer");
			}
			set
			{
				this.SetAttributeCollectionValue<Xrm.ActivityParty>("Customer", "customer", value);
			}
		}
		
		/// <summary>
		/// Opis odpowiedzi na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Adres e-mail klienta, od którego jest odbierana odpowiedź.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("emailaddress")]
		public string EMailAddress
		{
			get
			{
				return this.GetAttributeValue<string>("emailaddress");
			}
			set
			{
				this.SetAttributeValue<string>("EMailAddress", "emailaddress", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z odpowiedzią na kampanię w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Numer faksu klienta, od którego jest odbierana odpowiedź.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fax")]
		public string Fax
		{
			get
			{
				return this.GetAttributeValue<string>("fax");
			}
			set
			{
				this.SetAttributeValue<string>("Fax", "fax", value);
			}
		}
		
		/// <summary>
		/// Imię klienta, od którego jest odbierana odpowiedź.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("firstname")]
		public string FirstName
		{
			get
			{
				return this.GetAttributeValue<string>("firstname");
			}
			set
			{
				this.SetAttributeValue<string>("FirstName", "firstname", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("from")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> From
		{
			get
			{
				return this.GetAttributeCollectionValue<Xrm.ActivityParty>("from");
			}
			set
			{
				this.SetAttributeCollectionValue<Xrm.ActivityParty>("From", "from", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Określa, czy odpowiedź na kampanię została zafakturowana jako element obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isbilled")]
		public System.Nullable<bool> IsBilled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isbilled");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsBilled", "isbilled", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy działanie ma charakter regularny, czy też jest zdarzeniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isregularactivity")]
		public System.Nullable<bool> IsRegularActivity
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isregularactivity");
			}
		}
		
		/// <summary>
		/// Określa, czy odpowiedź na kampanię jest tworzona przez regułę przepływu pracy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isworkflowcreated")]
		public System.Nullable<bool> IsWorkflowCreated
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isworkflowcreated");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsWorkflowCreated", "isworkflowcreated", value);
			}
		}
		
		/// <summary>
		/// Nazwisko klienta, od którego jest odbierana odpowiedź.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("lastname")]
		public string LastName
		{
			get
			{
				return this.GetAttributeValue<string>("lastname");
			}
			set
			{
				this.SetAttributeValue<string>("LastName", "lastname", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował odpowiedź na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		///  Data i godzina ostatniej modyfikacji odpowiedzi na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który jako ostatni zmodyfikował odpowiedź na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator źródłowego działania odpowiedzi na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("originatingactivityid")]
		public Microsoft.Xrm.Client.CrmEntityReference OriginatingActivityId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("originatingactivityid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OriginatingActivityId", "originatingactivityid", value);
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, który jest właścicielem odpowiedzi na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem odpowiedzi na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, który jest właścicielem odpowiedzi na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem odpowiedzi na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator partnera odpowiedzi na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("partner")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> Partner
		{
			get
			{
				return this.GetAttributeCollectionValue<Xrm.ActivityParty>("partner");
			}
			set
			{
				this.SetAttributeCollectionValue<Xrm.ActivityParty>("Partner", "partner", value);
			}
		}
		
		/// <summary>
		/// Priorytet odpowiedzi na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("prioritycode")]
		public System.Nullable<int> PriorityCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("prioritycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PriorityCode", "prioritycode", value);
			}
		}
		
		/// <summary>
		/// Nazwa kodu promowania skojarzonego z odpowiedzią na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("promotioncodename")]
		public string PromotionCodeName
		{
			get
			{
				return this.GetAttributeValue<string>("promotioncodename");
			}
			set
			{
				this.SetAttributeValue<string>("PromotionCodeName", "promotioncodename", value);
			}
		}
		
		/// <summary>
		/// Data odebrania odpowiedzi na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("receivedon")]
		public System.Nullable<System.DateTime> ReceivedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("receivedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ReceivedOn", "receivedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obiektu, z którym jest skojarzona odpowiedź na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		public Microsoft.Xrm.Client.CrmEntityReference RegardingObjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("regardingobjectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RegardingObjectId", "regardingobjectid", value);
			}
		}
		
		/// <summary>
		/// Kod odpowiedzi na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("responsecode")]
		public System.Nullable<int> ResponseCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("responsecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ResponseCode", "responsecode", value);
			}
		}
		
		/// <summary>
		/// Planowany czas trwania odpowiedzi na kampanię (wyrażony w minutach).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduleddurationminutes")]
		public System.Nullable<int> ScheduledDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("scheduleddurationminutes");
			}
		}
		
		/// <summary>
		/// Planowany czas zakończenia odpowiedzi na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledend")]
		public System.Nullable<System.DateTime> ScheduledEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ScheduledEnd", "scheduledend", value);
			}
		}
		
		/// <summary>
		/// Planowany czas rozpoczęcia odpowiedzi na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledstart")]
		public System.Nullable<System.DateTime> ScheduledStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ScheduledStart", "scheduledstart", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonej usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		public Microsoft.Xrm.Client.CrmEntityReference ServiceId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("serviceid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ServiceId", "serviceid", value);
			}
		}
		
		/// <summary>
		/// Stan odpowiedzi na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu odpowiedzi na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Podkategoria odpowiedzi na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subcategory")]
		public string Subcategory
		{
			get
			{
				return this.GetAttributeValue<string>("subcategory");
			}
			set
			{
				this.SetAttributeValue<string>("Subcategory", "subcategory", value);
			}
		}
		
		/// <summary>
		/// Temat skojarzony z odpowiedzią na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subject")]
		public string Subject
		{
			get
			{
				return this.GetAttributeValue<string>("subject");
			}
			set
			{
				this.SetAttributeValue<string>("Subject", "subject", value);
			}
		}
		
		/// <summary>
		/// Numer telefonu klienta, od którego jest odbierana odpowiedź.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("telephone")]
		public string Telephone
		{
			get
			{
				return this.GetAttributeValue<string>("telephone");
			}
			set
			{
				this.SetAttributeValue<string>("Telephone", "telephone", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z odpowiedzią na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji odpowiedzi na kampanię.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// Wymowa nazwy firmy, z którą jest skojarzone działanie w ramach odpowiedzi na kampanię, zapisana przy użyciu znaków fonetycznych hiragana lub katakana.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("yomicompanyname")]
		public string YomiCompanyName
		{
			get
			{
				return this.GetAttributeValue<string>("yomicompanyname");
			}
			set
			{
				this.SetAttributeValue<string>("YomiCompanyName", "yomicompanyname", value);
			}
		}
		
		/// <summary>
		/// Wymowa imienia klienta, od którego ta odpowiedź została odebrana, zapisana przy użyciu znaków fonetycznych hiragana lub katakana.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("yomifirstname")]
		public string YomiFirstName
		{
			get
			{
				return this.GetAttributeValue<string>("yomifirstname");
			}
			set
			{
				this.SetAttributeValue<string>("YomiFirstName", "yomifirstname", value);
			}
		}
		
		/// <summary>
		/// Wymowa nazwiska klienta, od którego ta odpowiedź została odebrana, zapisana przy użyciu znaków fonetycznych hiragana lub katakana.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("yomilastname")]
		public string YomiLastName
		{
			get
			{
				return this.GetAttributeValue<string>("yomilastname");
			}
			set
			{
				this.SetAttributeValue<string>("YomiLastName", "yomilastname", value);
			}
		}
		
		/// <summary>
		/// 1:N campaignresponse_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaignresponse_activity_parties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> campaignresponse_activity_parties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("campaignresponse_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("campaignresponse_activity_parties", "campaignresponse_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CampaignResponse_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignResponse_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> CampaignResponse_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("CampaignResponse_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("CampaignResponse_Annotation", "CampaignResponse_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CampaignResponse_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignResponse_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> CampaignResponse_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("CampaignResponse_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("CampaignResponse_AsyncOperations", "CampaignResponse_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CampaignResponse_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignResponse_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> CampaignResponse_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("CampaignResponse_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("CampaignResponse_BulkDeleteFailures", "CampaignResponse_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CampaignResponse_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignResponse_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> CampaignResponse_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("CampaignResponse_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("CampaignResponse_DuplicateBaseRecord", "CampaignResponse_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CampaignResponse_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignResponse_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> CampaignResponse_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("CampaignResponse_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("CampaignResponse_DuplicateMatchingRecord", "CampaignResponse_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N campaignresponse_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaignresponse_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> campaignresponse_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("campaignresponse_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("campaignresponse_principalobjectattributeaccess", "campaignresponse_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CampaignResponse_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignResponse_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> CampaignResponse_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("CampaignResponse_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("CampaignResponse_ProcessSessions", "CampaignResponse_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CampaignResponse_QueueItem
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignResponse_QueueItem")]
		public System.Collections.Generic.IEnumerable<Xrm.QueueItem> CampaignResponse_QueueItem
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QueueItem>("CampaignResponse_QueueItem", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QueueItem>("CampaignResponse_QueueItem", "CampaignResponse_QueueItem", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_campaignresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_campaignresponse")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_campaignresponse
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_campaignresponse", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_campaignresponse", "userentityinstancedata_campaignresponse", null, value);
			}
		}
		
		/// <summary>
		/// N:1 activity_campaignresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("originatingactivityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_campaignresponse")]
		public Xrm.ActivityPointer activity_campaignresponse
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityPointer>("activity_campaignresponse", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ActivityPointer>("activity_campaignresponse", "activity_campaignresponse", null, value);
			}
		}
		
		/// <summary>
		/// N:1 activity_pointer_campaignresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_campaignresponse")]
		public Xrm.ActivityPointer activity_pointer_campaignresponse
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_campaignresponse", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_campaignresponse", "activity_pointer_campaignresponse", null, value);
			}
		}
		
		/// <summary>
		/// N:1 appointment_campaignresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("originatingactivityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("appointment_campaignresponse")]
		public Xrm.Appointment appointment_campaignresponse
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Appointment>("appointment_campaignresponse", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Appointment>("appointment_campaignresponse", "appointment_campaignresponse", null, value);
			}
		}
		
		/// <summary>
		/// N:1 BulkOperation_CampaignResponse
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkOperation_CampaignResponse")]
		public Xrm.BulkOperation BulkOperation_CampaignResponse
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BulkOperation>("BulkOperation_CampaignResponse", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BulkOperation>("BulkOperation_CampaignResponse", "BulkOperation_CampaignResponse", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_campaignresponse_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_campaignresponse_activities")]
		public Xrm.BusinessUnit business_unit_campaignresponse_activities
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_campaignresponse_activities", null);
			}
		}
		
		/// <summary>
		/// N:1 Campaign_CampaignResponses
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_CampaignResponses")]
		public Xrm.Campaign Campaign_CampaignResponses
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Campaign>("Campaign_CampaignResponses", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Campaign>("Campaign_CampaignResponses", "Campaign_CampaignResponses", null, value);
			}
		}
		
		/// <summary>
		/// N:1 email_campaignresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("originatingactivityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("email_campaignresponse")]
		public Xrm.Email email_campaignresponse
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Email>("email_campaignresponse", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Email>("email_campaignresponse", "email_campaignresponse", null, value);
			}
		}
		
		/// <summary>
		/// N:1 fax_campaignresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("originatingactivityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("fax_campaignresponse")]
		public Xrm.Fax fax_campaignresponse
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Fax>("fax_campaignresponse", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Fax>("fax_campaignresponse", "fax_campaignresponse", null, value);
			}
		}
		
		/// <summary>
		/// N:1 letter_campaignresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("originatingactivityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("letter_campaignresponse")]
		public Xrm.Letter letter_campaignresponse
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Letter>("letter_campaignresponse", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Letter>("letter_campaignresponse", "letter_campaignresponse", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_campaignresponse_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_campaignresponse_createdby")]
		public Xrm.SystemUser lk_campaignresponse_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_campaignresponse_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_campaignresponse_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_campaignresponse_createdonbehalfby")]
		public Xrm.SystemUser lk_campaignresponse_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_campaignresponse_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_campaignresponse_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_campaignresponse_modifiedby")]
		public Xrm.SystemUser lk_campaignresponse_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_campaignresponse_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_campaignresponse_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_campaignresponse_modifiedonbehalfby")]
		public Xrm.SystemUser lk_campaignresponse_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_campaignresponse_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 phonecall_campaignresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("originatingactivityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("phonecall_campaignresponse")]
		public Xrm.PhoneCall phonecall_campaignresponse
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PhoneCall>("phonecall_campaignresponse", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PhoneCall>("phonecall_campaignresponse", "phonecall_campaignresponse", null, value);
			}
		}
		
		/// <summary>
		/// N:1 recurringappointmentmaster_campaignresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("originatingactivityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("recurringappointmentmaster_campaignresponse")]
		public Xrm.RecurringAppointmentMaster recurringappointmentmaster_campaignresponse
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RecurringAppointmentMaster>("recurringappointmentmaster_campaignresponse", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.RecurringAppointmentMaster>("recurringappointmentmaster_campaignresponse", "recurringappointmentmaster_campaignresponse", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_campaignresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_campaignresponse")]
		public Xrm.Team team_campaignresponse
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_campaignresponse", null);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_CampaignResponse
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_CampaignResponse")]
		public Xrm.TransactionCurrency TransactionCurrency_CampaignResponse
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_CampaignResponse", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_CampaignResponse", "TransactionCurrency_CampaignResponse", null, value);
			}
		}
		
		/// <summary>
		/// N:1 user_campaignresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_campaignresponse")]
		public Xrm.SystemUser user_campaignresponse
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_campaignresponse", null);
			}
		}
	}
	
	/// <summary>
	/// Mapowanie kolumn na mapie danych.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("columnmapping")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ColumnMappingSet")]
	public partial class ColumnMapping : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ColumnMapping() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "columnmapping";
		
		public const int EntityTypeCode = 4417;
		
		/// <summary>
		/// Unikatowy identyfikator mapowania kolumn.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("columnmappingid")]
		public System.Nullable<System.Guid> ColumnMappingId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("columnmappingid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ColumnMappingId", "columnmappingid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("columnmappingid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ColumnMappingId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył mapowanie kolumn.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia mapowania kolumn.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który utworzył mapowanie kolumny.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego mapowania danych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importmapid")]
		public Microsoft.Xrm.Client.CrmEntityReference ImportMapId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("importmapid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ImportMapId", "importmapid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował mapowanie kolumn.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji mapowania kolumn.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który jako ostatni zmodyfikował mapowanie kolumny.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy przetwarzanie mapowania kolumn jest konieczne.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("processcode")]
		public System.Nullable<int> ProcessCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("processcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ProcessCode", "processcode", value);
			}
		}
		
		/// <summary>
		/// Nazwa atrybutu źródłowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sourceattributename")]
		public string SourceAttributeName
		{
			get
			{
				return this.GetAttributeValue<string>("sourceattributename");
			}
			set
			{
				this.SetAttributeValue<string>("SourceAttributeName", "sourceattributename", value);
			}
		}
		
		/// <summary>
		/// Nazwa encji źródłowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sourceentityname")]
		public string SourceEntityName
		{
			get
			{
				return this.GetAttributeValue<string>("sourceentityname");
			}
			set
			{
				this.SetAttributeValue<string>("SourceEntityName", "sourceentityname", value);
			}
		}
		
		/// <summary>
		/// Stan mapowania kolumn.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu mapowania kolumn.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Nazwa atrybutu programu Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("targetattributename")]
		public string TargetAttributeName
		{
			get
			{
				return this.GetAttributeValue<string>("targetattributename");
			}
			set
			{
				this.SetAttributeValue<string>("TargetAttributeName", "targetattributename", value);
			}
		}
		
		/// <summary>
		/// Nazwa encji programu Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("targetentityname")]
		public string TargetEntityName
		{
			get
			{
				return this.GetAttributeValue<string>("targetentityname");
			}
			set
			{
				this.SetAttributeValue<string>("TargetEntityName", "targetentityname", value);
			}
		}
		
		/// <summary>
		/// 1:N LookUpMapping_ColumnMapping
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("LookUpMapping_ColumnMapping")]
		public System.Collections.Generic.IEnumerable<Xrm.LookUpMapping> LookUpMapping_ColumnMapping
		{
			get
			{
				return this.GetRelatedEntities<Xrm.LookUpMapping>("LookUpMapping_ColumnMapping", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.LookUpMapping>("LookUpMapping_ColumnMapping", "LookUpMapping_ColumnMapping", null, value);
			}
		}
		
		/// <summary>
		/// 1:N PickListMapping_ColumnMapping
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("PickListMapping_ColumnMapping")]
		public System.Collections.Generic.IEnumerable<Xrm.PickListMapping> PickListMapping_ColumnMapping
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PickListMapping>("PickListMapping_ColumnMapping", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PickListMapping>("PickListMapping_ColumnMapping", "PickListMapping_ColumnMapping", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_columnmapping
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_columnmapping")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_columnmapping
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_columnmapping", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_columnmapping", "userentityinstancedata_columnmapping", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ColumnMapping_ImportMap
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importmapid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ColumnMapping_ImportMap")]
		public Xrm.ImportMap ColumnMapping_ImportMap
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ImportMap>("ColumnMapping_ImportMap", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ImportMap>("ColumnMapping_ImportMap", "ColumnMapping_ImportMap", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_columnmapping_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_columnmapping_createdby")]
		public Xrm.SystemUser lk_columnmapping_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_columnmapping_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_columnmapping_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_columnmapping_createdonbehalfby")]
		public Xrm.SystemUser lk_columnmapping_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_columnmapping_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_columnmapping_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_columnmapping_modifiedby")]
		public Xrm.SystemUser lk_columnmapping_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_columnmapping_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_columnmapping_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_columnmapping_modifiedonbehalfby")]
		public Xrm.SystemUser lk_columnmapping_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_columnmapping_modifiedonbehalfby", null);
			}
		}
	}
	
	/// <summary>
	/// Firma konkurencyjna dla transakcji sprzedaży reprezentowanej przez potencjalnego klienta lub szansę sprzedaży.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("competitor")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("CompetitorSet")]
	public partial class Competitor : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Competitor() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "competitor";
		
		public const int EntityTypeCode = 123;
		
		/// <summary>
		/// Unikatowy identyfikator adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_addressid")]
		public System.Nullable<System.Guid> Address1_AddressId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("address1_addressid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("Address1_AddressId", "address1_addressid", value);
			}
		}
		
		/// <summary>
		/// Typ adresu 1, np. adres na fakturze, adres wysyłkowy lub adres podstawowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_addresstypecode")]
		public System.Nullable<int> Address1_AddressTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address1_addresstypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address1_AddressTypeCode", "address1_addresstypecode", value);
			}
		}
		
		/// <summary>
		/// Nazwa miasta dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_city")]
		public string Address1_City
		{
			get
			{
				return this.GetAttributeValue<string>("address1_city");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_City", "address1_city", value);
			}
		}
		
		/// <summary>
		/// Nazwa kraju/regionu w adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_country")]
		public string Address1_Country
		{
			get
			{
				return this.GetAttributeValue<string>("address1_country");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Country", "address1_country", value);
			}
		}
		
		/// <summary>
		/// Nazwa powiatu dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_county")]
		public string Address1_County
		{
			get
			{
				return this.GetAttributeValue<string>("address1_county");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_County", "address1_county", value);
			}
		}
		
		/// <summary>
		/// Numer faksu dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_fax")]
		public string Address1_Fax
		{
			get
			{
				return this.GetAttributeValue<string>("address1_fax");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Fax", "address1_fax", value);
			}
		}
		
		/// <summary>
		/// Szerokość geograficzna dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_latitude")]
		public System.Nullable<double> Address1_Latitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address1_latitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address1_Latitude", "address1_latitude", value);
			}
		}
		
		/// <summary>
		/// Pierwszy wiersz do wprowadzenia informacji o adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_line1")]
		public string Address1_Line1
		{
			get
			{
				return this.GetAttributeValue<string>("address1_line1");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Line1", "address1_line1", value);
			}
		}
		
		/// <summary>
		/// Drugi wiersz do wprowadzenia informacji o adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_line2")]
		public string Address1_Line2
		{
			get
			{
				return this.GetAttributeValue<string>("address1_line2");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Line2", "address1_line2", value);
			}
		}
		
		/// <summary>
		/// Trzeci wiersz do wprowadzenia informacji o adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_line3")]
		public string Address1_Line3
		{
			get
			{
				return this.GetAttributeValue<string>("address1_line3");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Line3", "address1_line3", value);
			}
		}
		
		/// <summary>
		/// Długość geograficzna dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_longitude")]
		public System.Nullable<double> Address1_Longitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address1_longitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address1_Longitude", "address1_longitude", value);
			}
		}
		
		/// <summary>
		/// Nazwa do wprowadzenia dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_name")]
		public string Address1_Name
		{
			get
			{
				return this.GetAttributeValue<string>("address1_name");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Name", "address1_name", value);
			}
		}
		
		/// <summary>
		/// Kod pocztowy adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_postalcode")]
		public string Address1_PostalCode
		{
			get
			{
				return this.GetAttributeValue<string>("address1_postalcode");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_PostalCode", "address1_postalcode", value);
			}
		}
		
		/// <summary>
		/// Numer skrytki pocztowej dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_postofficebox")]
		public string Address1_PostOfficeBox
		{
			get
			{
				return this.GetAttributeValue<string>("address1_postofficebox");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_PostOfficeBox", "address1_postofficebox", value);
			}
		}
		
		/// <summary>
		/// Metoda wysyłki dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_shippingmethodcode")]
		public System.Nullable<int> Address1_ShippingMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address1_shippingmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address1_ShippingMethodCode", "address1_shippingmethodcode", value);
			}
		}
		
		/// <summary>
		/// Województwo adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_stateorprovince")]
		public string Address1_StateOrProvince
		{
			get
			{
				return this.GetAttributeValue<string>("address1_stateorprovince");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_StateOrProvince", "address1_stateorprovince", value);
			}
		}
		
		/// <summary>
		/// Pierwszy numer telefonu skojarzony z adresem 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_telephone1")]
		public string Address1_Telephone1
		{
			get
			{
				return this.GetAttributeValue<string>("address1_telephone1");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Telephone1", "address1_telephone1", value);
			}
		}
		
		/// <summary>
		/// Drugi numer telefonu skojarzony z adresem 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_telephone2")]
		public string Address1_Telephone2
		{
			get
			{
				return this.GetAttributeValue<string>("address1_telephone2");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Telephone2", "address1_telephone2", value);
			}
		}
		
		/// <summary>
		/// Trzeci numer telefonu skojarzony z adresem 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_telephone3")]
		public string Address1_Telephone3
		{
			get
			{
				return this.GetAttributeValue<string>("address1_telephone3");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Telephone3", "address1_telephone3", value);
			}
		}
		
		/// <summary>
		/// Strefa firmy United Parcel Service (UPS) dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_upszone")]
		public string Address1_UPSZone
		{
			get
			{
				return this.GetAttributeValue<string>("address1_upszone");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_UPSZone", "address1_upszone", value);
			}
		}
		
		/// <summary>
		/// Przesunięcie czasu UTC dla adresu 1. Jest to różnica między czasem lokalnym a standardowym uniwersalnym czasem koordynowanym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_utcoffset")]
		public System.Nullable<int> Address1_UTCOffset
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address1_utcoffset");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Address1_UTCOffset", "address1_utcoffset", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_addressid")]
		public System.Nullable<System.Guid> Address2_AddressId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("address2_addressid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("Address2_AddressId", "address2_addressid", value);
			}
		}
		
		/// <summary>
		/// Typ adresu 2, np. adres na fakturze, adres wysyłkowy lub adres podstawowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_addresstypecode")]
		public System.Nullable<int> Address2_AddressTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address2_addresstypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address2_AddressTypeCode", "address2_addresstypecode", value);
			}
		}
		
		/// <summary>
		/// Nazwa miasta dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_city")]
		public string Address2_City
		{
			get
			{
				return this.GetAttributeValue<string>("address2_city");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_City", "address2_city", value);
			}
		}
		
		/// <summary>
		/// Nazwa kraju/regionu w adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_country")]
		public string Address2_Country
		{
			get
			{
				return this.GetAttributeValue<string>("address2_country");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Country", "address2_country", value);
			}
		}
		
		/// <summary>
		/// Nazwa powiatu dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_county")]
		public string Address2_County
		{
			get
			{
				return this.GetAttributeValue<string>("address2_county");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_County", "address2_county", value);
			}
		}
		
		/// <summary>
		/// Numer faksu dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_fax")]
		public string Address2_Fax
		{
			get
			{
				return this.GetAttributeValue<string>("address2_fax");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Fax", "address2_fax", value);
			}
		}
		
		/// <summary>
		/// Szerokość geograficzna dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_latitude")]
		public System.Nullable<double> Address2_Latitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address2_latitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address2_Latitude", "address2_latitude", value);
			}
		}
		
		/// <summary>
		/// Pierwszy wiersz do wprowadzenia informacji o adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_line1")]
		public string Address2_Line1
		{
			get
			{
				return this.GetAttributeValue<string>("address2_line1");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Line1", "address2_line1", value);
			}
		}
		
		/// <summary>
		/// Drugi wiersz do wprowadzenia informacji o adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_line2")]
		public string Address2_Line2
		{
			get
			{
				return this.GetAttributeValue<string>("address2_line2");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Line2", "address2_line2", value);
			}
		}
		
		/// <summary>
		/// Trzeci wiersz do wprowadzenia informacji o adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_line3")]
		public string Address2_Line3
		{
			get
			{
				return this.GetAttributeValue<string>("address2_line3");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Line3", "address2_line3", value);
			}
		}
		
		/// <summary>
		/// Długość geograficzna dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_longitude")]
		public System.Nullable<double> Address2_Longitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address2_longitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address2_Longitude", "address2_longitude", value);
			}
		}
		
		/// <summary>
		/// Nazwa do wprowadzenia dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_name")]
		public string Address2_Name
		{
			get
			{
				return this.GetAttributeValue<string>("address2_name");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Name", "address2_name", value);
			}
		}
		
		/// <summary>
		/// Kod pocztowy adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_postalcode")]
		public string Address2_PostalCode
		{
			get
			{
				return this.GetAttributeValue<string>("address2_postalcode");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_PostalCode", "address2_postalcode", value);
			}
		}
		
		/// <summary>
		/// Numer skrytki pocztowej dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_postofficebox")]
		public string Address2_PostOfficeBox
		{
			get
			{
				return this.GetAttributeValue<string>("address2_postofficebox");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_PostOfficeBox", "address2_postofficebox", value);
			}
		}
		
		/// <summary>
		/// Metoda wysyłki dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_shippingmethodcode")]
		public System.Nullable<int> Address2_ShippingMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address2_shippingmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address2_ShippingMethodCode", "address2_shippingmethodcode", value);
			}
		}
		
		/// <summary>
		/// Województwo adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_stateorprovince")]
		public string Address2_StateOrProvince
		{
			get
			{
				return this.GetAttributeValue<string>("address2_stateorprovince");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_StateOrProvince", "address2_stateorprovince", value);
			}
		}
		
		/// <summary>
		/// Pierwszy numer telefonu skojarzony z adresem 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_telephone1")]
		public string Address2_Telephone1
		{
			get
			{
				return this.GetAttributeValue<string>("address2_telephone1");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Telephone1", "address2_telephone1", value);
			}
		}
		
		/// <summary>
		/// Drugi numer telefonu skojarzony z adresem 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_telephone2")]
		public string Address2_Telephone2
		{
			get
			{
				return this.GetAttributeValue<string>("address2_telephone2");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Telephone2", "address2_telephone2", value);
			}
		}
		
		/// <summary>
		/// Trzeci numer telefonu skojarzony z adresem 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_telephone3")]
		public string Address2_Telephone3
		{
			get
			{
				return this.GetAttributeValue<string>("address2_telephone3");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Telephone3", "address2_telephone3", value);
			}
		}
		
		/// <summary>
		/// Strefa firmy United Parcel Service (UPS) dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_upszone")]
		public string Address2_UPSZone
		{
			get
			{
				return this.GetAttributeValue<string>("address2_upszone");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_UPSZone", "address2_upszone", value);
			}
		}
		
		/// <summary>
		/// Przesunięcie czasu UTC dla adresu 2. Jest to różnica między czasem lokalnym a standardowym uniwersalnym czasem koordynowanym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_utcoffset")]
		public System.Nullable<int> Address2_UTCOffset
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address2_utcoffset");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Address2_UTCOffset", "address2_utcoffset", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator konkurenta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("competitorid")]
		public System.Nullable<System.Guid> CompetitorId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("competitorid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("CompetitorId", "competitorid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("competitorid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.CompetitorId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył konkurenta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia konkurenta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który utworzył konkurenta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z konkurencją w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Kluczowe produkty konkurenta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("keyproduct")]
		public string KeyProduct
		{
			get
			{
				return this.GetAttributeValue<string>("keyproduct");
			}
			set
			{
				this.SetAttributeValue<string>("KeyProduct", "keyproduct", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował konkurenta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji konkurenta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który jako ostatni zmodyfikował konkurenta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa konkurenta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Możliwości działań konkurencyjnych wobec konkurenta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("opportunities")]
		public string Opportunities
		{
			get
			{
				return this.GetAttributeValue<string>("opportunities");
			}
			set
			{
				this.SetAttributeValue<string>("Opportunities", "opportunities", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonej organizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Opis z podsumowaniem konkurenta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overview")]
		public string Overview
		{
			get
			{
				return this.GetAttributeValue<string>("overview");
			}
			set
			{
				this.SetAttributeValue<string>("Overview", "overview", value);
			}
		}
		
		/// <summary>
		/// Adres URL witryny sieci Web zawierającej informacje referencyjne na temat konkurenta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("referenceinfourl")]
		public string ReferenceInfoUrl
		{
			get
			{
				return this.GetAttributeValue<string>("referenceinfourl");
			}
			set
			{
				this.SetAttributeValue<string>("ReferenceInfoUrl", "referenceinfourl", value);
			}
		}
		
		/// <summary>
		/// Zgłaszane przychody konkurenta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportedrevenue")]
		public System.Nullable<decimal> ReportedRevenue
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("reportedrevenue");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("ReportedRevenue", "reportedrevenue", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej przychodu konkurencji uwzględnianego w raporcie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportedrevenue_base")]
		public System.Nullable<decimal> ReportedRevenue_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("reportedrevenue_base");
			}
		}
		
		/// <summary>
		/// Kwartał roku obrachunkowego działalności konkurenta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportingquarter")]
		public System.Nullable<int> ReportingQuarter
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("reportingquarter");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ReportingQuarter", "reportingquarter", value);
			}
		}
		
		/// <summary>
		/// Rok obrachunkowy działalności konkurenta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportingyear")]
		public System.Nullable<int> ReportingYear
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("reportingyear");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ReportingYear", "reportingyear", value);
			}
		}
		
		/// <summary>
		/// Giełda, na której jest notowany konkurent.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("stockexchange")]
		public string StockExchange
		{
			get
			{
				return this.GetAttributeValue<string>("stockexchange");
			}
			set
			{
				this.SetAttributeValue<string>("StockExchange", "stockexchange", value);
			}
		}
		
		/// <summary>
		/// Silne strony konkurenta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("strengths")]
		public string Strengths
		{
			get
			{
				return this.GetAttributeValue<string>("strengths");
			}
			set
			{
				this.SetAttributeValue<string>("Strengths", "strengths", value);
			}
		}
		
		/// <summary>
		/// Zagrożenia konkurencyjne powodowane przez konkurenta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("threats")]
		public string Threats
		{
			get
			{
				return this.GetAttributeValue<string>("threats");
			}
			set
			{
				this.SetAttributeValue<string>("Threats", "threats", value);
			}
		}
		
		/// <summary>
		/// Symbol giełdowy konkurenta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("tickersymbol")]
		public string TickerSymbol
		{
			get
			{
				return this.GetAttributeValue<string>("tickersymbol");
			}
			set
			{
				this.SetAttributeValue<string>("TickerSymbol", "tickersymbol", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z konkurencją.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji konkurenta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// Słabe strony konkurenta w zakresie konkurencyjności.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("weaknesses")]
		public string Weaknesses
		{
			get
			{
				return this.GetAttributeValue<string>("weaknesses");
			}
			set
			{
				this.SetAttributeValue<string>("Weaknesses", "weaknesses", value);
			}
		}
		
		/// <summary>
		/// Adres URL witryny sieci Web konkurenta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("websiteurl")]
		public string WebSiteUrl
		{
			get
			{
				return this.GetAttributeValue<string>("websiteurl");
			}
			set
			{
				this.SetAttributeValue<string>("WebSiteUrl", "websiteurl", value);
			}
		}
		
		/// <summary>
		/// Procent szans sprzedaży wykorzystanych przez konkurenta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("winpercentage")]
		public System.Nullable<double> WinPercentage
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("winpercentage");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("WinPercentage", "winpercentage", value);
			}
		}
		
		/// <summary>
		/// Wymowa nazwy konkurencji zapisana przy użyciu znaków fonetycznych hiragana lub katakana.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("yominame")]
		public string YomiName
		{
			get
			{
				return this.GetAttributeValue<string>("yominame");
			}
			set
			{
				this.SetAttributeValue<string>("YomiName", "yominame", value);
			}
		}
		
		/// <summary>
		/// 1:N Competitor_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Competitor_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> Competitor_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("Competitor_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("Competitor_Annotation", "Competitor_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Competitor_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Competitor_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Competitor_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Competitor_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Competitor_AsyncOperations", "Competitor_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Competitor_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Competitor_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Competitor_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Competitor_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Competitor_BulkDeleteFailures", "Competitor_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N competitor_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("competitor_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> competitor_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("competitor_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("competitor_connections1", "competitor_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N competitor_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("competitor_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> competitor_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("competitor_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("competitor_connections2", "competitor_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Competitor_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Competitor_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Competitor_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Competitor_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Competitor_DuplicateBaseRecord", "Competitor_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Competitor_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Competitor_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Competitor_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Competitor_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Competitor_DuplicateMatchingRecord", "Competitor_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N competitor_opportunity_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("competitor_opportunity_activities")]
		public System.Collections.Generic.IEnumerable<Xrm.OpportunityClose> competitor_opportunity_activities
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OpportunityClose>("competitor_opportunity_activities", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OpportunityClose>("competitor_opportunity_activities", "competitor_opportunity_activities", null, value);
			}
		}
		
		/// <summary>
		/// 1:N competitor_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("competitor_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> competitor_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("competitor_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("competitor_principalobjectattributeaccess", "competitor_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Competitor_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Competitor_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Competitor_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Competitor_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Competitor_ProcessSessions", "Competitor_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_competitor
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_competitor")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_competitor
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_competitor", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_competitor", "userentityinstancedata_competitor", null, value);
			}
		}
		
		/// <summary>
		/// N:N competitorproduct_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("competitorproduct_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Product> competitorproduct_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Product>("competitorproduct_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Product>("competitorproduct_association", "competitorproduct_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N competitorsalesliterature_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("competitorsalesliterature_association")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesLiterature> competitorsalesliterature_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesLiterature>("competitorsalesliterature_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesLiterature>("competitorsalesliterature_association", "competitorsalesliterature_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N leadcompetitors_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("leadcompetitors_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Lead> leadcompetitors_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Lead>("leadcompetitors_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Lead>("leadcompetitors_association", "leadcompetitors_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N opportunitycompetitors_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunitycompetitors_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Opportunity> opportunitycompetitors_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Opportunity>("opportunitycompetitors_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Opportunity>("opportunitycompetitors_association", "opportunitycompetitors_association", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_competitor_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_competitor_createdonbehalfby")]
		public Xrm.SystemUser lk_competitor_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_competitor_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_competitor_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_competitor_modifiedonbehalfby")]
		public Xrm.SystemUser lk_competitor_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_competitor_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_competitorbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_competitorbase_createdby")]
		public Xrm.SystemUser lk_competitorbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_competitorbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_competitorbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_competitorbase_modifiedby")]
		public Xrm.SystemUser lk_competitorbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_competitorbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_competitors
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_competitors")]
		public Xrm.Organization organization_competitors
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_competitors", null);
			}
		}
		
		/// <summary>
		/// N:1 transactioncurrency_competitor
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_competitor")]
		public Xrm.TransactionCurrency transactioncurrency_competitor
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_competitor", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_competitor", "transactioncurrency_competitor", null, value);
			}
		}
	}
	
	/// <summary>
	/// Skojarzenie między konkurentem a oferowanym przez niego produktem.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("competitorproduct")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("CompetitorProductSet")]
	public partial class CompetitorProduct : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public CompetitorProduct() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "competitorproduct";
		
		public const int EntityTypeCode = 1006;
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("competitorid")]
		public System.Nullable<System.Guid> CompetitorId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("competitorid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator produktu konkurenta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("competitorproductid")]
		public System.Nullable<System.Guid> CompetitorProductId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("competitorproductid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("CompetitorProductId", "competitorproductid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("competitorproductid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.CompetitorProductId = value;
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productid")]
		public System.Nullable<System.Guid> ProductId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("productid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_competitorproduct
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_competitorproduct")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_competitorproduct
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_competitorproduct", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_competitorproduct", "userentityinstancedata_competitorproduct", null, value);
			}
		}
		
		/// <summary>
		/// N:N competitorproduct_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("competitorproduct_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Competitor> competitorproduct_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Competitor>("competitorproduct_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Competitor>("competitorproduct_association", "competitorproduct_association", null, value);
			}
		}
	}
	
	/// <summary>
	/// 
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("competitorsalesliterature")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("CompetitorSalesLiteratureSet")]
	public partial class CompetitorSalesLiterature : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public CompetitorSalesLiterature() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "competitorsalesliterature";
		
		public const int EntityTypeCode = 26;
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("competitorid")]
		public System.Nullable<System.Guid> CompetitorId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("competitorid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator materiałów sprzedażowych dotyczących produktu konkurenta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("competitorsalesliteratureid")]
		public System.Nullable<System.Guid> CompetitorSalesLiteratureId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("competitorsalesliteratureid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("CompetitorSalesLiteratureId", "competitorsalesliteratureid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("competitorsalesliteratureid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.CompetitorSalesLiteratureId = value;
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salesliteratureid")]
		public System.Nullable<System.Guid> SalesLiteratureId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("salesliteratureid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_competitorsalesliterature
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_competitorsalesliterature")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_competitorsalesliterature
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_competitorsalesliterature", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_competitorsalesliterature", "userentityinstancedata_competitorsalesliterature", null, value);
			}
		}
		
		/// <summary>
		/// N:N competitorsalesliterature_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("competitorsalesliterature_association")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesLiterature> competitorsalesliterature_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesLiterature>("competitorsalesliterature_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesLiterature>("competitorsalesliterature_association", "competitorsalesliterature_association", null, value);
			}
		}
	}
	
	/// <summary>
	/// Relacja między dwiema encjami.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("connection")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ConnectionSet")]
	public partial class Connection : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Connection() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "connection";
		
		public const int EntityTypeCode = 3234;
		
		/// <summary>
		/// Unikatowy identyfikator połączenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("connectionid")]
		public System.Nullable<System.Guid> ConnectionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("connectionid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ConnectionId", "connectionid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("connectionid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ConnectionId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył połączenie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia połączenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który utworzył warunek reguły.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis połączenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Efektywna data końcowa tego połączenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("effectiveend")]
		public System.Nullable<System.DateTime> EffectiveEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("effectiveend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("EffectiveEnd", "effectiveend", value);
			}
		}
		
		/// <summary>
		/// Efektywna data początkowa tego połączenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("effectivestart")]
		public System.Nullable<System.DateTime> EffectiveStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("effectivestart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("EffectiveStart", "effectivestart", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany między walutą skojarzoną z połączeniem a walutą podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, że to jest rekord główny.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismaster")]
		public System.Nullable<bool> IsMaster
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismaster");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował połączenie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji połączenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który jako ostatni zmodyfikował połączenie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa połączenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, który jest właścicielem połączenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, do której należy połączenie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, do którego należy połączenie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, do którego należy połączenie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator rekordu źródłowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		public Microsoft.Xrm.Client.CrmEntityReference Record1Id
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("record1id");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("Record1Id", "record1id", value);
			}
		}
		
		/// <summary>
		/// Typ rekordu źródłowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1objecttypecode")]
		public System.Nullable<int> Record1ObjectTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("record1objecttypecode");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator roli rekordu źródłowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1roleid")]
		public Microsoft.Xrm.Client.CrmEntityReference Record1RoleId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("record1roleid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("Record1RoleId", "record1roleid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator rekordu docelowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		public Microsoft.Xrm.Client.CrmEntityReference Record2Id
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("record2id");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("Record2Id", "record2id", value);
			}
		}
		
		/// <summary>
		/// Typ rekordu docelowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2objecttypecode")]
		public System.Nullable<int> Record2ObjectTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("record2objecttypecode");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator roli rekordu docelowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2roleid")]
		public Microsoft.Xrm.Client.CrmEntityReference Record2RoleId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("record2roleid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("Record2RoleId", "record2roleid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator rekordu połączenia obustronnego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("relatedconnectionid")]
		public Microsoft.Xrm.Client.CrmEntityReference RelatedConnectionId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("relatedconnectionid");
			}
		}
		
		/// <summary>
		/// Stan połączenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu połączenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z połączeniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Numer wersji połączenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N Connection_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Connection_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Connection_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Connection_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Connection_AsyncOperations", "Connection_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N connection_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("connection_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> connection_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("connection_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("connection_principalobjectattributeaccess", "connection_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Connection_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Connection_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Connection_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Connection_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Connection_ProcessSessions", "Connection_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N connection_related_connection
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("connection_related_connection", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> Referencedconnection_related_connection
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("connection_related_connection", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("Referencedconnection_related_connection", "connection_related_connection", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_connection
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_connection")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_connection
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_connection", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_connection", "userentityinstancedata_connection", null, value);
			}
		}
		
		/// <summary>
		/// N:1 account_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("account_connections1")]
		public Xrm.Account account_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("account_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("account_connections1", "account_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 account_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("account_connections2")]
		public Xrm.Account account_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("account_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("account_connections2", "account_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 activitypointer_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activitypointer_connections1")]
		public Xrm.ActivityPointer activitypointer_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityPointer>("activitypointer_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ActivityPointer>("activitypointer_connections1", "activitypointer_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 activitypointer_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activitypointer_connections2")]
		public Xrm.ActivityPointer activitypointer_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityPointer>("activitypointer_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ActivityPointer>("activitypointer_connections2", "activitypointer_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 appointment_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("appointment_connections1")]
		public Xrm.Appointment appointment_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Appointment>("appointment_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Appointment>("appointment_connections1", "appointment_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 appointment_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("appointment_connections2")]
		public Xrm.Appointment appointment_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Appointment>("appointment_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Appointment>("appointment_connections2", "appointment_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_connections
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_connections")]
		public Xrm.BusinessUnit business_unit_connections
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_connections", null);
			}
		}
		
		/// <summary>
		/// N:1 campaign_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaign_connections1")]
		public Xrm.Campaign campaign_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Campaign>("campaign_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Campaign>("campaign_connections1", "campaign_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 campaign_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaign_connections2")]
		public Xrm.Campaign campaign_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Campaign>("campaign_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Campaign>("campaign_connections2", "campaign_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 campaignactivity_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaignactivity_connections1")]
		public Xrm.CampaignActivity campaignactivity_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignActivity>("campaignactivity_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CampaignActivity>("campaignactivity_connections1", "campaignactivity_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 campaignactivity_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaignactivity_connections2")]
		public Xrm.CampaignActivity campaignactivity_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignActivity>("campaignactivity_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CampaignActivity>("campaignactivity_connections2", "campaignactivity_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 competitor_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("competitor_connections1")]
		public Xrm.Competitor competitor_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Competitor>("competitor_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Competitor>("competitor_connections1", "competitor_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 competitor_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("competitor_connections2")]
		public Xrm.Competitor competitor_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Competitor>("competitor_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Competitor>("competitor_connections2", "competitor_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 connection_related_connection
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("relatedconnectionid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("connection_related_connection", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.Connection Referencingconnection_related_connection
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Connection>("connection_related_connection", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
		}
		
		/// <summary>
		/// N:1 connection_role_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1roleid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("connection_role_connections1")]
		public Xrm.ConnectionRole connection_role_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ConnectionRole>("connection_role_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ConnectionRole>("connection_role_connections1", "connection_role_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 connection_role_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2roleid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("connection_role_connections2")]
		public Xrm.ConnectionRole connection_role_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ConnectionRole>("connection_role_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ConnectionRole>("connection_role_connections2", "connection_role_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 constraintbasedgroup_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("constraintbasedgroup_connections1")]
		public Xrm.ConstraintBasedGroup constraintbasedgroup_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ConstraintBasedGroup>("constraintbasedgroup_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ConstraintBasedGroup>("constraintbasedgroup_connections1", "constraintbasedgroup_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 constraintbasedgroup_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("constraintbasedgroup_connections2")]
		public Xrm.ConstraintBasedGroup constraintbasedgroup_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ConstraintBasedGroup>("constraintbasedgroup_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ConstraintBasedGroup>("constraintbasedgroup_connections2", "constraintbasedgroup_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 contact_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contact_connections1")]
		public Xrm.Contact contact_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("contact_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("contact_connections1", "contact_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 contact_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contact_connections2")]
		public Xrm.Contact contact_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("contact_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("contact_connections2", "contact_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 contract_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contract_connections1")]
		public Xrm.Contract contract_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contract>("contract_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contract>("contract_connections1", "contract_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 contract_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contract_connections2")]
		public Xrm.Contract contract_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contract>("contract_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contract>("contract_connections2", "contract_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 createdby_connection
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_connection")]
		public Xrm.SystemUser createdby_connection
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("createdby_connection", null);
			}
		}
		
		/// <summary>
		/// N:1 email_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("email_connections1")]
		public Xrm.Email email_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Email>("email_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Email>("email_connections1", "email_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 email_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("email_connections2")]
		public Xrm.Email email_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Email>("email_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Email>("email_connections2", "email_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 equipment_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("equipment_connections1")]
		public Xrm.Equipment equipment_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Equipment>("equipment_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Equipment>("equipment_connections1", "equipment_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 equipment_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("equipment_connections2")]
		public Xrm.Equipment equipment_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Equipment>("equipment_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Equipment>("equipment_connections2", "equipment_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 fax_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("fax_connections1")]
		public Xrm.Fax fax_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Fax>("fax_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Fax>("fax_connections1", "fax_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 fax_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("fax_connections2")]
		public Xrm.Fax fax_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Fax>("fax_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Fax>("fax_connections2", "fax_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 goal_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goal_connections1")]
		public Xrm.Goal goal_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Goal>("goal_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Goal>("goal_connections1", "goal_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 goal_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goal_connections2")]
		public Xrm.Goal goal_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Goal>("goal_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Goal>("goal_connections2", "goal_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 incident_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("incident_connections1")]
		public Xrm.Incident incident_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Incident>("incident_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Incident>("incident_connections1", "incident_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 incident_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("incident_connections2")]
		public Xrm.Incident incident_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Incident>("incident_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Incident>("incident_connections2", "incident_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 invoice_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("invoice_connections1")]
		public Xrm.Invoice invoice_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Invoice>("invoice_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Invoice>("invoice_connections1", "invoice_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 invoice_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("invoice_connections2")]
		public Xrm.Invoice invoice_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Invoice>("invoice_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Invoice>("invoice_connections2", "invoice_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lead_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lead_connections1")]
		public Xrm.Lead lead_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Lead>("lead_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Lead>("lead_connections1", "lead_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lead_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lead_connections2")]
		public Xrm.Lead lead_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Lead>("lead_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Lead>("lead_connections2", "lead_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 letter_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("letter_connections1")]
		public Xrm.Letter letter_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Letter>("letter_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Letter>("letter_connections1", "letter_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 letter_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("letter_connections2")]
		public Xrm.Letter letter_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Letter>("letter_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Letter>("letter_connections2", "letter_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 list_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("list_connections1")]
		public Xrm.List list_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.List>("list_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.List>("list_connections1", "list_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 list_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("list_connections2")]
		public Xrm.List list_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.List>("list_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.List>("list_connections2", "list_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_connectionbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_connectionbase_createdonbehalfby")]
		public Xrm.SystemUser lk_connectionbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_connectionbase_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_connectionbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_connectionbase_modifiedonbehalfby")]
		public Xrm.SystemUser lk_connectionbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_connectionbase_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 modifiedby_connection
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_connection")]
		public Xrm.SystemUser modifiedby_connection
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("modifiedby_connection", null);
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postalbum_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_connections1")]
		public Xrm.msdyn_PostAlbum msdyn_postalbum_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_connections1", "msdyn_postalbum_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postalbum_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_connections2")]
		public Xrm.msdyn_PostAlbum msdyn_postalbum_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_connections2", "msdyn_postalbum_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownicy_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_connections1")]
		public Xrm.new_uzytkownicy new_uzytkownicy_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_connections1", "new_uzytkownicy_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownicy_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_connections2")]
		public Xrm.new_uzytkownicy new_uzytkownicy_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_connections2", "new_uzytkownicy_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownikkontakty_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_connections1")]
		public Xrm.new_uzytkownikkontakty new_uzytkownikkontakty_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_connections1", "new_uzytkownikkontakty_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownikkontakty_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_connections2")]
		public Xrm.new_uzytkownikkontakty new_uzytkownikkontakty_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_connections2", "new_uzytkownikkontakty_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_zainteresowanie_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_connections1")]
		public Xrm.new_zainteresowanie new_zainteresowanie_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_connections1", "new_zainteresowanie_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_zainteresowanie_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_connections2")]
		public Xrm.new_zainteresowanie new_zainteresowanie_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_connections2", "new_zainteresowanie_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 opportunity_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunity_connections1")]
		public Xrm.Opportunity opportunity_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Opportunity>("opportunity_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Opportunity>("opportunity_connections1", "opportunity_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 opportunity_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunity_connections2")]
		public Xrm.Opportunity opportunity_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Opportunity>("opportunity_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Opportunity>("opportunity_connections2", "opportunity_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 phonecall_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("phonecall_connections1")]
		public Xrm.PhoneCall phonecall_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PhoneCall>("phonecall_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PhoneCall>("phonecall_connections1", "phonecall_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 phonecall_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("phonecall_connections2")]
		public Xrm.PhoneCall phonecall_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PhoneCall>("phonecall_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PhoneCall>("phonecall_connections2", "phonecall_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 processsession_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("processsession_connections1")]
		public Xrm.ProcessSession processsession_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ProcessSession>("processsession_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ProcessSession>("processsession_connections1", "processsession_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 processsession_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("processsession_connections2")]
		public Xrm.ProcessSession processsession_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ProcessSession>("processsession_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ProcessSession>("processsession_connections2", "processsession_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 quote_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("quote_connections1")]
		public Xrm.Quote quote_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Quote>("quote_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Quote>("quote_connections1", "quote_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 quote_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("quote_connections2")]
		public Xrm.Quote quote_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Quote>("quote_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Quote>("quote_connections2", "quote_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 recurringappointmentmaster_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("recurringappointmentmaster_connections1")]
		public Xrm.RecurringAppointmentMaster recurringappointmentmaster_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RecurringAppointmentMaster>("recurringappointmentmaster_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.RecurringAppointmentMaster>("recurringappointmentmaster_connections1", "recurringappointmentmaster_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 recurringappointmentmaster_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("recurringappointmentmaster_connections2")]
		public Xrm.RecurringAppointmentMaster recurringappointmentmaster_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RecurringAppointmentMaster>("recurringappointmentmaster_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.RecurringAppointmentMaster>("recurringappointmentmaster_connections2", "recurringappointmentmaster_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 resourcegroup_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("resourcegroup_connections1")]
		public Xrm.ResourceGroup resourcegroup_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ResourceGroup>("resourcegroup_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ResourceGroup>("resourcegroup_connections1", "resourcegroup_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 resourcegroup_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("resourcegroup_connections2")]
		public Xrm.ResourceGroup resourcegroup_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ResourceGroup>("resourcegroup_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ResourceGroup>("resourcegroup_connections2", "resourcegroup_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 salesorder_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("salesorder_connections1")]
		public Xrm.SalesOrder salesorder_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesOrder>("salesorder_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesOrder>("salesorder_connections1", "salesorder_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 salesorder_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("salesorder_connections2")]
		public Xrm.SalesOrder salesorder_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesOrder>("salesorder_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesOrder>("salesorder_connections2", "salesorder_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 serviceappointment_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("serviceappointment_connections1")]
		public Xrm.ServiceAppointment serviceappointment_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ServiceAppointment>("serviceappointment_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ServiceAppointment>("serviceappointment_connections1", "serviceappointment_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 serviceappointment_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("serviceappointment_connections2")]
		public Xrm.ServiceAppointment serviceappointment_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ServiceAppointment>("serviceappointment_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ServiceAppointment>("serviceappointment_connections2", "serviceappointment_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 systemuser_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("systemuser_connections1")]
		public Xrm.SystemUser systemuser_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("systemuser_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("systemuser_connections1", "systemuser_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 systemuser_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("systemuser_connections2")]
		public Xrm.SystemUser systemuser_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("systemuser_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("systemuser_connections2", "systemuser_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 task_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("task_connections1")]
		public Xrm.Task task_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Task>("task_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Task>("task_connections1", "task_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 task_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("task_connections2")]
		public Xrm.Task task_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Task>("task_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Task>("task_connections2", "task_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record1id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_connections1")]
		public Xrm.Team team_connections1
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_connections1", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Team>("team_connections1", "team_connections1", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("record2id")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_connections2")]
		public Xrm.Team team_connections2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_connections2", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Team>("team_connections2", "team_connections2", null, value);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_Connection
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_Connection")]
		public Xrm.TransactionCurrency TransactionCurrency_Connection
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_Connection", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_Connection", "TransactionCurrency_Connection", null, value);
			}
		}
	}
	
	/// <summary>
	/// Rola opisująca relację między dwoma rekordami.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("connectionrole")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ConnectionRoleSet")]
	public partial class ConnectionRole : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ConnectionRole() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "connectionrole";
		
		public const int EntityTypeCode = 3231;
		
		/// <summary>
		/// Kategorie ról połączeń.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("category")]
		public System.Nullable<int> Category
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("category");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Category", "category", value);
			}
		}
		
		/// <summary>
		/// Stan składnika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator roli połączenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("connectionroleid")]
		public System.Nullable<System.Guid> ConnectionRoleId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("connectionroleid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ConnectionRoleId", "connectionroleid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("connectionroleid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ConnectionRoleId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator opublikowanego lub nieopublikowanego rekordu roli połączenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("connectionroleidunique")]
		public System.Nullable<System.Guid> ConnectionRoleIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("connectionroleidunique");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył rolę w relacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia roli połączenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który utworzył rolę w relacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis roli połączenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy można dostosować ten składnik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomizable")]
		public Microsoft.Xrm.Sdk.BooleanManagedProperty IsCustomizable
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("iscustomizable");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("IsCustomizable", "iscustomizable", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy składnik rozwiązania jest częścią rozwiązania zarządzanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował rolę połączenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji roli połączenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który jako ostatni zmodyfikował rolę w relacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa roli połączenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji, do której należy dana rola połączenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniego zastąpienia rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// Stan roli połączenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu roli połączenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji roli połączenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N Connection_Role_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Connection_Role_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Connection_Role_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Connection_Role_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Connection_Role_AsyncOperations", "Connection_Role_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N connection_role_connection_role_object_type_codes
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("connection_role_connection_role_object_type_codes")]
		public System.Collections.Generic.IEnumerable<Xrm.ConnectionRoleObjectTypeCode> connection_role_connection_role_object_type_codes
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ConnectionRoleObjectTypeCode>("connection_role_connection_role_object_type_codes", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ConnectionRoleObjectTypeCode>("connection_role_connection_role_object_type_codes", "connection_role_connection_role_object_type_codes", null, value);
			}
		}
		
		/// <summary>
		/// 1:N connection_role_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("connection_role_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> connection_role_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("connection_role_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("connection_role_connections1", "connection_role_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N connection_role_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("connection_role_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> connection_role_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("connection_role_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("connection_role_connections2", "connection_role_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ConnectionRole_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ConnectionRole_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> ConnectionRole_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("ConnectionRole_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("ConnectionRole_ProcessSessions", "ConnectionRole_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_connectionrole
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_connectionrole")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_connectionrole
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_connectionrole", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_connectionrole", "userentityinstancedata_connectionrole", null, value);
			}
		}
		
		/// <summary>
		/// N:N connectionroleassociation_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("connectionroleassociation_association", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public System.Collections.Generic.IEnumerable<Xrm.ConnectionRole> Referencingconnectionroleassociation_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ConnectionRole>("connectionroleassociation_association", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ConnectionRole>("Referencingconnectionroleassociation_association", "connectionroleassociation_association", Microsoft.Xrm.Sdk.EntityRole.Referencing, value);
			}
		}
		
		/// <summary>
		/// N:N connectionroleassociation_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("connectionroleassociation_association", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.ConnectionRole> Referencedconnectionroleassociation_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ConnectionRole>("connectionroleassociation_association", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ConnectionRole>("Referencedconnectionroleassociation_association", "connectionroleassociation_association", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// N:1 createdby_connection_role
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_connection_role")]
		public Xrm.SystemUser createdby_connection_role
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("createdby_connection_role", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_connectionrolebase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_connectionrolebase_createdonbehalfby")]
		public Xrm.SystemUser lk_connectionrolebase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_connectionrolebase_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_connectionrolebase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_connectionrolebase_modifiedonbehalfby")]
		public Xrm.SystemUser lk_connectionrolebase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_connectionrolebase_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 modifiedby_connection_role
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_connection_role")]
		public Xrm.SystemUser modifiedby_connection_role
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("modifiedby_connection_role", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_connection_roles
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_connection_roles")]
		public Xrm.Organization organization_connection_roles
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_connection_roles", null);
			}
		}
	}
	
	/// <summary>
	/// 
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("connectionroleassociation")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ConnectionRoleAssociationSet")]
	public partial class ConnectionRoleAssociation : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ConnectionRoleAssociation() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "connectionroleassociation";
		
		public const int EntityTypeCode = 3232;
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("associatedconnectionroleid")]
		public System.Nullable<System.Guid> AssociatedConnectionRoleId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("associatedconnectionroleid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("AssociatedConnectionRoleId", "associatedconnectionroleid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzenia roli połączenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("connectionroleassociationid")]
		public System.Nullable<System.Guid> ConnectionRoleAssociationId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("connectionroleassociationid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ConnectionRoleAssociationId", "connectionroleassociationid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("connectionroleassociationid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ConnectionRoleAssociationId = value;
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("connectionroleid")]
		public System.Nullable<System.Guid> ConnectionRoleId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("connectionroleid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("ConnectionRoleId", "connectionroleid", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_connectionroleassociation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_connectionroleassociation")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_connectionroleassociation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_connectionroleassociation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_connectionroleassociation", "userentityinstancedata_connectionroleassociation", null, value);
			}
		}
		
		/// <summary>
		/// N:N connectionroleassociation_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("connectionroleassociation_association")]
		public System.Collections.Generic.IEnumerable<Xrm.ConnectionRole> connectionroleassociation_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ConnectionRole>("connectionroleassociation_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ConnectionRole>("connectionroleassociation_association", "connectionroleassociation_association", null, value);
			}
		}
	}
	
	/// <summary>
	/// Określa typ encji mogącej pełnić konkretną rolę w połączeniu.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("connectionroleobjecttypecode")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ConnectionRoleObjectTypeCodeSet")]
	public partial class ConnectionRoleObjectTypeCode : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ConnectionRoleObjectTypeCode() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "connectionroleobjecttypecode";
		
		public const int EntityTypeCode = 3233;
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("associatedobjecttypecode")]
		public string AssociatedObjectTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("associatedobjecttypecode");
			}
			set
			{
				this.SetAttributeValue<string>("AssociatedObjectTypeCode", "associatedobjecttypecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator roli połączenia skojarzonej z kodem typu obiektu roli połączenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("connectionroleid")]
		public Microsoft.Xrm.Client.CrmEntityReference ConnectionRoleId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("connectionroleid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ConnectionRoleId", "connectionroleid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzenia typu obiektu roli połączenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("connectionroleobjecttypecodeid")]
		public System.Nullable<System.Guid> ConnectionRoleObjectTypeCodeId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("connectionroleobjecttypecodeid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ConnectionRoleObjectTypeCodeId", "connectionroleobjecttypecodeid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("connectionroleobjecttypecodeid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ConnectionRoleObjectTypeCodeId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z kodem typu obiektu roli połączenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public System.Nullable<System.Guid> OrganizationId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("organizationid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_connectionroleobjecttypecode
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_connectionroleobjecttypecode")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_connectionroleobjecttypecode
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_connectionroleobjecttypecode", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_connectionroleobjecttypecode", "userentityinstancedata_connectionroleobjecttypecode", null, value);
			}
		}
		
		/// <summary>
		/// N:1 connection_role_connection_role_object_type_codes
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("connectionroleid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("connection_role_connection_role_object_type_codes")]
		public Xrm.ConnectionRole connection_role_connection_role_object_type_codes
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ConnectionRole>("connection_role_connection_role_object_type_codes", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ConnectionRole>("connection_role_connection_role_object_type_codes", "connection_role_connection_role_object_type_codes", null, value);
			}
		}
	}
	
	/// <summary>
	/// Grupa lub kolekcja osób, sprzętu i/lub pomieszczeń, która może być planowana.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("constraintbasedgroup")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ConstraintBasedGroupSet")]
	public partial class ConstraintBasedGroup : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ConstraintBasedGroup() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "constraintbasedgroup";
		
		public const int EntityTypeCode = 4007;
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonej jednostki biznesowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		public Microsoft.Xrm.Client.CrmEntityReference BusinessUnitId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("businessunitid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("BusinessUnitId", "businessunitid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator grupy zasobów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("constraintbasedgroupid")]
		public System.Nullable<System.Guid> ConstraintBasedGroupId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("constraintbasedgroupid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ConstraintBasedGroupId", "constraintbasedgroupid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("constraintbasedgroupid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ConstraintBasedGroupId = value;
			}
		}
		
		/// <summary>
		/// Ograniczenia zdefiniowane dla grupy zasobów, takie jak dostępność czy lokalizacja.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("constraints")]
		public string Constraints
		{
			get
			{
				return this.GetAttributeValue<string>("constraints");
			}
			set
			{
				this.SetAttributeValue<string>("Constraints", "constraints", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył grupę zasobów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia grupy zasobów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który utworzył grupę opartą na ograniczeniach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis grupy zasobów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Typ zasobu, taki jak użytkownik, pomieszczenie lub sprzęt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("grouptypecode")]
		public System.Nullable<int> GroupTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("grouptypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("GroupTypeCode", "grouptypecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni modyfikował grupę zasobów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji grupy zasobów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który jako ostatni zmodyfikował grupę opartą na ograniczeniach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa grupy zasobów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z grupą zasobów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N constraint_based_group_resource_specs
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("constraint_based_group_resource_specs")]
		public System.Collections.Generic.IEnumerable<Xrm.ResourceSpec> constraint_based_group_resource_specs
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ResourceSpec>("constraint_based_group_resource_specs", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ResourceSpec>("constraint_based_group_resource_specs", "constraint_based_group_resource_specs", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ConstraintBasedGroup_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ConstraintBasedGroup_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> ConstraintBasedGroup_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("ConstraintBasedGroup_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("ConstraintBasedGroup_AsyncOperations", "ConstraintBasedGroup_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ConstraintBasedGroup_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ConstraintBasedGroup_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> ConstraintBasedGroup_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("ConstraintBasedGroup_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("ConstraintBasedGroup_BulkDeleteFailures", "ConstraintBasedGroup_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N constraintbasedgroup_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("constraintbasedgroup_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> constraintbasedgroup_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("constraintbasedgroup_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("constraintbasedgroup_connections1", "constraintbasedgroup_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N constraintbasedgroup_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("constraintbasedgroup_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> constraintbasedgroup_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("constraintbasedgroup_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("constraintbasedgroup_connections2", "constraintbasedgroup_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ConstraintBasedGroup_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ConstraintBasedGroup_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> ConstraintBasedGroup_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("ConstraintBasedGroup_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("ConstraintBasedGroup_ProcessSessions", "ConstraintBasedGroup_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N constraintbasedgroup_resource_groups
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("constraintbasedgroup_resource_groups")]
		public System.Collections.Generic.IEnumerable<Xrm.ResourceGroup> constraintbasedgroup_resource_groups
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ResourceGroup>("constraintbasedgroup_resource_groups", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ResourceGroup>("constraintbasedgroup_resource_groups", "constraintbasedgroup_resource_groups", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_constraintbasedgroup
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_constraintbasedgroup")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_constraintbasedgroup
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_constraintbasedgroup", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_constraintbasedgroup", "userentityinstancedata_constraintbasedgroup", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_constraint_based_groups
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_constraint_based_groups")]
		public Xrm.BusinessUnit business_unit_constraint_based_groups
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_constraint_based_groups", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BusinessUnit>("business_unit_constraint_based_groups", "business_unit_constraint_based_groups", null, value);
			}
		}
		
		/// <summary>
		/// N:1 constraintbasedgroup_systemuser
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("constraintbasedgroup_systemuser")]
		public Xrm.SystemUser constraintbasedgroup_systemuser
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("constraintbasedgroup_systemuser", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("constraintbasedgroup_systemuser", "constraintbasedgroup_systemuser", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_constraintbasedgroup_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_constraintbasedgroup_createdby")]
		public Xrm.SystemUser lk_constraintbasedgroup_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_constraintbasedgroup_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_constraintbasedgroup_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_constraintbasedgroup_createdonbehalfby")]
		public Xrm.SystemUser lk_constraintbasedgroup_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_constraintbasedgroup_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_constraintbasedgroup_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_constraintbasedgroup_modifiedby")]
		public Xrm.SystemUser lk_constraintbasedgroup_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_constraintbasedgroup_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_constraintbasedgroup_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_constraintbasedgroup_modifiedonbehalfby")]
		public Xrm.SystemUser lk_constraintbasedgroup_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_constraintbasedgroup_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_constraint_based_groups
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_constraint_based_groups")]
		public Xrm.Organization organization_constraint_based_groups
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_constraint_based_groups", null);
			}
		}
	}
	
	/// <summary>
	/// Osoba, z którą ma relację jednostka biznesowa, np. klient, dostawca lub współpracownik.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("contact")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ContactSet")]
	public partial class Contact : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Contact() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "contact";
		
		public const int EntityTypeCode = 2;
		
		/// <summary>
		/// Unikatowy identyfikator konta, z którym jest skojarzony kontakt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("accountid")]
		public Microsoft.Xrm.Client.CrmEntityReference AccountId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("accountid");
			}
		}
		
		/// <summary>
		/// Rola klienta dotycząca kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("accountrolecode")]
		public System.Nullable<int> AccountRoleCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("accountrolecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("AccountRoleCode", "accountrolecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_addressid")]
		public System.Nullable<System.Guid> Address1_AddressId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("address1_addressid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("Address1_AddressId", "address1_addressid", value);
			}
		}
		
		/// <summary>
		/// Typ adresu 1, np. adres na fakturze, adres wysyłkowy lub adres podstawowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_addresstypecode")]
		public System.Nullable<int> Address1_AddressTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address1_addresstypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address1_AddressTypeCode", "address1_addresstypecode", value);
			}
		}
		
		/// <summary>
		/// Nazwa miasta dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_city")]
		public string Address1_City
		{
			get
			{
				return this.GetAttributeValue<string>("address1_city");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_City", "address1_city", value);
			}
		}
		
		/// <summary>
		/// Nazwa kraju/regionu w adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_country")]
		public string Address1_Country
		{
			get
			{
				return this.GetAttributeValue<string>("address1_country");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Country", "address1_country", value);
			}
		}
		
		/// <summary>
		/// Nazwa powiatu dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_county")]
		public string Address1_County
		{
			get
			{
				return this.GetAttributeValue<string>("address1_county");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_County", "address1_county", value);
			}
		}
		
		/// <summary>
		/// Numer faksu dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_fax")]
		public string Address1_Fax
		{
			get
			{
				return this.GetAttributeValue<string>("address1_fax");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Fax", "address1_fax", value);
			}
		}
		
		/// <summary>
		/// Warunki frachtu dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_freighttermscode")]
		public System.Nullable<int> Address1_FreightTermsCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address1_freighttermscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address1_FreightTermsCode", "address1_freighttermscode", value);
			}
		}
		
		/// <summary>
		/// Szerokość geograficzna dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_latitude")]
		public System.Nullable<double> Address1_Latitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address1_latitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address1_Latitude", "address1_latitude", value);
			}
		}
		
		/// <summary>
		/// Pierwszy wiersz do wprowadzenia informacji o adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_line1")]
		public string Address1_Line1
		{
			get
			{
				return this.GetAttributeValue<string>("address1_line1");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Line1", "address1_line1", value);
			}
		}
		
		/// <summary>
		/// Drugi wiersz do wprowadzenia informacji o adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_line2")]
		public string Address1_Line2
		{
			get
			{
				return this.GetAttributeValue<string>("address1_line2");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Line2", "address1_line2", value);
			}
		}
		
		/// <summary>
		/// Trzeci wiersz do wprowadzenia informacji o adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_line3")]
		public string Address1_Line3
		{
			get
			{
				return this.GetAttributeValue<string>("address1_line3");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Line3", "address1_line3", value);
			}
		}
		
		/// <summary>
		/// Długość geograficzna dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_longitude")]
		public System.Nullable<double> Address1_Longitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address1_longitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address1_Longitude", "address1_longitude", value);
			}
		}
		
		/// <summary>
		/// Nazwa do wprowadzenia dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_name")]
		public string Address1_Name
		{
			get
			{
				return this.GetAttributeValue<string>("address1_name");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Name", "address1_name", value);
			}
		}
		
		/// <summary>
		/// Kod pocztowy adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_postalcode")]
		public string Address1_PostalCode
		{
			get
			{
				return this.GetAttributeValue<string>("address1_postalcode");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_PostalCode", "address1_postalcode", value);
			}
		}
		
		/// <summary>
		/// Numer skrytki pocztowej dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_postofficebox")]
		public string Address1_PostOfficeBox
		{
			get
			{
				return this.GetAttributeValue<string>("address1_postofficebox");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_PostOfficeBox", "address1_postofficebox", value);
			}
		}
		
		/// <summary>
		/// Nazwa wprowadzana dla adresu 1 na potrzeby kontaktu podstawowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_primarycontactname")]
		public string Address1_PrimaryContactName
		{
			get
			{
				return this.GetAttributeValue<string>("address1_primarycontactname");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_PrimaryContactName", "address1_primarycontactname", value);
			}
		}
		
		/// <summary>
		/// Metoda wysyłki dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_shippingmethodcode")]
		public System.Nullable<int> Address1_ShippingMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address1_shippingmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address1_ShippingMethodCode", "address1_shippingmethodcode", value);
			}
		}
		
		/// <summary>
		/// Województwo adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_stateorprovince")]
		public string Address1_StateOrProvince
		{
			get
			{
				return this.GetAttributeValue<string>("address1_stateorprovince");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_StateOrProvince", "address1_stateorprovince", value);
			}
		}
		
		/// <summary>
		/// Pierwszy numer telefonu skojarzony z adresem 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_telephone1")]
		public string Address1_Telephone1
		{
			get
			{
				return this.GetAttributeValue<string>("address1_telephone1");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Telephone1", "address1_telephone1", value);
			}
		}
		
		/// <summary>
		/// Drugi numer telefonu skojarzony z adresem 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_telephone2")]
		public string Address1_Telephone2
		{
			get
			{
				return this.GetAttributeValue<string>("address1_telephone2");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Telephone2", "address1_telephone2", value);
			}
		}
		
		/// <summary>
		/// Trzeci numer telefonu skojarzony z adresem 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_telephone3")]
		public string Address1_Telephone3
		{
			get
			{
				return this.GetAttributeValue<string>("address1_telephone3");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Telephone3", "address1_telephone3", value);
			}
		}
		
		/// <summary>
		/// Strefa firmy United Parcel Service (UPS) dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_upszone")]
		public string Address1_UPSZone
		{
			get
			{
				return this.GetAttributeValue<string>("address1_upszone");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_UPSZone", "address1_upszone", value);
			}
		}
		
		/// <summary>
		/// Przesunięcie czasu UTC dla adresu 1. Jest to różnica między czasem lokalnym a standardowym uniwersalnym czasem koordynowanym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_utcoffset")]
		public System.Nullable<int> Address1_UTCOffset
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address1_utcoffset");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Address1_UTCOffset", "address1_utcoffset", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_addressid")]
		public System.Nullable<System.Guid> Address2_AddressId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("address2_addressid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("Address2_AddressId", "address2_addressid", value);
			}
		}
		
		/// <summary>
		/// Typ adresu 2, np. adres na fakturze, adres wysyłkowy lub adres podstawowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_addresstypecode")]
		public System.Nullable<int> Address2_AddressTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address2_addresstypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address2_AddressTypeCode", "address2_addresstypecode", value);
			}
		}
		
		/// <summary>
		/// Nazwa miasta dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_city")]
		public string Address2_City
		{
			get
			{
				return this.GetAttributeValue<string>("address2_city");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_City", "address2_city", value);
			}
		}
		
		/// <summary>
		/// Nazwa kraju/regionu w adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_country")]
		public string Address2_Country
		{
			get
			{
				return this.GetAttributeValue<string>("address2_country");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Country", "address2_country", value);
			}
		}
		
		/// <summary>
		/// Nazwa powiatu dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_county")]
		public string Address2_County
		{
			get
			{
				return this.GetAttributeValue<string>("address2_county");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_County", "address2_county", value);
			}
		}
		
		/// <summary>
		/// Numer faksu dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_fax")]
		public string Address2_Fax
		{
			get
			{
				return this.GetAttributeValue<string>("address2_fax");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Fax", "address2_fax", value);
			}
		}
		
		/// <summary>
		/// Warunki frachtu dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_freighttermscode")]
		public System.Nullable<int> Address2_FreightTermsCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address2_freighttermscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address2_FreightTermsCode", "address2_freighttermscode", value);
			}
		}
		
		/// <summary>
		/// Szerokość geograficzna dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_latitude")]
		public System.Nullable<double> Address2_Latitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address2_latitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address2_Latitude", "address2_latitude", value);
			}
		}
		
		/// <summary>
		/// Pierwszy wiersz do wprowadzenia informacji o adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_line1")]
		public string Address2_Line1
		{
			get
			{
				return this.GetAttributeValue<string>("address2_line1");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Line1", "address2_line1", value);
			}
		}
		
		/// <summary>
		/// Drugi wiersz do wprowadzenia informacji o adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_line2")]
		public string Address2_Line2
		{
			get
			{
				return this.GetAttributeValue<string>("address2_line2");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Line2", "address2_line2", value);
			}
		}
		
		/// <summary>
		/// Trzeci wiersz do wprowadzenia informacji o adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_line3")]
		public string Address2_Line3
		{
			get
			{
				return this.GetAttributeValue<string>("address2_line3");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Line3", "address2_line3", value);
			}
		}
		
		/// <summary>
		/// Długość geograficzna dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_longitude")]
		public System.Nullable<double> Address2_Longitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address2_longitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address2_Longitude", "address2_longitude", value);
			}
		}
		
		/// <summary>
		/// Nazwa do wprowadzenia dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_name")]
		public string Address2_Name
		{
			get
			{
				return this.GetAttributeValue<string>("address2_name");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Name", "address2_name", value);
			}
		}
		
		/// <summary>
		/// Kod pocztowy adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_postalcode")]
		public string Address2_PostalCode
		{
			get
			{
				return this.GetAttributeValue<string>("address2_postalcode");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_PostalCode", "address2_postalcode", value);
			}
		}
		
		/// <summary>
		/// Numer skrytki pocztowej dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_postofficebox")]
		public string Address2_PostOfficeBox
		{
			get
			{
				return this.GetAttributeValue<string>("address2_postofficebox");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_PostOfficeBox", "address2_postofficebox", value);
			}
		}
		
		/// <summary>
		/// Nazwa wprowadzana dla adresu 2 na potrzeby kontaktu podstawowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_primarycontactname")]
		public string Address2_PrimaryContactName
		{
			get
			{
				return this.GetAttributeValue<string>("address2_primarycontactname");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_PrimaryContactName", "address2_primarycontactname", value);
			}
		}
		
		/// <summary>
		/// Metoda wysyłki dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_shippingmethodcode")]
		public System.Nullable<int> Address2_ShippingMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address2_shippingmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address2_ShippingMethodCode", "address2_shippingmethodcode", value);
			}
		}
		
		/// <summary>
		/// Województwo adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_stateorprovince")]
		public string Address2_StateOrProvince
		{
			get
			{
				return this.GetAttributeValue<string>("address2_stateorprovince");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_StateOrProvince", "address2_stateorprovince", value);
			}
		}
		
		/// <summary>
		/// Pierwszy numer telefonu skojarzony z adresem 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_telephone1")]
		public string Address2_Telephone1
		{
			get
			{
				return this.GetAttributeValue<string>("address2_telephone1");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Telephone1", "address2_telephone1", value);
			}
		}
		
		/// <summary>
		/// Drugi numer telefonu skojarzony z adresem 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_telephone2")]
		public string Address2_Telephone2
		{
			get
			{
				return this.GetAttributeValue<string>("address2_telephone2");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Telephone2", "address2_telephone2", value);
			}
		}
		
		/// <summary>
		/// Trzeci numer telefonu skojarzony z adresem 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_telephone3")]
		public string Address2_Telephone3
		{
			get
			{
				return this.GetAttributeValue<string>("address2_telephone3");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Telephone3", "address2_telephone3", value);
			}
		}
		
		/// <summary>
		/// Strefa firmy United Parcel Service (UPS) dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_upszone")]
		public string Address2_UPSZone
		{
			get
			{
				return this.GetAttributeValue<string>("address2_upszone");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_UPSZone", "address2_upszone", value);
			}
		}
		
		/// <summary>
		/// Przesunięcie czasu UTC dla adresu 2. Jest to różnica między czasem lokalnym a standardowym uniwersalnym czasem koordynowanym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_utcoffset")]
		public System.Nullable<int> Address2_UTCOffset
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address2_utcoffset");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Address2_UTCOffset", "address2_utcoffset", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("aging30")]
		public System.Nullable<decimal> Aging30
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("aging30");
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej przedawnienia 30 dla kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("aging30_base")]
		public System.Nullable<decimal> Aging30_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("aging30_base");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("aging60")]
		public System.Nullable<decimal> Aging60
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("aging60");
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej przedawnienia 60 dla kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("aging60_base")]
		public System.Nullable<decimal> Aging60_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("aging60_base");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("aging90")]
		public System.Nullable<decimal> Aging90
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("aging90");
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej przedawnienia 90 dla kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("aging90_base")]
		public System.Nullable<decimal> Aging90_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("aging90_base");
			}
		}
		
		/// <summary>
		/// Rocznica ślubu kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("anniversary")]
		public System.Nullable<System.DateTime> Anniversary
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("anniversary");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("Anniversary", "anniversary", value);
			}
		}
		
		/// <summary>
		/// Dochód roczny kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("annualincome")]
		public System.Nullable<decimal> AnnualIncome
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("annualincome");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("AnnualIncome", "annualincome", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej rocznego dochodu kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("annualincome_base")]
		public System.Nullable<decimal> AnnualIncome_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("annualincome_base");
			}
		}
		
		/// <summary>
		/// Imię i nazwisko asystenta kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("assistantname")]
		public string AssistantName
		{
			get
			{
				return this.GetAttributeValue<string>("assistantname");
			}
			set
			{
				this.SetAttributeValue<string>("AssistantName", "assistantname", value);
			}
		}
		
		/// <summary>
		/// Numer telefonu asystenta kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("assistantphone")]
		public string AssistantPhone
		{
			get
			{
				return this.GetAttributeValue<string>("assistantphone");
			}
			set
			{
				this.SetAttributeValue<string>("AssistantPhone", "assistantphone", value);
			}
		}
		
		/// <summary>
		/// Data urodzenia kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("birthdate")]
		public System.Nullable<System.DateTime> BirthDate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("birthdate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("BirthDate", "birthdate", value);
			}
		}
		
		/// <summary>
		/// Imiona dzieci kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("childrensnames")]
		public string ChildrensNames
		{
			get
			{
				return this.GetAttributeValue<string>("childrensnames");
			}
			set
			{
				this.SetAttributeValue<string>("ChildrensNames", "childrensnames", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contactid")]
		public System.Nullable<System.Guid> ContactId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("contactid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ContactId", "contactid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contactid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ContactId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył kontakt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który utworzył kontakt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Limit kredytowy kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("creditlimit")]
		public System.Nullable<decimal> CreditLimit
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("creditlimit");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("CreditLimit", "creditlimit", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej limitu kredytu dla kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("creditlimit_base")]
		public System.Nullable<decimal> CreditLimit_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("creditlimit_base");
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy kredyt dotyczący kontaktu jest wstrzymany.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("creditonhold")]
		public System.Nullable<bool> CreditOnHold
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("creditonhold");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("CreditOnHold", "creditonhold", value);
			}
		}
		
		/// <summary>
		/// Wielkość firmy kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customersizecode")]
		public System.Nullable<int> CustomerSizeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("customersizecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("CustomerSizeCode", "customersizecode", value);
			}
		}
		
		/// <summary>
		/// Typ działalności skojarzony z kontaktem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customertypecode")]
		public System.Nullable<int> CustomerTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("customertypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("CustomerTypeCode", "customertypecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator domyślnego cennika kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("defaultpricelevelid")]
		public Microsoft.Xrm.Client.CrmEntityReference DefaultPriceLevelId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("defaultpricelevelid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("DefaultPriceLevelId", "defaultpricelevelid", value);
			}
		}
		
		/// <summary>
		/// Dział w jednostce biznesowej lub organizacji skojarzony z kontaktem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("department")]
		public string Department
		{
			get
			{
				return this.GetAttributeValue<string>("department");
			}
			set
			{
				this.SetAttributeValue<string>("Department", "department", value);
			}
		}
		
		/// <summary>
		/// Opis kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy wysyłanie bezpośredniej poczty e-mail do kontaktu jest dozwolone.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("donotbulkemail")]
		public System.Nullable<bool> DoNotBulkEMail
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("donotbulkemail");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DoNotBulkEMail", "donotbulkemail", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy wysyłanie zbiorczej poczty tradycyjnej do kontaktu jest dozwolone.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("donotbulkpostalmail")]
		public System.Nullable<bool> DoNotBulkPostalMail
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("donotbulkpostalmail");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DoNotBulkPostalMail", "donotbulkpostalmail", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy wysyłanie poczty e-mail do kontaktu jest dozwolone.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("donotemail")]
		public System.Nullable<bool> DoNotEMail
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("donotemail");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DoNotEMail", "donotemail", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy wysyłanie faksów do kontaktu jest dozwolone.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("donotfax")]
		public System.Nullable<bool> DoNotFax
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("donotfax");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DoNotFax", "donotfax", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy rozmowy telefoniczne z kontaktem są dozwolone.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("donotphone")]
		public System.Nullable<bool> DoNotPhone
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("donotphone");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DoNotPhone", "donotphone", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy wysyłanie poczty tradycyjnej do kontaktu jest dozwolone.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("donotpostalmail")]
		public System.Nullable<bool> DoNotPostalMail
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("donotpostalmail");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DoNotPostalMail", "donotpostalmail", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy zezwolić na wysyłanie poczty marketingowej do kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("donotsendmm")]
		public System.Nullable<bool> DoNotSendMM
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("donotsendmm");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DoNotSendMM", "donotsendmm", value);
			}
		}
		
		/// <summary>
		/// Formalny poziom wykształcenia kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("educationcode")]
		public System.Nullable<int> EducationCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("educationcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("EducationCode", "educationcode", value);
			}
		}
		
		/// <summary>
		/// Pierwszy adres e-mail kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("emailaddress1")]
		public string EMailAddress1
		{
			get
			{
				return this.GetAttributeValue<string>("emailaddress1");
			}
			set
			{
				this.SetAttributeValue<string>("EMailAddress1", "emailaddress1", value);
			}
		}
		
		/// <summary>
		/// Drugi adres e-mail kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("emailaddress2")]
		public string EMailAddress2
		{
			get
			{
				return this.GetAttributeValue<string>("emailaddress2");
			}
			set
			{
				this.SetAttributeValue<string>("EMailAddress2", "emailaddress2", value);
			}
		}
		
		/// <summary>
		/// Trzeci adres e-mail kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("emailaddress3")]
		public string EMailAddress3
		{
			get
			{
				return this.GetAttributeValue<string>("emailaddress3");
			}
			set
			{
				this.SetAttributeValue<string>("EMailAddress3", "emailaddress3", value);
			}
		}
		
		/// <summary>
		/// Identyfikator pracownika kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("employeeid")]
		public string EmployeeId
		{
			get
			{
				return this.GetAttributeValue<string>("employeeid");
			}
			set
			{
				this.SetAttributeValue<string>("EmployeeId", "employeeid", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z kontaktem w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Identyfikator użytkownika zewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("externaluseridentifier")]
		public string ExternalUserIdentifier
		{
			get
			{
				return this.GetAttributeValue<string>("externaluseridentifier");
			}
			set
			{
				this.SetAttributeValue<string>("ExternalUserIdentifier", "externaluseridentifier", value);
			}
		}
		
		/// <summary>
		/// Stan cywilny kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("familystatuscode")]
		public System.Nullable<int> FamilyStatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("familystatuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("FamilyStatusCode", "familystatuscode", value);
			}
		}
		
		/// <summary>
		/// Numer faksu kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fax")]
		public string Fax
		{
			get
			{
				return this.GetAttributeValue<string>("fax");
			}
			set
			{
				this.SetAttributeValue<string>("Fax", "fax", value);
			}
		}
		
		/// <summary>
		/// Imię kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("firstname")]
		public string FirstName
		{
			get
			{
				return this.GetAttributeValue<string>("firstname");
			}
			set
			{
				this.SetAttributeValue<string>("FirstName", "firstname", value);
			}
		}
		
		/// <summary>
		/// Adres URL witryny FTP kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ftpsiteurl")]
		public string FtpSiteUrl
		{
			get
			{
				return this.GetAttributeValue<string>("ftpsiteurl");
			}
			set
			{
				this.SetAttributeValue<string>("FtpSiteUrl", "ftpsiteurl", value);
			}
		}
		
		/// <summary>
		/// Imię i nazwisko kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fullname")]
		public string FullName
		{
			get
			{
				return this.GetAttributeValue<string>("fullname");
			}
		}
		
		/// <summary>
		/// Płeć kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("gendercode")]
		public System.Nullable<int> GenderCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("gendercode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("GenderCode", "gendercode", value);
			}
		}
		
		/// <summary>
		/// Numer PESEL kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("governmentid")]
		public string GovernmentId
		{
			get
			{
				return this.GetAttributeValue<string>("governmentid");
			}
			set
			{
				this.SetAttributeValue<string>("GovernmentId", "governmentid", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy kontakt ma dzieci.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("haschildrencode")]
		public System.Nullable<int> HasChildrenCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("haschildrencode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("HasChildrenCode", "haschildrencode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy kontakt znajduje się w skojarzonej bazie danych programu Microsoft Great Plains.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isbackofficecustomer")]
		public System.Nullable<bool> IsBackofficeCustomer
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isbackofficecustomer");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsBackofficeCustomer", "isbackofficecustomer", value);
			}
		}
		
		/// <summary>
		/// Stanowisko kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("jobtitle")]
		public string JobTitle
		{
			get
			{
				return this.GetAttributeValue<string>("jobtitle");
			}
			set
			{
				this.SetAttributeValue<string>("JobTitle", "jobtitle", value);
			}
		}
		
		/// <summary>
		/// Nazwisko kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("lastname")]
		public string LastName
		{
			get
			{
				return this.GetAttributeValue<string>("lastname");
			}
			set
			{
				this.SetAttributeValue<string>("LastName", "lastname", value);
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniego kontaktu z kontaktem w ramach kampanii marketingowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("lastusedincampaign")]
		public System.Nullable<System.DateTime> LastUsedInCampaign
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("lastusedincampaign");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("LastUsedInCampaign", "lastusedincampaign", value);
			}
		}
		
		/// <summary>
		/// Źródło potencjalnego klienta dotyczącego kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("leadsourcecode")]
		public System.Nullable<int> LeadSourceCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("leadsourcecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("LeadSourceCode", "leadsourcecode", value);
			}
		}
		
		/// <summary>
		/// Imię i nazwisko menedżera kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("managername")]
		public string ManagerName
		{
			get
			{
				return this.GetAttributeValue<string>("managername");
			}
			set
			{
				this.SetAttributeValue<string>("ManagerName", "managername", value);
			}
		}
		
		/// <summary>
		/// Numer telefonu menedżera kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("managerphone")]
		public string ManagerPhone
		{
			get
			{
				return this.GetAttributeValue<string>("managerphone");
			}
			set
			{
				this.SetAttributeValue<string>("ManagerPhone", "managerphone", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kontaktu głównego do scalenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("masterid")]
		public Microsoft.Xrm.Client.CrmEntityReference MasterId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("masterid");
			}
		}
		
		/// <summary>
		/// Informacja, czy konto zostało scalone z kontaktem głównym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("merged")]
		public System.Nullable<bool> Merged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("merged");
			}
		}
		
		/// <summary>
		/// Drugie imię kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("middlename")]
		public string MiddleName
		{
			get
			{
				return this.GetAttributeValue<string>("middlename");
			}
			set
			{
				this.SetAttributeValue<string>("MiddleName", "middlename", value);
			}
		}
		
		/// <summary>
		/// Numer telefonu komórkowego kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("mobilephone")]
		public string MobilePhone
		{
			get
			{
				return this.GetAttributeValue<string>("mobilephone");
			}
			set
			{
				this.SetAttributeValue<string>("MobilePhone", "mobilephone", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował kontakt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który jako ostatni zmodyfikował kontakt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Pseudonim kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("nickname")]
		public string NickName
		{
			get
			{
				return this.GetAttributeValue<string>("nickname");
			}
			set
			{
				this.SetAttributeValue<string>("NickName", "nickname", value);
			}
		}
		
		/// <summary>
		/// Liczba elementów podrzędnych kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("numberofchildren")]
		public System.Nullable<int> NumberOfChildren
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("numberofchildren");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("NumberOfChildren", "numberofchildren", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator potencjalnego klienta, na podstawie którego został utworzony kontakt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("originatingleadid")]
		public Microsoft.Xrm.Client.CrmEntityReference OriginatingLeadId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("originatingleadid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OriginatingLeadId", "originatingleadid", value);
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, który jest właścicielem kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, do której należy kontakt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, do którego należy kontakt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, do którego należy kontakt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Numer strony kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pager")]
		public string Pager
		{
			get
			{
				return this.GetAttributeValue<string>("pager");
			}
			set
			{
				this.SetAttributeValue<string>("Pager", "pager", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kontaktu nadrzędnego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentcontactid")]
		public Microsoft.Xrm.Client.CrmEntityReference ParentContactId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("parentcontactid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator konta lub kontaktu skojarzonego z danym kontaktem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentcustomerid")]
		public Microsoft.Xrm.Client.CrmEntityReference ParentCustomerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("parentcustomerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ParentCustomerId", "parentcustomerid", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy kontakt uczestniczy w regułach przepływu pracy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("participatesinworkflow")]
		public System.Nullable<bool> ParticipatesInWorkflow
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("participatesinworkflow");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("ParticipatesInWorkflow", "participatesinworkflow", value);
			}
		}
		
		/// <summary>
		/// Warunki płatności dotyczące kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("paymenttermscode")]
		public System.Nullable<int> PaymentTermsCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("paymenttermscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PaymentTermsCode", "paymenttermscode", value);
			}
		}
		
		/// <summary>
		/// Dzień tygodnia preferowany przez kontakt do planowania wykonania usług.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("preferredappointmentdaycode")]
		public System.Nullable<int> PreferredAppointmentDayCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("preferredappointmentdaycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PreferredAppointmentDayCode", "preferredappointmentdaycode", value);
			}
		}
		
		/// <summary>
		/// Pora dnia preferowana przez kontakt do planowania wykonania usług.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("preferredappointmenttimecode")]
		public System.Nullable<int> PreferredAppointmentTimeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("preferredappointmenttimecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PreferredAppointmentTimeCode", "preferredappointmenttimecode", value);
			}
		}
		
		/// <summary>
		/// Preferowana metoda kontaktowania się z danym kontaktem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("preferredcontactmethodcode")]
		public System.Nullable<int> PreferredContactMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("preferredcontactmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PreferredContactMethodCode", "preferredcontactmethodcode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator pomieszczenia/sprzętu preferowanych przez kontakt do planowania wykonania usług.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("preferredequipmentid")]
		public Microsoft.Xrm.Client.CrmEntityReference PreferredEquipmentId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("preferredequipmentid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("PreferredEquipmentId", "preferredequipmentid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator usługi preferowanej przez kontakt do planowania wykonania usług.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("preferredserviceid")]
		public Microsoft.Xrm.Client.CrmEntityReference PreferredServiceId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("preferredserviceid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("PreferredServiceId", "preferredserviceid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika systemu preferowanego przez konto do planowania wykonania usług.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("preferredsystemuserid")]
		public Microsoft.Xrm.Client.CrmEntityReference PreferredSystemUserId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("preferredsystemuserid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("PreferredSystemUserId", "preferredsystemuserid", value);
			}
		}
		
		/// <summary>
		/// Zwrot grzecznościowy stosowany w korespondencji z kontaktem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salutation")]
		public string Salutation
		{
			get
			{
				return this.GetAttributeValue<string>("salutation");
			}
			set
			{
				this.SetAttributeValue<string>("Salutation", "salutation", value);
			}
		}
		
		/// <summary>
		/// Metoda wysyłki dotycząca kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shippingmethodcode")]
		public System.Nullable<int> ShippingMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("shippingmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ShippingMethodCode", "shippingmethodcode", value);
			}
		}
		
		/// <summary>
		/// Imię i nazwisko małżonka/partnera kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("spousesname")]
		public string SpousesName
		{
			get
			{
				return this.GetAttributeValue<string>("spousesname");
			}
			set
			{
				this.SetAttributeValue<string>("SpousesName", "spousesname", value);
			}
		}
		
		/// <summary>
		/// Stan kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subscriptionid")]
		public System.Nullable<System.Guid> SubscriptionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("subscriptionid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("SubscriptionId", "subscriptionid", value);
			}
		}
		
		/// <summary>
		/// Sufiks nazwiska kontaktu, np. Jr, Sr lub III.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("suffix")]
		public string Suffix
		{
			get
			{
				return this.GetAttributeValue<string>("suffix");
			}
			set
			{
				this.SetAttributeValue<string>("Suffix", "suffix", value);
			}
		}
		
		/// <summary>
		/// Pierwszy numer telefonu kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("telephone1")]
		public string Telephone1
		{
			get
			{
				return this.GetAttributeValue<string>("telephone1");
			}
			set
			{
				this.SetAttributeValue<string>("Telephone1", "telephone1", value);
			}
		}
		
		/// <summary>
		/// Drugi numer telefonu kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("telephone2")]
		public string Telephone2
		{
			get
			{
				return this.GetAttributeValue<string>("telephone2");
			}
			set
			{
				this.SetAttributeValue<string>("Telephone2", "telephone2", value);
			}
		}
		
		/// <summary>
		/// Trzeci numer telefonu kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("telephone3")]
		public string Telephone3
		{
			get
			{
				return this.GetAttributeValue<string>("telephone3");
			}
			set
			{
				this.SetAttributeValue<string>("Telephone3", "telephone3", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obszaru, do którego jest przypisany kontakt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("territorycode")]
		public System.Nullable<int> TerritoryCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("territorycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("TerritoryCode", "territorycode", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z kontaktem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// Adres URL witryny sieci Web kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("websiteurl")]
		public string WebSiteUrl
		{
			get
			{
				return this.GetAttributeValue<string>("websiteurl");
			}
			set
			{
				this.SetAttributeValue<string>("WebSiteUrl", "websiteurl", value);
			}
		}
		
		/// <summary>
		/// Przewodnik fonetyczny Hiragana lub Katakana dla imienia kontaktu — używany na potrzeby sortowania Yomi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("yomifirstname")]
		public string YomiFirstName
		{
			get
			{
				return this.GetAttributeValue<string>("yomifirstname");
			}
			set
			{
				this.SetAttributeValue<string>("YomiFirstName", "yomifirstname", value);
			}
		}
		
		/// <summary>
		/// Przewodnik fonetyczny Hiragana lub Katakana dla imienia i nazwiska kontaktu — używany na potrzeby sortowania Yomi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("yomifullname")]
		public string YomiFullName
		{
			get
			{
				return this.GetAttributeValue<string>("yomifullname");
			}
		}
		
		/// <summary>
		/// Przewodnik fonetyczny Hiragana lub Katakana dla nazwiska kontaktu — używany na potrzeby sortowania Yomi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("yomilastname")]
		public string YomiLastName
		{
			get
			{
				return this.GetAttributeValue<string>("yomilastname");
			}
			set
			{
				this.SetAttributeValue<string>("YomiLastName", "yomilastname", value);
			}
		}
		
		/// <summary>
		/// Przewodnik fonetyczny Hiragana lub Katakana dla drugiego imienia kontaktu — używany na potrzeby sortowania Yomi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("yomimiddlename")]
		public string YomiMiddleName
		{
			get
			{
				return this.GetAttributeValue<string>("yomimiddlename");
			}
			set
			{
				this.SetAttributeValue<string>("YomiMiddleName", "yomimiddlename", value);
			}
		}
		
		/// <summary>
		/// 1:N account_primary_contact
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("account_primary_contact")]
		public System.Collections.Generic.IEnumerable<Xrm.Account> account_primary_contact
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Account>("account_primary_contact", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Account>("account_primary_contact", "account_primary_contact", null, value);
			}
		}
		
		/// <summary>
		/// 1:N contact_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contact_activity_parties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> contact_activity_parties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("contact_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("contact_activity_parties", "contact_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Contact_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_ActivityPointers")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityPointer> Contact_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityPointer>("Contact_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityPointer>("Contact_ActivityPointers", "Contact_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Contact_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> Contact_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("Contact_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("Contact_Annotation", "Contact_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Contact_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_Appointments")]
		public System.Collections.Generic.IEnumerable<Xrm.Appointment> Contact_Appointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Appointment>("Contact_Appointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Appointment>("Contact_Appointments", "Contact_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N contact_as_responsible_contact
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contact_as_responsible_contact")]
		public System.Collections.Generic.IEnumerable<Xrm.Incident> contact_as_responsible_contact
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Incident>("contact_as_responsible_contact", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Incident>("contact_as_responsible_contact", "contact_as_responsible_contact", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Contact_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Contact_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Contact_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Contact_AsyncOperations", "Contact_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Contact_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Contact_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Contact_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Contact_BulkDeleteFailures", "Contact_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N contact_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contact_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> contact_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("contact_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("contact_connections1", "contact_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N contact_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contact_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> contact_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("contact_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("contact_connections2", "contact_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N contact_customer_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contact_customer_contacts", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.Contact> Referencedcontact_customer_contacts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contact>("contact_customer_contacts", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contact>("Referencedcontact_customer_contacts", "contact_customer_contacts", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// 1:N contact_customer_opportunity_roles
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contact_customer_opportunity_roles")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerOpportunityRole> contact_customer_opportunity_roles
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerOpportunityRole>("contact_customer_opportunity_roles", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerOpportunityRole>("contact_customer_opportunity_roles", "contact_customer_opportunity_roles", null, value);
			}
		}
		
		/// <summary>
		/// 1:N contact_customer_relationship_customer
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contact_customer_relationship_customer")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerRelationship> contact_customer_relationship_customer
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerRelationship>("contact_customer_relationship_customer", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerRelationship>("contact_customer_relationship_customer", "contact_customer_relationship_customer", null, value);
			}
		}
		
		/// <summary>
		/// 1:N contact_customer_relationship_partner
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contact_customer_relationship_partner")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerRelationship> contact_customer_relationship_partner
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerRelationship>("contact_customer_relationship_partner", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerRelationship>("contact_customer_relationship_partner", "contact_customer_relationship_partner", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Contact_CustomerAddress
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_CustomerAddress")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerAddress> Contact_CustomerAddress
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerAddress>("Contact_CustomerAddress", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerAddress>("Contact_CustomerAddress", "Contact_CustomerAddress", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Contact_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Contact_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Contact_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Contact_DuplicateBaseRecord", "Contact_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Contact_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Contact_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Contact_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Contact_DuplicateMatchingRecord", "Contact_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Contact_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_Emails")]
		public System.Collections.Generic.IEnumerable<Xrm.Email> Contact_Emails
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Email>("Contact_Emails", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Email>("Contact_Emails", "Contact_Emails", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Contact_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_Faxes")]
		public System.Collections.Generic.IEnumerable<Xrm.Fax> Contact_Faxes
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Fax>("Contact_Faxes", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Fax>("Contact_Faxes", "Contact_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Contact_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_Letters")]
		public System.Collections.Generic.IEnumerable<Xrm.Letter> Contact_Letters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Letter>("Contact_Letters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Letter>("Contact_Letters", "Contact_Letters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N contact_master_contact
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contact_master_contact", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.Contact> Referencedcontact_master_contact
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contact>("contact_master_contact", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contact>("Referencedcontact_master_contact", "contact_master_contact", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// 1:N Contact_Phonecalls
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_Phonecalls")]
		public System.Collections.Generic.IEnumerable<Xrm.PhoneCall> Contact_Phonecalls
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PhoneCall>("Contact_Phonecalls", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PhoneCall>("Contact_Phonecalls", "Contact_Phonecalls", null, value);
			}
		}
		
		/// <summary>
		/// 1:N contact_PostFollows
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contact_PostFollows")]
		public System.Collections.Generic.IEnumerable<Xrm.PostFollow> contact_PostFollows
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PostFollow>("contact_PostFollows", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PostFollow>("contact_PostFollows", "contact_PostFollows", null, value);
			}
		}
		
		/// <summary>
		/// 1:N contact_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contact_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> contact_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("contact_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("contact_principalobjectattributeaccess", "contact_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Contact_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Contact_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Contact_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Contact_ProcessSessions", "Contact_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Contact_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_RecurringAppointmentMasters")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurringAppointmentMaster> Contact_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurringAppointmentMaster>("Contact_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurringAppointmentMaster>("Contact_RecurringAppointmentMasters", "Contact_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Contact_ServiceAppointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_ServiceAppointments")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceAppointment> Contact_ServiceAppointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceAppointment>("Contact_ServiceAppointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceAppointment>("Contact_ServiceAppointments", "Contact_ServiceAppointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Contact_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_Tasks")]
		public System.Collections.Generic.IEnumerable<Xrm.Task> Contact_Tasks
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Task>("Contact_Tasks", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Task>("Contact_Tasks", "Contact_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// 1:N contract_billingcustomer_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contract_billingcustomer_contacts")]
		public System.Collections.Generic.IEnumerable<Xrm.Contract> contract_billingcustomer_contacts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contract>("contract_billingcustomer_contacts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contract>("contract_billingcustomer_contacts", "contract_billingcustomer_contacts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N contract_customer_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contract_customer_contacts")]
		public System.Collections.Generic.IEnumerable<Xrm.Contract> contract_customer_contacts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contract>("contract_customer_contacts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contract>("contract_customer_contacts", "contract_customer_contacts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N contractlineitem_customer_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contractlineitem_customer_contacts")]
		public System.Collections.Generic.IEnumerable<Xrm.ContractDetail> contractlineitem_customer_contacts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ContractDetail>("contractlineitem_customer_contacts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ContractDetail>("contractlineitem_customer_contacts", "contractlineitem_customer_contacts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CreatedContact_BulkOperationLogs
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CreatedContact_BulkOperationLogs")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkOperationLog> CreatedContact_BulkOperationLogs
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkOperationLog>("CreatedContact_BulkOperationLogs", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkOperationLog>("CreatedContact_BulkOperationLogs", "CreatedContact_BulkOperationLogs", null, value);
			}
		}
		
		/// <summary>
		/// 1:N incident_customer_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("incident_customer_contacts")]
		public System.Collections.Generic.IEnumerable<Xrm.Incident> incident_customer_contacts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Incident>("incident_customer_contacts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Incident>("incident_customer_contacts", "incident_customer_contacts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N invoice_customer_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("invoice_customer_contacts")]
		public System.Collections.Generic.IEnumerable<Xrm.Invoice> invoice_customer_contacts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Invoice>("invoice_customer_contacts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Invoice>("invoice_customer_contacts", "invoice_customer_contacts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lead_customer_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lead_customer_contacts")]
		public System.Collections.Generic.IEnumerable<Xrm.Lead> lead_customer_contacts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Lead>("lead_customer_contacts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Lead>("lead_customer_contacts", "lead_customer_contacts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownik_Kontakt
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownik_Kontakt")]
		public System.Collections.Generic.IEnumerable<Xrm.new_uzytkownikkontakty> new_uzytkownik_Kontakt
		{
			get
			{
				return this.GetRelatedEntities<Xrm.new_uzytkownikkontakty>("new_uzytkownik_Kontakt", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.new_uzytkownikkontakty>("new_uzytkownik_Kontakt", "new_uzytkownik_Kontakt", null, value);
			}
		}
		
		/// <summary>
		/// 1:N opportunity_customer_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunity_customer_contacts")]
		public System.Collections.Generic.IEnumerable<Xrm.Opportunity> opportunity_customer_contacts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Opportunity>("opportunity_customer_contacts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Opportunity>("opportunity_customer_contacts", "opportunity_customer_contacts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N order_customer_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("order_customer_contacts")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesOrder> order_customer_contacts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesOrder>("order_customer_contacts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesOrder>("order_customer_contacts", "order_customer_contacts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N quote_customer_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("quote_customer_contacts")]
		public System.Collections.Generic.IEnumerable<Xrm.Quote> quote_customer_contacts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Quote>("quote_customer_contacts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Quote>("quote_customer_contacts", "quote_customer_contacts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SourceContact_BulkOperationLogs
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SourceContact_BulkOperationLogs")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkOperationLog> SourceContact_BulkOperationLogs
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkOperationLog>("SourceContact_BulkOperationLogs", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkOperationLog>("SourceContact_BulkOperationLogs", "SourceContact_BulkOperationLogs", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_contact
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_contact")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_contact
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_contact", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_contact", "userentityinstancedata_contact", null, value);
			}
		}
		
		/// <summary>
		/// N:N contactinvoices_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contactinvoices_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Invoice> contactinvoices_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Invoice>("contactinvoices_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Invoice>("contactinvoices_association", "contactinvoices_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N contactleads_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contactleads_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Lead> contactleads_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Lead>("contactleads_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Lead>("contactleads_association", "contactleads_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N contactorders_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contactorders_association")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesOrder> contactorders_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesOrder>("contactorders_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesOrder>("contactorders_association", "contactorders_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N contactquotes_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contactquotes_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Quote> contactquotes_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Quote>("contactquotes_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Quote>("contactquotes_association", "contactquotes_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N listcontact_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("listcontact_association")]
		public System.Collections.Generic.IEnumerable<Xrm.List> listcontact_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.List>("listcontact_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.List>("listcontact_association", "listcontact_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N new_new_uzytkownicy_contact
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_new_uzytkownicy_contact")]
		public System.Collections.Generic.IEnumerable<Xrm.new_uzytkownicy> new_new_uzytkownicy_contact
		{
			get
			{
				return this.GetRelatedEntities<Xrm.new_uzytkownicy>("new_new_uzytkownicy_contact", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.new_uzytkownicy>("new_new_uzytkownicy_contact", "new_new_uzytkownicy_contact", null, value);
			}
		}
		
		/// <summary>
		/// N:N servicecontractcontacts_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("servicecontractcontacts_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Contract> servicecontractcontacts_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contract>("servicecontractcontacts_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contract>("servicecontractcontacts_association", "servicecontractcontacts_association", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_contacts")]
		public Xrm.BusinessUnit business_unit_contacts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_contacts", null);
			}
		}
		
		/// <summary>
		/// N:1 contact_customer_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentcustomerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contact_customer_accounts")]
		public Xrm.Account contact_customer_accounts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("contact_customer_accounts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("contact_customer_accounts", "contact_customer_accounts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 contact_customer_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentcustomerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contact_customer_contacts", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.Contact Referencingcontact_customer_contacts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("contact_customer_contacts", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("Referencingcontact_customer_contacts", "contact_customer_contacts", Microsoft.Xrm.Sdk.EntityRole.Referencing, value);
			}
		}
		
		/// <summary>
		/// N:1 contact_master_contact
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("masterid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contact_master_contact", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.Contact Referencingcontact_master_contact
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("contact_master_contact", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
		}
		
		/// <summary>
		/// N:1 contact_originating_lead
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("originatingleadid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contact_originating_lead")]
		public Xrm.Lead contact_originating_lead
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Lead>("contact_originating_lead", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Lead>("contact_originating_lead", "contact_originating_lead", null, value);
			}
		}
		
		/// <summary>
		/// N:1 contact_owning_user
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contact_owning_user")]
		public Xrm.SystemUser contact_owning_user
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("contact_owning_user", null);
			}
		}
		
		/// <summary>
		/// N:1 equipment_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("preferredequipmentid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("equipment_contacts")]
		public Xrm.Equipment equipment_contacts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Equipment>("equipment_contacts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Equipment>("equipment_contacts", "equipment_contacts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_contact_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contact_createdonbehalfby")]
		public Xrm.SystemUser lk_contact_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_contact_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_contact_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contact_modifiedonbehalfby")]
		public Xrm.SystemUser lk_contact_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_contact_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_contactbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contactbase_createdby")]
		public Xrm.SystemUser lk_contactbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_contactbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_contactbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contactbase_modifiedby")]
		public Xrm.SystemUser lk_contactbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_contactbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 price_level_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("defaultpricelevelid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("price_level_contacts")]
		public Xrm.PriceLevel price_level_contacts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PriceLevel>("price_level_contacts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PriceLevel>("price_level_contacts", "price_level_contacts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 service_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("preferredserviceid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_contacts")]
		public Xrm.Service service_contacts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Service>("service_contacts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Service>("service_contacts", "service_contacts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 system_user_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("preferredsystemuserid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_contacts")]
		public Xrm.SystemUser system_user_contacts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("system_user_contacts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("system_user_contacts", "system_user_contacts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_contacts")]
		public Xrm.Team team_contacts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_contacts", null);
			}
		}
		
		/// <summary>
		/// N:1 transactioncurrency_contact
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_contact")]
		public Xrm.TransactionCurrency transactioncurrency_contact
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_contact", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_contact", "transactioncurrency_contact", null, value);
			}
		}
	}
	
	/// <summary>
	/// 
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("contactinvoices")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ContactInvoicesSet")]
	public partial class ContactInvoices : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ContactInvoices() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "contactinvoices";
		
		public const int EntityTypeCode = 17;
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contactid")]
		public System.Nullable<System.Guid> ContactId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("contactid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator faktur kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contactinvoiceid")]
		public System.Nullable<System.Guid> ContactInvoiceId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("contactinvoiceid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ContactInvoiceId", "contactinvoiceid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contactinvoiceid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ContactInvoiceId = value;
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("invoiceid")]
		public System.Nullable<System.Guid> InvoiceId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("invoiceid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// N:N contactinvoices_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contactinvoices_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Invoice> contactinvoices_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Invoice>("contactinvoices_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Invoice>("contactinvoices_association", "contactinvoices_association", null, value);
			}
		}
	}
	
	/// <summary>
	/// 
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("contactleads")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ContactLeadsSet")]
	public partial class ContactLeads : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ContactLeads() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "contactleads";
		
		public const int EntityTypeCode = 22;
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contactid")]
		public System.Nullable<System.Guid> ContactId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("contactid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator potencjalnych klientów kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contactleadid")]
		public System.Nullable<System.Guid> ContactLeadId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("contactleadid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ContactLeadId", "contactleadid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contactleadid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ContactLeadId = value;
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("leadid")]
		public System.Nullable<System.Guid> LeadId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("leadid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// N:N contactleads_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contactleads_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Contact> contactleads_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contact>("contactleads_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contact>("contactleads_association", "contactleads_association", null, value);
			}
		}
	}
	
	/// <summary>
	/// 
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("contactorders")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ContactOrdersSet")]
	public partial class ContactOrders : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ContactOrders() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "contactorders";
		
		public const int EntityTypeCode = 19;
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contactid")]
		public System.Nullable<System.Guid> ContactId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("contactid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zamówień kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contactorderid")]
		public System.Nullable<System.Guid> ContactOrderId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("contactorderid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ContactOrderId", "contactorderid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contactorderid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ContactOrderId = value;
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salesorderid")]
		public System.Nullable<System.Guid> SalesOrderId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("salesorderid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// N:N contactorders_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contactorders_association")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesOrder> contactorders_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesOrder>("contactorders_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesOrder>("contactorders_association", "contactorders_association", null, value);
			}
		}
	}
	
	/// <summary>
	/// 
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("contactquotes")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ContactQuotesSet")]
	public partial class ContactQuotes : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ContactQuotes() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "contactquotes";
		
		public const int EntityTypeCode = 18;
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contactid")]
		public System.Nullable<System.Guid> ContactId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("contactid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator ofert dla kontaktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contactquoteid")]
		public System.Nullable<System.Guid> ContactQuoteId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("contactquoteid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ContactQuoteId", "contactquoteid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contactquoteid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ContactQuoteId = value;
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quoteid")]
		public System.Nullable<System.Guid> QuoteId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("quoteid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// N:N contactquotes_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contactquotes_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Quote> contactquotes_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Quote>("contactquotes_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Quote>("contactquotes_association", "contactquotes_association", null, value);
			}
		}
	}
	
	/// <summary>
	/// Umowa świadczenia obsługi klienta i pomocy technicznej w określonym czasie lub liczbie spraw.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("contract")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ContractSet")]
	public partial class Contract : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Contract() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "contract";
		
		public const int EntityTypeCode = 1010;
		
		/// <summary>
		/// Unikatowy identyfikator konta, z którym jest skojarzony kontrakt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("accountid")]
		public Microsoft.Xrm.Client.CrmEntityReference AccountId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("accountid");
			}
		}
		
		/// <summary>
		/// Data i godzina aktywacji kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activeon")]
		public System.Nullable<System.DateTime> ActiveOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("activeon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActiveOn", "activeon", value);
			}
		}
		
		/// <summary>
		/// Typ przydziału obsługiwanego w ramach kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("allotmenttypecode")]
		public System.Nullable<int> AllotmentTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("allotmenttypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("AllotmentTypeCode", "allotmenttypecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator konta, na które jest fakturowany kontrakt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billingaccountid")]
		public Microsoft.Xrm.Client.CrmEntityReference BillingAccountId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("billingaccountid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kontaktu, na który jest fakturowany kontrakt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billingcontactid")]
		public Microsoft.Xrm.Client.CrmEntityReference BillingContactId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("billingcontactid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator konta lub kontaktu, na który jest fakturowany kontrakt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billingcustomerid")]
		public Microsoft.Xrm.Client.CrmEntityReference BillingCustomerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("billingcustomerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("BillingCustomerId", "billingcustomerid", value);
			}
		}
		
		/// <summary>
		/// Data i godzina zakończenia okresu fakturowania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billingendon")]
		public System.Nullable<System.DateTime> BillingEndOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("billingendon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("BillingEndOn", "billingendon", value);
			}
		}
		
		/// <summary>
		/// Częstotliwość wystawiania faktur dla klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billingfrequencycode")]
		public System.Nullable<int> BillingFrequencyCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("billingfrequencycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("BillingFrequencyCode", "billingfrequencycode", value);
			}
		}
		
		/// <summary>
		/// Data i godzina rozpoczęcia okresu fakturowania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billingstarton")]
		public System.Nullable<System.DateTime> BillingStartOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("billingstarton");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("BillingStartOn", "billingstarton", value);
			}
		}
		
		/// <summary>
		/// Adres do fakturowania opłat związanych z kontraktem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billtoaddress")]
		public Microsoft.Xrm.Client.CrmEntityReference BillToAddress
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("billtoaddress");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("BillToAddress", "billtoaddress", value);
			}
		}
		
		/// <summary>
		/// Data anulowania kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("cancelon")]
		public System.Nullable<System.DateTime> CancelOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("cancelon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kontaktu określonego w ramach kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contactid")]
		public Microsoft.Xrm.Client.CrmEntityReference ContactId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("contactid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contractid")]
		public System.Nullable<System.Guid> ContractId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("contractid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ContractId", "contractid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contractid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ContractId = value;
			}
		}
		
		/// <summary>
		/// Opis kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contractlanguage")]
		public string ContractLanguage
		{
			get
			{
				return this.GetAttributeValue<string>("contractlanguage");
			}
			set
			{
				this.SetAttributeValue<string>("ContractLanguage", "contractlanguage", value);
			}
		}
		
		/// <summary>
		/// Wygenerowany przez system numer identyfikacyjny kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contractnumber")]
		public string ContractNumber
		{
			get
			{
				return this.GetAttributeValue<string>("contractnumber");
			}
			set
			{
				this.SetAttributeValue<string>("ContractNumber", "contractnumber", value);
			}
		}
		
		/// <summary>
		/// Poziom odpowiedzi lub usług określony dla kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contractservicelevelcode")]
		public System.Nullable<int> ContractServiceLevelCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("contractservicelevelcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ContractServiceLevelCode", "contractservicelevelcode", value);
			}
		}
		
		/// <summary>
		/// Skrót nazwy szablonu kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contracttemplateabbreviation")]
		public string ContractTemplateAbbreviation
		{
			get
			{
				return this.GetAttributeValue<string>("contracttemplateabbreviation");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator szablonu skojarzonego z kontraktem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contracttemplateid")]
		public Microsoft.Xrm.Client.CrmEntityReference ContractTemplateId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("contracttemplateid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ContractTemplateId", "contracttemplateid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył kontrakt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który utworzył kontrakt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator konta lub kontaktu skojarzonego z danym kontraktem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		public Microsoft.Xrm.Client.CrmEntityReference CustomerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("customerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("CustomerId", "customerid", value);
			}
		}
		
		/// <summary>
		/// Obliczony czas trwania kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duration")]
		public System.Nullable<int> Duration
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("duration");
			}
		}
		
		/// <summary>
		/// Dni tygodnia i godziny, w czasie których jest dostępna obsługa klienta i pomoc techniczna w ramach kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("effectivitycalendar")]
		public string EffectivityCalendar
		{
			get
			{
				return this.GetAttributeValue<string>("effectivitycalendar");
			}
			set
			{
				this.SetAttributeValue<string>("EffectivityCalendar", "effectivitycalendar", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z kontraktem w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Data wygaśnięcia kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("expireson")]
		public System.Nullable<System.DateTime> ExpiresOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("expireson");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ExpiresOn", "expireson", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował kontrakt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który jako ostatni zmodyfikował kontrakt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Suma wszystkich wartości netto obliczonych w pozycjach kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("netprice")]
		public System.Nullable<decimal> NetPrice
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("netprice");
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej sumy wszystkich wartości netto obliczonych w pozycjach kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("netprice_base")]
		public System.Nullable<decimal> NetPrice_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("netprice_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator oryginalnego kontraktu, na podstawie którego został utworzony bieżący kontrakt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("originatingcontract")]
		public Microsoft.Xrm.Client.CrmEntityReference OriginatingContract
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("originatingcontract");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OriginatingContract", "originatingcontract", value);
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, który jest właścicielem kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, do której należy kontrakt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, do którego należy kontrakt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, do którego należy kontrakt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator adresu, pod którym ma być świadczona usługa.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceaddress")]
		public Microsoft.Xrm.Client.CrmEntityReference ServiceAddress
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("serviceaddress");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ServiceAddress", "serviceaddress", value);
			}
		}
		
		/// <summary>
		/// Stan kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Tytuł kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("title")]
		public string Title
		{
			get
			{
				return this.GetAttributeValue<string>("title");
			}
			set
			{
				this.SetAttributeValue<string>("Title", "title", value);
			}
		}
		
		/// <summary>
		/// Suma wszystkich rabatów określonych w pozycjach kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totaldiscount")]
		public System.Nullable<decimal> TotalDiscount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totaldiscount");
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej sumy wszystkich rabatów określonych w pozycjach kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totaldiscount_base")]
		public System.Nullable<decimal> TotalDiscount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totaldiscount_base");
			}
		}
		
		/// <summary>
		/// Łączna cena kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totalprice")]
		public System.Nullable<decimal> TotalPrice
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totalprice");
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej ceny całkowitej w kontrakcie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totalprice_base")]
		public System.Nullable<decimal> TotalPrice_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totalprice_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z kontraktem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy rabat jest wartością procentową, czy kwotą pieniężną.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("usediscountaspercentage")]
		public System.Nullable<bool> UseDiscountAsPercentage
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("usediscountaspercentage");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("UseDiscountAsPercentage", "usediscountaspercentage", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N contract_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contract_activity_parties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> contract_activity_parties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("contract_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("contract_activity_parties", "contract_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Contract_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_ActivityPointers")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityPointer> Contract_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityPointer>("Contract_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityPointer>("Contract_ActivityPointers", "Contract_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Contract_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> Contract_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("Contract_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("Contract_Annotation", "Contract_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Contract_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_Appointments")]
		public System.Collections.Generic.IEnumerable<Xrm.Appointment> Contract_Appointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Appointment>("Contract_Appointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Appointment>("Contract_Appointments", "Contract_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Contract_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Contract_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Contract_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Contract_AsyncOperations", "Contract_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Contract_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Contract_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Contract_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Contract_BulkDeleteFailures", "Contract_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N contract_cases
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contract_cases")]
		public System.Collections.Generic.IEnumerable<Xrm.Incident> contract_cases
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Incident>("contract_cases", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Incident>("contract_cases", "contract_cases", null, value);
			}
		}
		
		/// <summary>
		/// 1:N contract_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contract_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> contract_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("contract_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("contract_connections1", "contract_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N contract_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contract_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> contract_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("contract_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("contract_connections2", "contract_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Contract_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Contract_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Contract_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Contract_DuplicateBaseRecord", "Contract_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Contract_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Contract_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Contract_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Contract_DuplicateMatchingRecord", "Contract_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Contract_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_Emails")]
		public System.Collections.Generic.IEnumerable<Xrm.Email> Contract_Emails
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Email>("Contract_Emails", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Email>("Contract_Emails", "Contract_Emails", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Contract_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_Faxes")]
		public System.Collections.Generic.IEnumerable<Xrm.Fax> Contract_Faxes
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Fax>("Contract_Faxes", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Fax>("Contract_Faxes", "Contract_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Contract_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_Letters")]
		public System.Collections.Generic.IEnumerable<Xrm.Letter> Contract_Letters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Letter>("Contract_Letters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Letter>("Contract_Letters", "Contract_Letters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N contract_line_items
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contract_line_items")]
		public System.Collections.Generic.IEnumerable<Xrm.ContractDetail> contract_line_items
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ContractDetail>("contract_line_items", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ContractDetail>("contract_line_items", "contract_line_items", null, value);
			}
		}
		
		/// <summary>
		/// 1:N contract_originating_contract
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contract_originating_contract", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.Contract> Referencedcontract_originating_contract
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contract>("contract_originating_contract", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contract>("Referencedcontract_originating_contract", "contract_originating_contract", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// 1:N Contract_Phonecalls
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_Phonecalls")]
		public System.Collections.Generic.IEnumerable<Xrm.PhoneCall> Contract_Phonecalls
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PhoneCall>("Contract_Phonecalls", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PhoneCall>("Contract_Phonecalls", "Contract_Phonecalls", null, value);
			}
		}
		
		/// <summary>
		/// 1:N contract_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contract_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> contract_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("contract_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("contract_principalobjectattributeaccess", "contract_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Contract_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Contract_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Contract_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Contract_ProcessSessions", "Contract_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Contract_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_RecurringAppointmentMasters")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurringAppointmentMaster> Contract_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurringAppointmentMaster>("Contract_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurringAppointmentMaster>("Contract_RecurringAppointmentMasters", "Contract_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Contract_ServiceAppointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_ServiceAppointments")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceAppointment> Contract_ServiceAppointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceAppointment>("Contract_ServiceAppointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceAppointment>("Contract_ServiceAppointments", "Contract_ServiceAppointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Contract_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_Tasks")]
		public System.Collections.Generic.IEnumerable<Xrm.Task> Contract_Tasks
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Task>("Contract_Tasks", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Task>("Contract_Tasks", "Contract_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_contract
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_contract")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_contract
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_contract", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_contract", "userentityinstancedata_contract", null, value);
			}
		}
		
		/// <summary>
		/// N:N servicecontractcontacts_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("servicecontractcontacts_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Contact> servicecontractcontacts_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contact>("servicecontractcontacts_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contact>("servicecontractcontacts_association", "servicecontractcontacts_association", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_service_contracts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_service_contracts")]
		public Xrm.BusinessUnit business_unit_service_contracts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_service_contracts", null);
			}
		}
		
		/// <summary>
		/// N:1 contract_billingcustomer_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billingcustomerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contract_billingcustomer_accounts")]
		public Xrm.Account contract_billingcustomer_accounts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("contract_billingcustomer_accounts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("contract_billingcustomer_accounts", "contract_billingcustomer_accounts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 contract_billingcustomer_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billingcustomerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contract_billingcustomer_contacts")]
		public Xrm.Contact contract_billingcustomer_contacts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("contract_billingcustomer_contacts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("contract_billingcustomer_contacts", "contract_billingcustomer_contacts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 contract_customer_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contract_customer_accounts")]
		public Xrm.Account contract_customer_accounts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("contract_customer_accounts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("contract_customer_accounts", "contract_customer_accounts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 contract_customer_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contract_customer_contacts")]
		public Xrm.Contact contract_customer_contacts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("contract_customer_contacts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("contract_customer_contacts", "contract_customer_contacts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 contract_originating_contract
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("originatingcontract")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contract_originating_contract", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.Contract Referencingcontract_originating_contract
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contract>("contract_originating_contract", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contract>("Referencingcontract_originating_contract", "contract_originating_contract", Microsoft.Xrm.Sdk.EntityRole.Referencing, value);
			}
		}
		
		/// <summary>
		/// N:1 contract_template_contracts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contracttemplateid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contract_template_contracts")]
		public Xrm.ContractTemplate contract_template_contracts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ContractTemplate>("contract_template_contracts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ContractTemplate>("contract_template_contracts", "contract_template_contracts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 customer_address_contracts_as_billing_address
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billtoaddress")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("customer_address_contracts_as_billing_address")]
		public Xrm.CustomerAddress customer_address_contracts_as_billing_address
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CustomerAddress>("customer_address_contracts_as_billing_address", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CustomerAddress>("customer_address_contracts_as_billing_address", "customer_address_contracts_as_billing_address", null, value);
			}
		}
		
		/// <summary>
		/// N:1 customer_address_contracts_as_service_address
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceaddress")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("customer_address_contracts_as_service_address")]
		public Xrm.CustomerAddress customer_address_contracts_as_service_address
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CustomerAddress>("customer_address_contracts_as_service_address", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CustomerAddress>("customer_address_contracts_as_service_address", "customer_address_contracts_as_service_address", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_contract_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contract_createdonbehalfby")]
		public Xrm.SystemUser lk_contract_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_contract_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_contract_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contract_modifiedonbehalfby")]
		public Xrm.SystemUser lk_contract_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_contract_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_contractbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contractbase_createdby")]
		public Xrm.SystemUser lk_contractbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_contractbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_contractbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contractbase_modifiedby")]
		public Xrm.SystemUser lk_contractbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_contractbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 system_user_service_contracts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_service_contracts")]
		public Xrm.SystemUser system_user_service_contracts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("system_user_service_contracts", null);
			}
		}
		
		/// <summary>
		/// N:1 team_service_contracts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_service_contracts")]
		public Xrm.Team team_service_contracts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_service_contracts", null);
			}
		}
		
		/// <summary>
		/// N:1 transactioncurrency_contract
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_contract")]
		public Xrm.TransactionCurrency transactioncurrency_contract
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_contract", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_contract", "transactioncurrency_contract", null, value);
			}
		}
	}
	
	/// <summary>
	/// Pozycja kontraktu określająca typ usługi, do której jest uprawniony klient.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("contractdetail")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ContractDetailSet")]
	public partial class ContractDetail : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ContractDetail() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "contractdetail";
		
		public const int EntityTypeCode = 1011;
		
		/// <summary>
		/// Unikatowy identyfikator konta, z którym jest skojarzony kontrakt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("accountid")]
		public Microsoft.Xrm.Client.CrmEntityReference AccountId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("accountid");
			}
		}
		
		/// <summary>
		/// Data i godzina aktywacji pozycji kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activeon")]
		public System.Nullable<System.DateTime> ActiveOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("activeon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActiveOn", "activeon", value);
			}
		}
		
		/// <summary>
		/// Liczba nadmiarowych przydziałów dla pozycji kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("allotmentsoverage")]
		public System.Nullable<int> AllotmentsOverage
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("allotmentsoverage");
			}
		}
		
		/// <summary>
		/// Liczba pozostałych przydziałów dla pozycji kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("allotmentsremaining")]
		public System.Nullable<int> AllotmentsRemaining
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("allotmentsremaining");
			}
		}
		
		/// <summary>
		/// Liczba użytych przydziałów dla pozycji kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("allotmentsused")]
		public System.Nullable<int> AllotmentsUsed
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("allotmentsused");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kontaktu skojarzonego z pozycją kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contactid")]
		public Microsoft.Xrm.Client.CrmEntityReference ContactId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("contactid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator pozycji kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contractdetailid")]
		public System.Nullable<System.Guid> ContractDetailId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("contractdetailid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ContractDetailId", "contractdetailid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contractdetailid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ContractDetailId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kontraktu skojarzonego z pozycją kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contractid")]
		public Microsoft.Xrm.Client.CrmEntityReference ContractId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("contractid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ContractId", "contractid", value);
			}
		}
		
		/// <summary>
		/// Stan kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contractstatecode")]
		public System.Nullable<int> ContractStateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("contractstatecode");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył pozycję kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia pozycji kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który utworzył szczegół kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator konta lub kontaktu skojarzonego z pozycją kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		public Microsoft.Xrm.Client.CrmEntityReference CustomerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("customerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("CustomerId", "customerid", value);
			}
		}
		
		/// <summary>
		/// Rabat dla pozycji kontraktu. Określony jako kwota pieniężna.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("discount")]
		public System.Nullable<decimal> Discount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("discount");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Discount", "discount", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej rabatu w pozycji kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("discount_base")]
		public System.Nullable<decimal> Discount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("discount_base");
			}
		}
		
		/// <summary>
		/// Rabat dla pozycji kontraktu. Określony jako procent.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("discountpercentage")]
		public System.Nullable<decimal> DiscountPercentage
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("discountpercentage");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("DiscountPercentage", "discountpercentage", value);
			}
		}
		
		/// <summary>
		/// Dni tygodnia i godziny, przez które element pozycji kontraktu jest efektywny.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("effectivitycalendar")]
		public string EffectivityCalendar
		{
			get
			{
				return this.GetAttributeValue<string>("effectivitycalendar");
			}
			set
			{
				this.SetAttributeValue<string>("EffectivityCalendar", "effectivitycalendar", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej ze szczegółem kontraktu w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Data wygaśnięcia elementu pozycji kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("expireson")]
		public System.Nullable<System.DateTime> ExpiresOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("expireson");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ExpiresOn", "expireson", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Początkowa liczba jednostek przydzielonych w ramach elementu pozycji kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("initialquantity")]
		public System.Nullable<int> InitialQuantity
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("initialquantity");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("InitialQuantity", "initialquantity", value);
			}
		}
		
		/// <summary>
		/// Położenie elementu na liście pozycji kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("lineitemorder")]
		public System.Nullable<int> LineItemOrder
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("lineitemorder");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("LineItemOrder", "lineitemorder", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował pozycję kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji pozycji kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który jako ostatni zmodyfikował szczegół kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Cena netto pozycji kontraktu. Cena netto to cena łączna pomniejszona o dowolny mający zastosowanie rabat.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("net")]
		public System.Nullable<decimal> Net
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("net");
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej ceny netto pozycji kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("net_base")]
		public System.Nullable<decimal> Net_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("net_base");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, który jest właścicielem szczegółu kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem pozycji kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public System.Nullable<System.Guid> OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem pozycji kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public System.Nullable<System.Guid> OwningUser
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owninguser");
			}
		}
		
		/// <summary>
		/// Cena pozycji kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("price")]
		public System.Nullable<decimal> Price
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("price");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Price", "price", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej ceny pozycji kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("price_base")]
		public System.Nullable<decimal> Price_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("price_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator produktu skojarzonego z pozycją kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productid")]
		public Microsoft.Xrm.Client.CrmEntityReference ProductId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("productid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ProductId", "productid", value);
			}
		}
		
		/// <summary>
		/// Numer seryjny produktu przywoływany w pozycji kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productserialnumber")]
		public string ProductSerialNumber
		{
			get
			{
				return this.GetAttributeValue<string>("productserialnumber");
			}
			set
			{
				this.SetAttributeValue<string>("ProductSerialNumber", "productserialnumber", value);
			}
		}
		
		/// <summary>
		/// Stawka fakturowania dla pozycji kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("rate")]
		public System.Nullable<decimal> Rate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("rate");
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej kwoty na fakturze pozycji kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("rate_base")]
		public System.Nullable<decimal> Rate_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("rate_base");
			}
		}
		
		/// <summary>
		/// Adres, pod którym ma być świadczona usługa.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceaddress")]
		public Microsoft.Xrm.Client.CrmEntityReference ServiceAddress
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("serviceaddress");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ServiceAddress", "serviceaddress", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostek produktu określonych w pozycji kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("servicecontractunitscode")]
		public System.Nullable<int> ServiceContractUnitsCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("servicecontractunitscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ServiceContractUnitsCode", "servicecontractunitscode", value);
			}
		}
		
		/// <summary>
		/// Stan pozycji kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu pozycji kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Tytuł pozycji kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("title")]
		public string Title
		{
			get
			{
				return this.GetAttributeValue<string>("title");
			}
			set
			{
				this.SetAttributeValue<string>("Title", "title", value);
			}
		}
		
		/// <summary>
		/// Łączna liczba przydziałów dla pozycji kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totalallotments")]
		public System.Nullable<int> TotalAllotments
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("totalallotments");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TotalAllotments", "totalallotments", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej ze szczegółem kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki skojarzonej z pozycją kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("uomid")]
		public Microsoft.Xrm.Client.CrmEntityReference UoMId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("uomid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("UoMId", "uomid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator grupy jednostek skojarzonej z pozycją kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("uomscheduleid")]
		public Microsoft.Xrm.Client.CrmEntityReference UoMScheduleId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("uomscheduleid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("UoMScheduleId", "uomscheduleid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji szablonu kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N contract_detail_cases
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contract_detail_cases")]
		public System.Collections.Generic.IEnumerable<Xrm.Incident> contract_detail_cases
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Incident>("contract_detail_cases", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Incident>("contract_detail_cases", "contract_detail_cases", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ContractDetail_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ContractDetail_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> ContractDetail_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("ContractDetail_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("ContractDetail_Annotation", "ContractDetail_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ContractDetail_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ContractDetail_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> ContractDetail_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("ContractDetail_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("ContractDetail_AsyncOperations", "ContractDetail_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ContractDetail_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ContractDetail_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> ContractDetail_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("ContractDetail_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("ContractDetail_BulkDeleteFailures", "ContractDetail_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N contractdetail_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contractdetail_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> contractdetail_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("contractdetail_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("contractdetail_principalobjectattributeaccess", "contractdetail_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ContractDetail_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ContractDetail_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> ContractDetail_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("ContractDetail_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("ContractDetail_ProcessSessions", "ContractDetail_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_contractdetail
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_contractdetail")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_contractdetail
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_contractdetail", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_contractdetail", "userentityinstancedata_contractdetail", null, value);
			}
		}
		
		/// <summary>
		/// N:1 contract_detail_unit_of_measure_schedule
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("uomscheduleid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contract_detail_unit_of_measure_schedule")]
		public Xrm.UoMSchedule contract_detail_unit_of_measure_schedule
		{
			get
			{
				return this.GetRelatedEntity<Xrm.UoMSchedule>("contract_detail_unit_of_measure_schedule", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.UoMSchedule>("contract_detail_unit_of_measure_schedule", "contract_detail_unit_of_measure_schedule", null, value);
			}
		}
		
		/// <summary>
		/// N:1 contract_line_items
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contractid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contract_line_items")]
		public Xrm.Contract contract_line_items
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contract>("contract_line_items", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contract>("contract_line_items", "contract_line_items", null, value);
			}
		}
		
		/// <summary>
		/// N:1 contractlineitem_customer_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contractlineitem_customer_accounts")]
		public Xrm.Account contractlineitem_customer_accounts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("contractlineitem_customer_accounts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("contractlineitem_customer_accounts", "contractlineitem_customer_accounts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 contractlineitem_customer_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contractlineitem_customer_contacts")]
		public Xrm.Contact contractlineitem_customer_contacts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("contractlineitem_customer_contacts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("contractlineitem_customer_contacts", "contractlineitem_customer_contacts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 customer_address_contract_line_items
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceaddress")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("customer_address_contract_line_items")]
		public Xrm.CustomerAddress customer_address_contract_line_items
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CustomerAddress>("customer_address_contract_line_items", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CustomerAddress>("customer_address_contract_line_items", "customer_address_contract_line_items", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_contractdetail_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contractdetail_createdonbehalfby")]
		public Xrm.SystemUser lk_contractdetail_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_contractdetail_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_contractdetail_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contractdetail_modifiedonbehalfby")]
		public Xrm.SystemUser lk_contractdetail_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_contractdetail_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_contractdetailbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contractdetailbase_createdby")]
		public Xrm.SystemUser lk_contractdetailbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_contractdetailbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_contractdetailbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contractdetailbase_modifiedby")]
		public Xrm.SystemUser lk_contractdetailbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_contractdetailbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 product_contract_line_items
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("product_contract_line_items")]
		public Xrm.Product product_contract_line_items
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Product>("product_contract_line_items", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Product>("product_contract_line_items", "product_contract_line_items", null, value);
			}
		}
		
		/// <summary>
		/// N:1 transactioncurrency_contractdetail
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_contractdetail")]
		public Xrm.TransactionCurrency transactioncurrency_contractdetail
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_contractdetail", null);
			}
		}
		
		/// <summary>
		/// N:1 unit_of_measurement_contract_line_items
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("uomid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("unit_of_measurement_contract_line_items")]
		public Xrm.UoM unit_of_measurement_contract_line_items
		{
			get
			{
				return this.GetRelatedEntity<Xrm.UoM>("unit_of_measurement_contract_line_items", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.UoM>("unit_of_measurement_contract_line_items", "unit_of_measurement_contract_line_items", null, value);
			}
		}
	}
	
	/// <summary>
	/// Szablon kontraktu zawierający standardowe atrybuty kontraktu.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("contracttemplate")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ContractTemplateSet")]
	public partial class ContractTemplate : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ContractTemplate() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "contracttemplate";
		
		public const int EntityTypeCode = 2011;
		
		/// <summary>
		/// Skrót nazwy szablonu kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("abbreviation")]
		public string Abbreviation
		{
			get
			{
				return this.GetAttributeValue<string>("abbreviation");
			}
			set
			{
				this.SetAttributeValue<string>("Abbreviation", "abbreviation", value);
			}
		}
		
		/// <summary>
		/// Kryteria dotyczące kontraktów oparte na szablonie, takie jak liczba spraw, czas lub daty obowiązywania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("allotmenttypecode")]
		public System.Nullable<int> AllotmentTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("allotmenttypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("AllotmentTypeCode", "allotmenttypecode", value);
			}
		}
		
		/// <summary>
		/// Częstotliwość wystawiania faktur dla klienta w kontraktach utworzonych na podstawie tego szablonu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billingfrequencycode")]
		public System.Nullable<int> BillingFrequencyCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("billingfrequencycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("BillingFrequencyCode", "billingfrequencycode", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator poziomu usług określonego w kontraktach opartych na szablonie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contractservicelevelcode")]
		public System.Nullable<int> ContractServiceLevelCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("contractservicelevelcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ContractServiceLevelCode", "contractservicelevelcode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator szablonu kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contracttemplateid")]
		public System.Nullable<System.Guid> ContractTemplateId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("contracttemplateid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ContractTemplateId", "contracttemplateid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contracttemplateid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ContractTemplateId = value;
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contracttemplateidunique")]
		public System.Nullable<System.Guid> ContractTemplateIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("contracttemplateidunique");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył szablon kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia szablonu kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który utworzył szablon kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis szablonu kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Dni tygodnia i godziny, przez które kontrakty utworzone na podstawie tego szablonu są efektywne.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("effectivitycalendar")]
		public string EffectivityCalendar
		{
			get
			{
				return this.GetAttributeValue<string>("effectivitycalendar");
			}
			set
			{
				this.SetAttributeValue<string>("EffectivityCalendar", "effectivitycalendar", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy można dostosować ten składnik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomizable")]
		public Microsoft.Xrm.Sdk.BooleanManagedProperty IsCustomizable
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("iscustomizable");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("IsCustomizable", "iscustomizable", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy składnik rozwiązania jest częścią rozwiązania zarządzanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował szablon kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji szablonu kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który jako ostatni zmodyfikował szablon kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa szablonu kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z szablonem kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// Wskazuje, czy rabat w kontraktach utworzonych na podstawie tego szablonu jest naliczany w formie procentowej, czy jako wartość pieniężna.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("usediscountaspercentage")]
		public System.Nullable<bool> UseDiscountAsPercentage
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("usediscountaspercentage");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("UseDiscountAsPercentage", "usediscountaspercentage", value);
			}
		}
		
		/// <summary>
		/// Numer wersji szablonu kontraktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N contract_template_contracts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contract_template_contracts")]
		public System.Collections.Generic.IEnumerable<Xrm.Contract> contract_template_contracts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contract>("contract_template_contracts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contract>("contract_template_contracts", "contract_template_contracts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ContractTemplate_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ContractTemplate_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> ContractTemplate_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("ContractTemplate_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("ContractTemplate_AsyncOperations", "ContractTemplate_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ContractTemplate_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ContractTemplate_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> ContractTemplate_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("ContractTemplate_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("ContractTemplate_BulkDeleteFailures", "ContractTemplate_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ContractTemplate_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ContractTemplate_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> ContractTemplate_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("ContractTemplate_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("ContractTemplate_ProcessSessions", "ContractTemplate_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_contracttemplate
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_contracttemplate")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_contracttemplate
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_contracttemplate", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_contracttemplate", "userentityinstancedata_contracttemplate", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_contracttemplate_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contracttemplate_createdonbehalfby")]
		public Xrm.SystemUser lk_contracttemplate_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_contracttemplate_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_contracttemplate_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contracttemplate_modifiedonbehalfby")]
		public Xrm.SystemUser lk_contracttemplate_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_contracttemplate_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_contracttemplatebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contracttemplatebase_createdby")]
		public Xrm.SystemUser lk_contracttemplatebase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_contracttemplatebase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_contracttemplatebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contracttemplatebase_modifiedby")]
		public Xrm.SystemUser lk_contracttemplatebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_contracttemplatebase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_contract_templates
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_contract_templates")]
		public Xrm.Organization organization_contract_templates
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_contract_templates", null);
			}
		}
	}
	
	/// <summary>
	/// Informacje dotyczące adresu i wysyłki. Umożliwiają przechowywanie dodatkowych adresów konta lub kontaktu.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("customeraddress")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("CustomerAddressSet")]
	public partial class CustomerAddress : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public CustomerAddress() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "customeraddress";
		
		public const int EntityTypeCode = 1071;
		
		/// <summary>
		/// Określa adres klienta mający zastosowanie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("addressnumber")]
		public System.Nullable<int> AddressNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("addressnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("AddressNumber", "addressnumber", value);
			}
		}
		
		/// <summary>
		/// Typ adresu klienta, taki jak adres na fakturze, adres wysyłkowy lub adres podstawowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("addresstypecode")]
		public System.Nullable<int> AddressTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("addresstypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("AddressTypeCode", "addresstypecode", value);
			}
		}
		
		/// <summary>
		/// Nazwa miasta dla adresu klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("city")]
		public string City
		{
			get
			{
				return this.GetAttributeValue<string>("city");
			}
			set
			{
				this.SetAttributeValue<string>("City", "city", value);
			}
		}
		
		/// <summary>
		/// Nazwa kraju/regionu dla adresu klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("country")]
		public string Country
		{
			get
			{
				return this.GetAttributeValue<string>("country");
			}
			set
			{
				this.SetAttributeValue<string>("Country", "country", value);
			}
		}
		
		/// <summary>
		/// Nazwa powiatu dla adresu klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("county")]
		public string County
		{
			get
			{
				return this.GetAttributeValue<string>("county");
			}
			set
			{
				this.SetAttributeValue<string>("County", "county", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył adres klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia adresu klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który utworzył adres klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator adresu klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customeraddressid")]
		public System.Nullable<System.Guid> CustomerAddressId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("customeraddressid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("CustomerAddressId", "customeraddressid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customeraddressid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.CustomerAddressId = value;
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z adresem klienta w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Numer faksu dla adresu klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fax")]
		public string Fax
		{
			get
			{
				return this.GetAttributeValue<string>("fax");
			}
			set
			{
				this.SetAttributeValue<string>("Fax", "fax", value);
			}
		}
		
		/// <summary>
		/// Warunki frachtu dla adresu klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("freighttermscode")]
		public System.Nullable<int> FreightTermsCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("freighttermscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("FreightTermsCode", "freighttermscode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Szerokość geograficzna dla adresu klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("latitude")]
		public System.Nullable<double> Latitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("latitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Latitude", "latitude", value);
			}
		}
		
		/// <summary>
		/// Pierwszy wiersz do wprowadzenia informacji o adresie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("line1")]
		public string Line1
		{
			get
			{
				return this.GetAttributeValue<string>("line1");
			}
			set
			{
				this.SetAttributeValue<string>("Line1", "line1", value);
			}
		}
		
		/// <summary>
		/// Drugi wiersz do wprowadzenia informacji o adresie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("line2")]
		public string Line2
		{
			get
			{
				return this.GetAttributeValue<string>("line2");
			}
			set
			{
				this.SetAttributeValue<string>("Line2", "line2", value);
			}
		}
		
		/// <summary>
		/// Trzeci wiersz do wprowadzenia informacji o adresie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("line3")]
		public string Line3
		{
			get
			{
				return this.GetAttributeValue<string>("line3");
			}
			set
			{
				this.SetAttributeValue<string>("Line3", "line3", value);
			}
		}
		
		/// <summary>
		/// Długość geograficzna dla adresu klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("longitude")]
		public System.Nullable<double> Longitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("longitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Longitude", "longitude", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował adres klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji adresu klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który jako ostatni zmodyfikował adres klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa używana do identyfikowania adresu klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Typ encji, z którą jest skojarzony adres klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objecttypecode")]
		public string ObjectTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("objecttypecode");
			}
			set
			{
				this.SetAttributeValue<string>("ObjectTypeCode", "objecttypecode", value);
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, który jest właścicielem adresu klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem adresu klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem adresu klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obiektu nadrzędnego, z którym jest skojarzony adres klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentid")]
		public Microsoft.Xrm.Client.CrmEntityReference ParentId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("parentid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ParentId", "parentid", value);
			}
		}
		
		/// <summary>
		/// Kod pocztowy dla adresu klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("postalcode")]
		public string PostalCode
		{
			get
			{
				return this.GetAttributeValue<string>("postalcode");
			}
			set
			{
				this.SetAttributeValue<string>("PostalCode", "postalcode", value);
			}
		}
		
		/// <summary>
		/// Numer skrytki pocztowej dla adresu klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("postofficebox")]
		public string PostOfficeBox
		{
			get
			{
				return this.GetAttributeValue<string>("postofficebox");
			}
			set
			{
				this.SetAttributeValue<string>("PostOfficeBox", "postofficebox", value);
			}
		}
		
		/// <summary>
		/// Imię i nazwisko podstawowego kontaktu pod adresem klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("primarycontactname")]
		public string PrimaryContactName
		{
			get
			{
				return this.GetAttributeValue<string>("primarycontactname");
			}
			set
			{
				this.SetAttributeValue<string>("PrimaryContactName", "primarycontactname", value);
			}
		}
		
		/// <summary>
		/// Metoda wysyłki dla adresu klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shippingmethodcode")]
		public System.Nullable<int> ShippingMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("shippingmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ShippingMethodCode", "shippingmethodcode", value);
			}
		}
		
		/// <summary>
		/// Województwo dla adresu klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("stateorprovince")]
		public string StateOrProvince
		{
			get
			{
				return this.GetAttributeValue<string>("stateorprovince");
			}
			set
			{
				this.SetAttributeValue<string>("StateOrProvince", "stateorprovince", value);
			}
		}
		
		/// <summary>
		/// Pierwszy numer telefonu dla adresu klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("telephone1")]
		public string Telephone1
		{
			get
			{
				return this.GetAttributeValue<string>("telephone1");
			}
			set
			{
				this.SetAttributeValue<string>("Telephone1", "telephone1", value);
			}
		}
		
		/// <summary>
		/// Drugi numer telefonu dla adresu klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("telephone2")]
		public string Telephone2
		{
			get
			{
				return this.GetAttributeValue<string>("telephone2");
			}
			set
			{
				this.SetAttributeValue<string>("Telephone2", "telephone2", value);
			}
		}
		
		/// <summary>
		/// Trzeci numer telefonu dla adresu klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("telephone3")]
		public string Telephone3
		{
			get
			{
				return this.GetAttributeValue<string>("telephone3");
			}
			set
			{
				this.SetAttributeValue<string>("Telephone3", "telephone3", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z adresem klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Strefa firmy UPS (United Parcel Service) dla adresu klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("upszone")]
		public string UPSZone
		{
			get
			{
				return this.GetAttributeValue<string>("upszone");
			}
			set
			{
				this.SetAttributeValue<string>("UPSZone", "upszone", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Przesunięcie czasu UTC dla tego adresu. Jest to różnica między czasem lokalnym a standardowym uniwersalnym czasem koordynowanym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcoffset")]
		public System.Nullable<int> UTCOffset
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcoffset");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCOffset", "utcoffset", value);
			}
		}
		
		/// <summary>
		/// Numer wersji adresu klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N customer_address_contract_line_items
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("customer_address_contract_line_items")]
		public System.Collections.Generic.IEnumerable<Xrm.ContractDetail> customer_address_contract_line_items
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ContractDetail>("customer_address_contract_line_items", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ContractDetail>("customer_address_contract_line_items", "customer_address_contract_line_items", null, value);
			}
		}
		
		/// <summary>
		/// 1:N customer_address_contracts_as_billing_address
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("customer_address_contracts_as_billing_address")]
		public System.Collections.Generic.IEnumerable<Xrm.Contract> customer_address_contracts_as_billing_address
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contract>("customer_address_contracts_as_billing_address", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contract>("customer_address_contracts_as_billing_address", "customer_address_contracts_as_billing_address", null, value);
			}
		}
		
		/// <summary>
		/// 1:N customer_address_contracts_as_service_address
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("customer_address_contracts_as_service_address")]
		public System.Collections.Generic.IEnumerable<Xrm.Contract> customer_address_contracts_as_service_address
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contract>("customer_address_contracts_as_service_address", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contract>("customer_address_contracts_as_service_address", "customer_address_contracts_as_service_address", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CustomerAddress_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CustomerAddress_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> CustomerAddress_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("CustomerAddress_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("CustomerAddress_AsyncOperations", "CustomerAddress_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CustomerAddress_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CustomerAddress_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> CustomerAddress_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("CustomerAddress_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("CustomerAddress_BulkDeleteFailures", "CustomerAddress_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N customeraddress_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("customeraddress_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> customeraddress_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("customeraddress_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("customeraddress_principalobjectattributeaccess", "customeraddress_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CustomerAddress_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CustomerAddress_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> CustomerAddress_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("CustomerAddress_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("CustomerAddress_ProcessSessions", "CustomerAddress_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_customeraddress
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_customeraddress")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_customeraddress
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_customeraddress", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_customeraddress", "userentityinstancedata_customeraddress", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Account_CustomerAddress
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_CustomerAddress")]
		public Xrm.Account Account_CustomerAddress
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("Account_CustomerAddress", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("Account_CustomerAddress", "Account_CustomerAddress", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Contact_CustomerAddress
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_CustomerAddress")]
		public Xrm.Contact Contact_CustomerAddress
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("Contact_CustomerAddress", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("Contact_CustomerAddress", "Contact_CustomerAddress", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_customeraddress_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_customeraddress_createdonbehalfby")]
		public Xrm.SystemUser lk_customeraddress_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_customeraddress_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_customeraddress_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_customeraddress_modifiedonbehalfby")]
		public Xrm.SystemUser lk_customeraddress_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_customeraddress_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_customeraddressbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_customeraddressbase_createdby")]
		public Xrm.SystemUser lk_customeraddressbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_customeraddressbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_customeraddressbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_customeraddressbase_modifiedby")]
		public Xrm.SystemUser lk_customeraddressbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_customeraddressbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_CustomerAddress
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_CustomerAddress")]
		public Xrm.TransactionCurrency TransactionCurrency_CustomerAddress
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_CustomerAddress", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_CustomerAddress", "TransactionCurrency_CustomerAddress", null, value);
			}
		}
	}
	
	/// <summary>
	/// Relacja między kontem lub kontaktem a szansą sprzedaży.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("customeropportunityrole")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("CustomerOpportunityRoleSet")]
	public partial class CustomerOpportunityRole : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public CustomerOpportunityRole() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "customeropportunityrole";
		
		public const int EntityTypeCode = 4503;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył relację z szansą sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia relacji z szansą sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który utworzył rolę szansy sprzedaży klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator klienta dla relacji z szansą sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		public Microsoft.Xrm.Client.CrmEntityReference CustomerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("customerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("CustomerId", "customerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator relacji z szansą sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customeropportunityroleid")]
		public System.Nullable<System.Guid> CustomerOpportunityRoleId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("customeropportunityroleid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("CustomerOpportunityRoleId", "customeropportunityroleid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customeropportunityroleid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.CustomerOpportunityRoleId = value;
			}
		}
		
		/// <summary>
		/// Opis relacji z szansą sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował relację z szansą sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji relacji z szansą sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który jako ostatni zmodyfikował rolę szansy sprzedaży klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator szansy sprzedaży dla relacji z szansą sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("opportunityid")]
		public Microsoft.Xrm.Client.CrmEntityReference OpportunityId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("opportunityid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OpportunityId", "opportunityid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator roli klienta w ramach szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("opportunityroleid")]
		public Microsoft.Xrm.Client.CrmEntityReference OpportunityRoleId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("opportunityroleid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OpportunityRoleId", "opportunityroleid", value);
			}
		}
		
		/// <summary>
		/// Stan szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("opportunitystatecode")]
		public System.Nullable<int> OpportunityStateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("opportunitystatecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("opportunitystatuscode")]
		public System.Nullable<int> OpportunityStatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("opportunitystatuscode");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, do którego należy rola szansy sprzedaży klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, do której należy rola szansy sprzedaży klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, do którego należy rola szansy sprzedaży klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, do którego należy rola szansy sprzedaży klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Numer wersji roli szansy sprzedaży klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N CustomerOpportunityRole_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CustomerOpportunityRole_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> CustomerOpportunityRole_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("CustomerOpportunityRole_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("CustomerOpportunityRole_AsyncOperations", "CustomerOpportunityRole_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CustomerOpportunityRole_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CustomerOpportunityRole_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> CustomerOpportunityRole_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("CustomerOpportunityRole_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("CustomerOpportunityRole_BulkDeleteFailures", "CustomerOpportunityRole_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CustomerOpportunityRole_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CustomerOpportunityRole_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> CustomerOpportunityRole_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("CustomerOpportunityRole_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("CustomerOpportunityRole_ProcessSessions", "CustomerOpportunityRole_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_customeropportunityrole
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_customeropportunityrole")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_customeropportunityrole
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_customeropportunityrole", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_customeropportunityrole", "userentityinstancedata_customeropportunityrole", null, value);
			}
		}
		
		/// <summary>
		/// N:1 account_customer_opportunity_roles
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("account_customer_opportunity_roles")]
		public Xrm.Account account_customer_opportunity_roles
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("account_customer_opportunity_roles", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("account_customer_opportunity_roles", "account_customer_opportunity_roles", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_customer_opportunity_roles
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_customer_opportunity_roles")]
		public Xrm.BusinessUnit business_customer_opportunity_roles
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_customer_opportunity_roles", null);
			}
		}
		
		/// <summary>
		/// N:1 contact_customer_opportunity_roles
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contact_customer_opportunity_roles")]
		public Xrm.Contact contact_customer_opportunity_roles
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("contact_customer_opportunity_roles", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("contact_customer_opportunity_roles", "contact_customer_opportunity_roles", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_customeropportunityrole_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_customeropportunityrole_createdby")]
		public Xrm.SystemUser lk_customeropportunityrole_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_customeropportunityrole_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_customeropportunityrole_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_customeropportunityrole_createdonbehalfby")]
		public Xrm.SystemUser lk_customeropportunityrole_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_customeropportunityrole_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_customeropportunityrole_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_customeropportunityrole_modifiedby")]
		public Xrm.SystemUser lk_customeropportunityrole_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_customeropportunityrole_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_customeropportunityrole_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_customeropportunityrole_modifiedonbehalfby")]
		public Xrm.SystemUser lk_customeropportunityrole_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_customeropportunityrole_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 opportunity_customer_opportunity_roles
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("opportunityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunity_customer_opportunity_roles")]
		public Xrm.Opportunity opportunity_customer_opportunity_roles
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Opportunity>("opportunity_customer_opportunity_roles", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Opportunity>("opportunity_customer_opportunity_roles", "opportunity_customer_opportunity_roles", null, value);
			}
		}
		
		/// <summary>
		/// N:1 relationship_role_customer_opportunity_roles
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("opportunityroleid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("relationship_role_customer_opportunity_roles")]
		public Xrm.RelationshipRole relationship_role_customer_opportunity_roles
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RelationshipRole>("relationship_role_customer_opportunity_roles", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.RelationshipRole>("relationship_role_customer_opportunity_roles", "relationship_role_customer_opportunity_roles", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_customer_opportunity_roles
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_customer_opportunity_roles")]
		public Xrm.Team team_customer_opportunity_roles
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_customer_opportunity_roles", null);
			}
		}
		
		/// <summary>
		/// N:1 user_customer_opportunity_roles
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_customer_opportunity_roles")]
		public Xrm.SystemUser user_customer_opportunity_roles
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_customer_opportunity_roles", null);
			}
		}
	}
	
	/// <summary>
	/// Relacja między klientem a partnerem, w której każdy może być kontem lub kontaktem.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("customerrelationship")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("CustomerRelationshipSet")]
	public partial class CustomerRelationship : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public CustomerRelationship() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "customerrelationship";
		
		public const int EntityTypeCode = 4502;
		
		/// <summary>
		/// Unikatowy identyfikator relacji odwrotnej dla relacji z klientem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("converserelationshipid")]
		public Microsoft.Xrm.Client.CrmEntityReference ConverseRelationshipId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("converserelationshipid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ConverseRelationshipId", "converserelationshipid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył relację z klientem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia relacji z klientem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który utworzył relację z klientem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator podstawowego klienta w relacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		public Microsoft.Xrm.Client.CrmEntityReference CustomerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("customerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("CustomerId", "customerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator relacji z klientem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerrelationshipid")]
		public System.Nullable<System.Guid> CustomerRelationshipId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("customerrelationshipid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("CustomerRelationshipId", "customerrelationshipid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerrelationshipid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.CustomerRelationshipId = value;
			}
		}
		
		/// <summary>
		/// Opis klienta i jego roli w tej relacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerroledescription")]
		public string CustomerRoleDescription
		{
			get
			{
				return this.GetAttributeValue<string>("customerroledescription");
			}
			set
			{
				this.SetAttributeValue<string>("CustomerRoleDescription", "customerroledescription", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator roli klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerroleid")]
		public Microsoft.Xrm.Client.CrmEntityReference CustomerRoleId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("customerroleid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("CustomerRoleId", "customerroleid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował relację z klientem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji relacji z klientem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który jako ostatni zmodyfikował relację z klientem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, który jest właścicielem relacji z klientem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, do której należy relacja z klientem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, do którego należy relacja z klientem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, do którego należy relacja z klientem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator pomocniczego klienta w relacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("partnerid")]
		public Microsoft.Xrm.Client.CrmEntityReference PartnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("partnerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("PartnerId", "partnerid", value);
			}
		}
		
		/// <summary>
		/// Opis klienta i jego roli w tej relacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("partnerroledescription")]
		public string PartnerRoleDescription
		{
			get
			{
				return this.GetAttributeValue<string>("partnerroledescription");
			}
			set
			{
				this.SetAttributeValue<string>("PartnerRoleDescription", "partnerroledescription", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator roli w relacji drugiego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("partnerroleid")]
		public Microsoft.Xrm.Client.CrmEntityReference PartnerRoleId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("partnerroleid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("PartnerRoleId", "partnerroleid", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N customer_relationship_converse_relationship
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("customer_relationship_converse_relationship", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerRelationship> Referencedcustomer_relationship_converse_relationship
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerRelationship>("customer_relationship_converse_relationship", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerRelationship>("Referencedcustomer_relationship_converse_relationship", "customer_relationship_converse_relationship", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// 1:N CustomerRelationship_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CustomerRelationship_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> CustomerRelationship_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("CustomerRelationship_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("CustomerRelationship_AsyncOperations", "CustomerRelationship_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CustomerRelationship_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CustomerRelationship_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> CustomerRelationship_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("CustomerRelationship_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("CustomerRelationship_BulkDeleteFailures", "CustomerRelationship_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CustomerRelationship_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CustomerRelationship_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> CustomerRelationship_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("CustomerRelationship_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("CustomerRelationship_ProcessSessions", "CustomerRelationship_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_customerrelationship
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_customerrelationship")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_customerrelationship
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_customerrelationship", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_customerrelationship", "userentityinstancedata_customerrelationship", null, value);
			}
		}
		
		/// <summary>
		/// N:1 account_customer_relationship_customer
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("account_customer_relationship_customer")]
		public Xrm.Account account_customer_relationship_customer
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("account_customer_relationship_customer", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("account_customer_relationship_customer", "account_customer_relationship_customer", null, value);
			}
		}
		
		/// <summary>
		/// N:1 account_customer_relationship_partner
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("partnerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("account_customer_relationship_partner")]
		public Xrm.Account account_customer_relationship_partner
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("account_customer_relationship_partner", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("account_customer_relationship_partner", "account_customer_relationship_partner", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_customer_relationship
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_customer_relationship")]
		public Xrm.BusinessUnit business_unit_customer_relationship
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_customer_relationship", null);
			}
		}
		
		/// <summary>
		/// N:1 contact_customer_relationship_customer
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contact_customer_relationship_customer")]
		public Xrm.Contact contact_customer_relationship_customer
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("contact_customer_relationship_customer", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("contact_customer_relationship_customer", "contact_customer_relationship_customer", null, value);
			}
		}
		
		/// <summary>
		/// N:1 contact_customer_relationship_partner
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("partnerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contact_customer_relationship_partner")]
		public Xrm.Contact contact_customer_relationship_partner
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("contact_customer_relationship_partner", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("contact_customer_relationship_partner", "contact_customer_relationship_partner", null, value);
			}
		}
		
		/// <summary>
		/// N:1 createdby_customer_relationship
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_customer_relationship")]
		public Xrm.SystemUser createdby_customer_relationship
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("createdby_customer_relationship", null);
			}
		}
		
		/// <summary>
		/// N:1 createdonbehalfby_customer_relationship
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdonbehalfby_customer_relationship")]
		public Xrm.SystemUser createdonbehalfby_customer_relationship
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("createdonbehalfby_customer_relationship", null);
			}
		}
		
		/// <summary>
		/// N:1 customer_relationship_converse_relationship
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("converserelationshipid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("customer_relationship_converse_relationship", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.CustomerRelationship Referencingcustomer_relationship_converse_relationship
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CustomerRelationship>("customer_relationship_converse_relationship", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CustomerRelationship>("Referencingcustomer_relationship_converse_relationship", "customer_relationship_converse_relationship", Microsoft.Xrm.Sdk.EntityRole.Referencing, value);
			}
		}
		
		/// <summary>
		/// N:1 modifiedby_customer_relationship
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_customer_relationship")]
		public Xrm.SystemUser modifiedby_customer_relationship
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("modifiedby_customer_relationship", null);
			}
		}
		
		/// <summary>
		/// N:1 modifiedonbehalfby_customer_relationship
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedonbehalfby_customer_relationship")]
		public Xrm.SystemUser modifiedonbehalfby_customer_relationship
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("modifiedonbehalfby_customer_relationship", null);
			}
		}
		
		/// <summary>
		/// N:1 relationship_role_customer_role
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerroleid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("relationship_role_customer_role")]
		public Xrm.RelationshipRole relationship_role_customer_role
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RelationshipRole>("relationship_role_customer_role", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.RelationshipRole>("relationship_role_customer_role", "relationship_role_customer_role", null, value);
			}
		}
		
		/// <summary>
		/// N:1 relationship_role_partner_role
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("partnerroleid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("relationship_role_partner_role")]
		public Xrm.RelationshipRole relationship_role_partner_role
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RelationshipRole>("relationship_role_partner_role", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.RelationshipRole>("relationship_role_partner_role", "relationship_role_partner_role", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_customer_relationship
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_customer_relationship")]
		public Xrm.Team team_customer_relationship
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_customer_relationship", null);
			}
		}
		
		/// <summary>
		/// N:1 user_customer_relationship
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_customer_relationship")]
		public Xrm.SystemUser user_customer_relationship
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_customer_relationship", null);
			}
		}
	}
	
	/// <summary>
	/// Zależność składnika w programie CRM.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("dependency")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("DependencySet")]
	public partial class Dependency : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Dependency() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "dependency";
		
		public const int EntityTypeCode = 7105;
		
		/// <summary>
		/// Unikatowy identyfikator zależności.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("dependencyid")]
		public System.Nullable<System.Guid> DependencyId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("dependencyid");
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("dependencyid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				base.Id = value;
			}
		}
		
		/// <summary>
		/// Typ zależności.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("dependencytype")]
		public System.Nullable<int> DependencyType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("dependencytype");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("dependentcomponentbasesolutionid")]
		public System.Nullable<System.Guid> DependentComponentBaseSolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("dependentcomponentbasesolutionid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator węzła składnika zależnego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("dependentcomponentnodeid")]
		public Microsoft.Xrm.Client.CrmEntityReference DependentComponentNodeId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("dependentcomponentnodeid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("dependentcomponentobjectid")]
		public System.Nullable<System.Guid> DependentComponentObjectId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("dependentcomponentobjectid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("dependentcomponentparentid")]
		public System.Nullable<System.Guid> DependentComponentParentId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("dependentcomponentparentid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("dependentcomponenttype")]
		public System.Nullable<int> DependentComponentType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("dependentcomponenttype");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("requiredcomponentbasesolutionid")]
		public System.Nullable<System.Guid> RequiredComponentBaseSolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("requiredcomponentbasesolutionid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator węzła składnika wymaganego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("requiredcomponentnodeid")]
		public Microsoft.Xrm.Client.CrmEntityReference RequiredComponentNodeId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("requiredcomponentnodeid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("requiredcomponentobjectid")]
		public System.Nullable<System.Guid> RequiredComponentObjectId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("requiredcomponentobjectid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("requiredcomponentparentid")]
		public System.Nullable<System.Guid> RequiredComponentParentId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("requiredcomponentparentid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("requiredcomponenttype")]
		public System.Nullable<int> RequiredComponentType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("requiredcomponenttype");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_dependency
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_dependency")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_dependency
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_dependency", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_dependency", "userentityinstancedata_dependency", null, value);
			}
		}
	}
	
	/// <summary>
	/// Obniżka ceny produktu lub usługi w stosunku do cennika dokonana na podstawie zakupionej ilości.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("discount")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("DiscountSet")]
	public partial class Discount : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Discount() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "discount";
		
		public const int EntityTypeCode = 1013;
		
		/// <summary>
		/// Kwota rabatu określona w formie procentowej lub jako wartość pieniężna.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("amount")]
		public System.Nullable<decimal> Amount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("amount");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Amount", "amount", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik kwoty rabatu w walucie podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("amount_base")]
		public System.Nullable<decimal> Amount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("amount_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył rabat.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia rabatu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który utworzył rabat.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator rabatu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("discountid")]
		public System.Nullable<System.Guid> DiscountId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("discountid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("DiscountId", "discountid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("discountid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.DiscountId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator listy rabatów skojarzonej z danym rabatem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("discounttypeid")]
		public Microsoft.Xrm.Client.CrmEntityReference DiscountTypeId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("discounttypeid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("DiscountTypeId", "discounttypeid", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z rabatem w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Górne ograniczenie zakresu ilości, dla którego może mieć zastosowanie określony rabat.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("highquantity")]
		public System.Nullable<decimal> HighQuantity
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("highquantity");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("HighQuantity", "highquantity", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy rabat jest naliczany w formie procentowej, czy jako wartość pieniężna.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isamounttype")]
		public System.Nullable<bool> IsAmountType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isamounttype");
			}
		}
		
		/// <summary>
		/// Dolne ograniczenie zakresu ilości, dla którego może mieć zastosowanie określony rabat.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("lowquantity")]
		public System.Nullable<decimal> LowQuantity
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("lowquantity");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("LowQuantity", "lowquantity", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował rabat.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji rabatu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który jako ostatni zmodyfikował rabat.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z rabatem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public System.Nullable<System.Guid> OrganizationId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("organizationid");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Procentowa wartość rabatu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("percentage")]
		public System.Nullable<decimal> Percentage
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("percentage");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("Percentage", "percentage", value);
			}
		}
		
		/// <summary>
		/// Przyczyna stanu rabatu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		[System.ObsoleteAttribute()]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z rabatem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
		}
		
		/// <summary>
		/// Numer wersji rabatu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N Discount_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Discount_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Discount_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Discount_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Discount_AsyncOperations", "Discount_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Discount_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Discount_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Discount_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Discount_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Discount_BulkDeleteFailures", "Discount_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Discount_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Discount_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Discount_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Discount_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Discount_ProcessSessions", "Discount_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_discount
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_discount")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_discount
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_discount", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_discount", "userentityinstancedata_discount", null, value);
			}
		}
		
		/// <summary>
		/// N:1 discount_type_discounts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("discounttypeid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("discount_type_discounts")]
		public Xrm.DiscountType discount_type_discounts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.DiscountType>("discount_type_discounts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.DiscountType>("discount_type_discounts", "discount_type_discounts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_discount_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_discount_createdonbehalfby")]
		public Xrm.SystemUser lk_discount_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_discount_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_discount_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_discount_modifiedonbehalfby")]
		public Xrm.SystemUser lk_discount_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_discount_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_discountbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_discountbase_createdby")]
		public Xrm.SystemUser lk_discountbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_discountbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_discountbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_discountbase_modifiedby")]
		public Xrm.SystemUser lk_discountbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_discountbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 transactioncurrency_discount
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_discount")]
		public Xrm.TransactionCurrency transactioncurrency_discount
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_discount", null);
			}
		}
	}
	
	/// <summary>
	/// Typ rabatu określony jako wartość procentowa lub kwota.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("discounttype")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("DiscountTypeSet")]
	public partial class DiscountType : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public DiscountType() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "discounttype";
		
		public const int EntityTypeCode = 1080;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył listę rabatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia listy rabatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który utworzył listę rabatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis listy rabatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator listy rabatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("discounttypeid")]
		public System.Nullable<System.Guid> DiscountTypeId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("discounttypeid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("DiscountTypeId", "discounttypeid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("discounttypeid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.DiscountTypeId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy kwoty na liście rabatów są określone jako wartości pieniężne, czy procentowe.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isamounttype")]
		public System.Nullable<bool> IsAmountType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isamounttype");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsAmountType", "isamounttype", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował listę rabatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji listy rabatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który jako ostatni zmodyfikował typ rabatu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa listy rabatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z listą rabatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Stan listy rabatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu listy rabatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzony z typem rabatu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Numer wersji typu rabatu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N discount_type_discounts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("discount_type_discounts")]
		public System.Collections.Generic.IEnumerable<Xrm.Discount> discount_type_discounts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Discount>("discount_type_discounts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Discount>("discount_type_discounts", "discount_type_discounts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N discount_type_product_price_levels
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("discount_type_product_price_levels")]
		public System.Collections.Generic.IEnumerable<Xrm.ProductPriceLevel> discount_type_product_price_levels
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProductPriceLevel>("discount_type_product_price_levels", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProductPriceLevel>("discount_type_product_price_levels", "discount_type_product_price_levels", null, value);
			}
		}
		
		/// <summary>
		/// 1:N DiscountType_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("DiscountType_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> DiscountType_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("DiscountType_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("DiscountType_AsyncOperations", "DiscountType_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N DiscountType_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("DiscountType_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> DiscountType_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("DiscountType_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("DiscountType_BulkDeleteFailures", "DiscountType_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N DiscountType_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("DiscountType_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> DiscountType_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("DiscountType_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("DiscountType_ProcessSessions", "DiscountType_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_discounttype
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_discounttype")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_discounttype
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_discounttype", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_discounttype", "userentityinstancedata_discounttype", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_discounttype_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_discounttype_createdonbehalfby")]
		public Xrm.SystemUser lk_discounttype_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_discounttype_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_discounttype_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_discounttype_modifiedonbehalfby")]
		public Xrm.SystemUser lk_discounttype_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_discounttype_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_discounttypebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_discounttypebase_createdby")]
		public Xrm.SystemUser lk_discounttypebase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_discounttypebase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_discounttypebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_discounttypebase_modifiedby")]
		public Xrm.SystemUser lk_discounttypebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_discounttypebase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_discount_types
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_discount_types")]
		public Xrm.Organization organization_discount_types
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_discount_types", null);
			}
		}
		
		/// <summary>
		/// N:1 transactioncurrency_discounttype
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_discounttype")]
		public Xrm.TransactionCurrency transactioncurrency_discounttype
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_discounttype", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_discounttype", "transactioncurrency_discounttype", null, value);
			}
		}
	}
	
	/// <summary>
	/// Niestandardowe komunikaty dotyczące encji, której nazwa została zmieniona.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("displaystring")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("DisplayStringSet")]
	public partial class DisplayString : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public DisplayString() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "displaystring";
		
		public const int EntityTypeCode = 4102;
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył ciąg wyświetlany.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia ciągu wyświetlanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który utworzył ciąg wyświetlany.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Komentarz do niestandardowego ciągu wyświetlanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customcomment")]
		public string CustomComment
		{
			get
			{
				return this.GetAttributeValue<string>("customcomment");
			}
			set
			{
				this.SetAttributeValue<string>("CustomComment", "customcomment", value);
			}
		}
		
		/// <summary>
		/// Niestandardowy ciąg wyświetlany.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customdisplaystring")]
		public string CustomDisplayString
		{
			get
			{
				return this.GetAttributeValue<string>("customdisplaystring");
			}
			set
			{
				this.SetAttributeValue<string>("CustomDisplayString", "customdisplaystring", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator ciągu wyświetlanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("displaystringid")]
		public System.Nullable<System.Guid> DisplayStringId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("displaystringid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("DisplayStringId", "displaystringid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("displaystringid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.DisplayStringId = value;
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("displaystringidunique")]
		public System.Nullable<System.Guid> DisplayStringIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("displaystringidunique");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("displaystringkey")]
		public string DisplayStringKey
		{
			get
			{
				return this.GetAttributeValue<string>("displaystringkey");
			}
		}
		
		/// <summary>
		/// Parametry używane do formatowania ciągu wyświetlanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("formatparameters")]
		public System.Nullable<int> FormatParameters
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("formatparameters");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Kod języka ciągu wyświetlanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("languagecode")]
		public System.Nullable<int> LanguageCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("languagecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("LanguageCode", "languagecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował ciąg wyświetlany.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji ciągu wyświetlanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który jako ostatni zmodyfikował ciąg wyświetlany.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z ciągiem wyświetlanym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// Opublikowany ciąg wyświetlany.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("publisheddisplaystring")]
		public string PublishedDisplayString
		{
			get
			{
				return this.GetAttributeValue<string>("publisheddisplaystring");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N DisplayString_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("DisplayString_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> DisplayString_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("DisplayString_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("DisplayString_AsyncOperations", "DisplayString_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N DisplayString_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("DisplayString_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> DisplayString_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("DisplayString_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("DisplayString_BulkDeleteFailures", "DisplayString_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_displaystring
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_displaystring")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_displaystring
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_displaystring", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_displaystring", "userentityinstancedata_displaystring", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_DisplayStringbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_DisplayStringbase_createdby")]
		public Xrm.SystemUser lk_DisplayStringbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_DisplayStringbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_DisplayStringbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_DisplayStringbase_createdonbehalfby")]
		public Xrm.SystemUser lk_DisplayStringbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_DisplayStringbase_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_DisplayStringbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_DisplayStringbase_modifiedby")]
		public Xrm.SystemUser lk_DisplayStringbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_DisplayStringbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_DisplayStringbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_DisplayStringbase_modifiedonbehalfby")]
		public Xrm.SystemUser lk_DisplayStringbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_DisplayStringbase_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_custom_displaystrings
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_custom_displaystrings")]
		public Xrm.Organization organization_custom_displaystrings
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_custom_displaystrings", null);
			}
		}
	}
	
	/// <summary>
	/// Potencjalny zduplikowany rekord.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("duplicaterecord")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("DuplicateRecordSet")]
	public partial class DuplicateRecord : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public DuplicateRecord() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "duplicaterecord";
		
		public const int EntityTypeCode = 4415;
		
		/// <summary>
		/// Unikatowy identyfikator zadania systemowego, podczas którego został utworzony ten rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("asyncoperationid")]
		public Microsoft.Xrm.Client.CrmEntityReference AsyncOperationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("asyncoperationid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator rekordu podstawowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		public Microsoft.Xrm.Client.CrmEntityReference BaseRecordId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("baserecordid");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia zduplikowanego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zduplikowanego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicateid")]
		public System.Nullable<System.Guid> DuplicateId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("duplicateid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("DuplicateId", "duplicateid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicateid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.DuplicateId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator potencjalnego zduplikowanego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		public Microsoft.Xrm.Client.CrmEntityReference DuplicateRecordId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("duplicaterecordid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator reguły duplikatów, na podstawie której odnaleziono ten rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicateruleid")]
		public Microsoft.Xrm.Client.CrmEntityReference DuplicateRuleId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("duplicateruleid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, który jest właścicielem zduplikowanego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, do której należy zduplikowany rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public System.Nullable<System.Guid> OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, do którego należy zduplikowany rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public System.Nullable<System.Guid> OwningUser
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owninguser");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_duplicaterecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_duplicaterecord")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_duplicaterecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_duplicaterecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_duplicaterecord", "userentityinstancedata_duplicaterecord", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Account_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_DuplicateBaseRecord")]
		public Xrm.Account Account_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("Account_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Account_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_DuplicateMatchingRecord")]
		public Xrm.Account Account_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("Account_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Appointment_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Appointment_DuplicateBaseRecord")]
		public Xrm.Appointment Appointment_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Appointment>("Appointment_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Appointment_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Appointment_DuplicateMatchingRecord")]
		public Xrm.Appointment Appointment_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Appointment>("Appointment_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 AsyncOperation_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("asyncoperationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("AsyncOperation_DuplicateBaseRecord")]
		public Xrm.AsyncOperation AsyncOperation_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.AsyncOperation>("AsyncOperation_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Campaign_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_DuplicateBaseRecord")]
		public Xrm.Campaign Campaign_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Campaign>("Campaign_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Campaign_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_DuplicateMatchingRecord")]
		public Xrm.Campaign Campaign_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Campaign>("Campaign_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 CampaignResponse_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignResponse_DuplicateBaseRecord")]
		public Xrm.CampaignResponse CampaignResponse_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignResponse>("CampaignResponse_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 CampaignResponse_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignResponse_DuplicateMatchingRecord")]
		public Xrm.CampaignResponse CampaignResponse_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignResponse>("CampaignResponse_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Competitor_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Competitor_DuplicateBaseRecord")]
		public Xrm.Competitor Competitor_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Competitor>("Competitor_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Competitor_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Competitor_DuplicateMatchingRecord")]
		public Xrm.Competitor Competitor_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Competitor>("Competitor_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Contact_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_DuplicateBaseRecord")]
		public Xrm.Contact Contact_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("Contact_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Contact_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_DuplicateMatchingRecord")]
		public Xrm.Contact Contact_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("Contact_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Contract_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_DuplicateBaseRecord")]
		public Xrm.Contract Contract_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contract>("Contract_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Contract_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_DuplicateMatchingRecord")]
		public Xrm.Contract Contract_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contract>("Contract_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 DuplicateRule_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicateruleid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("DuplicateRule_DuplicateBaseRecord")]
		public Xrm.DuplicateRule DuplicateRule_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.DuplicateRule>("DuplicateRule_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Email_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Email_DuplicateBaseRecord")]
		public Xrm.Email Email_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Email>("Email_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Email_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Email_DuplicateMatchingRecord")]
		public Xrm.Email Email_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Email>("Email_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Equipment_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Equipment_DuplicateBaseRecord")]
		public Xrm.Equipment Equipment_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Equipment>("Equipment_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Equipment_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Equipment_DuplicateMatchingRecord")]
		public Xrm.Equipment Equipment_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Equipment>("Equipment_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Fax_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Fax_DuplicateBaseRecord")]
		public Xrm.Fax Fax_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Fax>("Fax_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Fax_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Fax_DuplicateMatchingRecord")]
		public Xrm.Fax Fax_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Fax>("Fax_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Incident_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_DuplicateBaseRecord")]
		public Xrm.Incident Incident_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Incident>("Incident_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Incident_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_DuplicateMatchingRecord")]
		public Xrm.Incident Incident_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Incident>("Incident_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 KbArticle_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("KbArticle_DuplicateBaseRecord")]
		public Xrm.KbArticle KbArticle_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.KbArticle>("KbArticle_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 KbArticle_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("KbArticle_DuplicateMatchingRecord")]
		public Xrm.KbArticle KbArticle_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.KbArticle>("KbArticle_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Lead_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_DuplicateBaseRecord")]
		public Xrm.Lead Lead_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Lead>("Lead_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Lead_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_DuplicateMatchingRecord")]
		public Xrm.Lead Lead_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Lead>("Lead_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Letter_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Letter_DuplicateBaseRecord")]
		public Xrm.Letter Letter_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Letter>("Letter_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Letter_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Letter_DuplicateMatchingRecord")]
		public Xrm.Letter Letter_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Letter>("Letter_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 List_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("List_DuplicateBaseRecord")]
		public Xrm.List List_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.List>("List_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 List_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("List_DuplicateMatchingRecord")]
		public Xrm.List List_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.List>("List_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postalbum_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_DuplicateBaseRecord")]
		public Xrm.msdyn_PostAlbum msdyn_postalbum_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postalbum_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_DuplicateMatchingRecord")]
		public Xrm.msdyn_PostAlbum msdyn_postalbum_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownicy_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_DuplicateBaseRecord")]
		public Xrm.new_uzytkownicy new_uzytkownicy_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownicy_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_DuplicateMatchingRecord")]
		public Xrm.new_uzytkownicy new_uzytkownicy_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownikkontakty_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_DuplicateBaseRecord")]
		public Xrm.new_uzytkownikkontakty new_uzytkownikkontakty_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownikkontakty_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_DuplicateMatchingRecord")]
		public Xrm.new_uzytkownikkontakty new_uzytkownikkontakty_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 new_zainteresowanie_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_DuplicateBaseRecord")]
		public Xrm.new_zainteresowanie new_zainteresowanie_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 new_zainteresowanie_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_DuplicateMatchingRecord")]
		public Xrm.new_zainteresowanie new_zainteresowanie_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Opportunity_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_DuplicateBaseRecord")]
		public Xrm.Opportunity Opportunity_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Opportunity>("Opportunity_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Opportunity_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_DuplicateMatchingRecord")]
		public Xrm.Opportunity Opportunity_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Opportunity>("Opportunity_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 PhoneCall_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("PhoneCall_DuplicateBaseRecord")]
		public Xrm.PhoneCall PhoneCall_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PhoneCall>("PhoneCall_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 PhoneCall_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("PhoneCall_DuplicateMatchingRecord")]
		public Xrm.PhoneCall PhoneCall_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PhoneCall>("PhoneCall_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Queue_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Queue_DuplicateBaseRecord")]
		public Xrm.Queue Queue_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Queue>("Queue_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Queue_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Queue_DuplicateMatchingRecord")]
		public Xrm.Queue Queue_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Queue>("Queue_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Quote_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_DuplicateBaseRecord")]
		public Xrm.Quote Quote_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Quote>("Quote_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Quote_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_DuplicateMatchingRecord")]
		public Xrm.Quote Quote_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Quote>("Quote_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 RecurringAppointmentMaster_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("RecurringAppointmentMaster_DuplicateBaseRecord")]
		public Xrm.RecurringAppointmentMaster RecurringAppointmentMaster_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RecurringAppointmentMaster>("RecurringAppointmentMaster_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 RecurringAppointmentMaster_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("RecurringAppointmentMaster_DuplicateMatchingRecord")]
		public Xrm.RecurringAppointmentMaster RecurringAppointmentMaster_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RecurringAppointmentMaster>("RecurringAppointmentMaster_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 ResourceGroup_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ResourceGroup_DuplicateBaseRecord")]
		public Xrm.ResourceGroup ResourceGroup_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ResourceGroup>("ResourceGroup_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 ResourceGroup_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ResourceGroup_DuplicateMatchingRecord")]
		public Xrm.ResourceGroup ResourceGroup_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ResourceGroup>("ResourceGroup_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Service_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Service_DuplicateBaseRecord")]
		public Xrm.Service Service_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Service>("Service_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Service_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Service_DuplicateMatchingRecord")]
		public Xrm.Service Service_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Service>("Service_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 SharePointDocumentLocation_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SharePointDocumentLocation_DuplicateBaseRecord")]
		public Xrm.SharePointDocumentLocation SharePointDocumentLocation_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SharePointDocumentLocation>("SharePointDocumentLocation_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 SharePointDocumentLocation_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SharePointDocumentLocation_DuplicateMatchingRecord")]
		public Xrm.SharePointDocumentLocation SharePointDocumentLocation_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SharePointDocumentLocation>("SharePointDocumentLocation_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 SharePointSite_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SharePointSite_DuplicateBaseRecord")]
		public Xrm.SharePointSite SharePointSite_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SharePointSite>("SharePointSite_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 SharePointSite_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SharePointSite_DuplicateMatchingRecord")]
		public Xrm.SharePointSite SharePointSite_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SharePointSite>("SharePointSite_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 SystemUser_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SystemUser_DuplicateBaseRecord")]
		public Xrm.SystemUser SystemUser_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("SystemUser_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 SystemUser_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SystemUser_DuplicateMatchingRecord")]
		public Xrm.SystemUser SystemUser_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("SystemUser_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Task_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Task_DuplicateBaseRecord")]
		public Xrm.Task Task_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Task>("Task_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Task_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Task_DuplicateMatchingRecord")]
		public Xrm.Task Task_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Task>("Task_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Team_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Team_DuplicateBaseRecord")]
		public Xrm.Team Team_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("Team_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Team_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Team_DuplicateMatchingRecord")]
		public Xrm.Team Team_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("Team_DuplicateMatchingRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Territory_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baserecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Territory_DuplicateBaseRecord")]
		public Xrm.Territory Territory_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Territory>("Territory_DuplicateBaseRecord", null);
			}
		}
		
		/// <summary>
		/// N:1 Territory_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicaterecordid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Territory_DuplicateMatchingRecord")]
		public Xrm.Territory Territory_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Territory>("Territory_DuplicateMatchingRecord", null);
			}
		}
	}
	
	/// <summary>
	/// Reguła używana do identyfikowania potencjalnych duplikatów.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("duplicaterule")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("DuplicateRuleSet")]
	public partial class DuplicateRule : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public DuplicateRule() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "duplicaterule";
		
		public const int EntityTypeCode = 4414;
		
		/// <summary>
		/// Tabela bazy danych, w której są przechowywane kody dopasowania dla typu rekordów analizowanego pod kątem występowania potencjalnych duplikatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baseentitymatchcodetable")]
		public string BaseEntityMatchCodeTable
		{
			get
			{
				return this.GetAttributeValue<string>("baseentitymatchcodetable");
			}
		}
		
		/// <summary>
		/// Typ rekordu analizowanego pod kątem występowania potencjalnych duplikatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baseentityname")]
		public string BaseEntityName
		{
			get
			{
				return this.GetAttributeValue<string>("baseentityname");
			}
			set
			{
				this.SetAttributeValue<string>("BaseEntityName", "baseentityname", value);
			}
		}
		
		/// <summary>
		/// Typ rekordu analizowanego pod kątem występowania potencjalnych duplikatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baseentitytypecode")]
		public System.Nullable<int> BaseEntityTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("baseentitytypecode");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył regułę wykrywania duplikatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia reguły wykrywania duplikatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który utworzył regułę wykrywania duplikatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis reguły wykrywania duplikatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator reguły wykrywania duplikatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicateruleid")]
		public System.Nullable<System.Guid> DuplicateRuleId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("duplicateruleid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("DuplicateRuleId", "duplicateruleid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicateruleid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.DuplicateRuleId = value;
			}
		}
		
		/// <summary>
		/// Określa, czy oflagować nieaktywne rekordy jako duplikaty
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("excludeinactiverecords")]
		public System.Nullable<bool> ExcludeInactiveRecords
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("excludeinactiverecords");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("ExcludeInactiveRecords", "excludeinactiverecords", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy w operatorze jest uwzględniana wielkość liter.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscasesensitive")]
		public System.Nullable<bool> IsCaseSensitive
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("iscasesensitive");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsCaseSensitive", "iscasesensitive", value);
			}
		}
		
		/// <summary>
		/// Tabela bazy danych, w której są przechowywane kody dopasowania dla potencjalnych zduplikowanych rekordów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("matchingentitymatchcodetable")]
		public string MatchingEntityMatchCodeTable
		{
			get
			{
				return this.GetAttributeValue<string>("matchingentitymatchcodetable");
			}
		}
		
		/// <summary>
		/// Typ rekordów analizowanych jako potencjalne duplikaty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("matchingentityname")]
		public string MatchingEntityName
		{
			get
			{
				return this.GetAttributeValue<string>("matchingentityname");
			}
			set
			{
				this.SetAttributeValue<string>("MatchingEntityName", "matchingentityname", value);
			}
		}
		
		/// <summary>
		/// Typ rekordów analizowanych jako potencjalne duplikaty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("matchingentitytypecode")]
		public System.Nullable<int> MatchingEntityTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("matchingentitytypecode");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który wykonał ostatnią modyfikację reguły wykrywania duplikatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji reguły wykrywania duplikatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który jako ostatni zmodyfikował regułę wykrywania duplikatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa reguły wykrywania duplikatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, do którego należy reguła wykrywania duplikatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, do której należy reguła wykrywania duplikatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, do którego należy reguła wykrywania duplikatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, do którego należy reguła wykrywania duplikatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Stan reguły wykrywania duplikatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu reguły wykrywania duplikatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// 1:N DuplicateRule_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("DuplicateRule_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> DuplicateRule_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("DuplicateRule_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("DuplicateRule_Annotation", "DuplicateRule_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N DuplicateRule_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("DuplicateRule_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> DuplicateRule_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("DuplicateRule_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("DuplicateRule_DuplicateBaseRecord", "DuplicateRule_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N DuplicateRule_DuplicateRuleConditions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("DuplicateRule_DuplicateRuleConditions")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRuleCondition> DuplicateRule_DuplicateRuleConditions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRuleCondition>("DuplicateRule_DuplicateRuleConditions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRuleCondition>("DuplicateRule_DuplicateRuleConditions", "DuplicateRule_DuplicateRuleConditions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_duplicaterule
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_duplicaterule")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_duplicaterule
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_duplicaterule", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_duplicaterule", "userentityinstancedata_duplicaterule", null, value);
			}
		}
		
		/// <summary>
		/// N:1 BusinessUnit_DuplicateRules
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BusinessUnit_DuplicateRules")]
		public Xrm.BusinessUnit BusinessUnit_DuplicateRules
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("BusinessUnit_DuplicateRules", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_duplicaterule_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_duplicaterule_createdonbehalfby")]
		public Xrm.SystemUser lk_duplicaterule_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_duplicaterule_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_duplicaterule_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_duplicaterule_modifiedonbehalfby")]
		public Xrm.SystemUser lk_duplicaterule_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_duplicaterule_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_duplicaterulebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_duplicaterulebase_createdby")]
		public Xrm.SystemUser lk_duplicaterulebase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_duplicaterulebase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_duplicaterulebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_duplicaterulebase_modifiedby")]
		public Xrm.SystemUser lk_duplicaterulebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_duplicaterulebase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 SystemUser_DuplicateRules
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SystemUser_DuplicateRules")]
		public Xrm.SystemUser SystemUser_DuplicateRules
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("SystemUser_DuplicateRules", null);
			}
		}
		
		/// <summary>
		/// N:1 team_DuplicateRules
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_DuplicateRules")]
		public Xrm.Team team_DuplicateRules
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_DuplicateRules", null);
			}
		}
	}
	
	/// <summary>
	/// Warunek reguły wykrywania duplikatów.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("duplicaterulecondition")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("DuplicateRuleConditionSet")]
	public partial class DuplicateRuleCondition : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public DuplicateRuleCondition() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "duplicaterulecondition";
		
		public const int EntityTypeCode = 4416;
		
		/// <summary>
		/// Pole, które jest porównywane.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baseattributename")]
		public string BaseAttributeName
		{
			get
			{
				return this.GetAttributeValue<string>("baseattributename");
			}
			set
			{
				this.SetAttributeValue<string>("BaseAttributeName", "baseattributename", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył warunek.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia warunku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który utworzył warunek reguły wykrywania duplikatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator warunku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicateruleconditionid")]
		public System.Nullable<System.Guid> DuplicateRuleConditionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("duplicateruleconditionid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("DuplicateRuleConditionId", "duplicateruleconditionid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duplicateruleconditionid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.DuplicateRuleConditionId = value;
			}
		}
		
		/// <summary>
		/// Określa, czy wartości puste mają być traktowane jak wartości niebędące duplikatami
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ignoreblankvalues")]
		public System.Nullable<bool> IgnoreBlankValues
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ignoreblankvalues");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IgnoreBlankValues", "ignoreblankvalues", value);
			}
		}
		
		/// <summary>
		/// Pole porównywane z polem podstawowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("matchingattributename")]
		public string MatchingAttributeName
		{
			get
			{
				return this.GetAttributeValue<string>("matchingattributename");
			}
			set
			{
				this.SetAttributeValue<string>("MatchingAttributeName", "matchingattributename", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który wykonał ostatnią modyfikację warunku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji warunku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który jako ostatni zmodyfikował warunek reguły wykrywania duplikatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Operator tego warunku reguły.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("operatorcode")]
		public System.Nullable<int> OperatorCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("operatorcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("OperatorCode", "operatorcode", value);
			}
		}
		
		/// <summary>
		/// Wartość parametru N, gdy operator to Takie same pierwsze znaki lub Takie same ostatnie znaki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("operatorparam")]
		public System.Nullable<int> OperatorParam
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("operatorparam");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("OperatorParam", "operatorparam", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, który jest właścicielem warunku reguły wykrywania duplikatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, do której należy warunek.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public System.Nullable<System.Guid> OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, do którego należy warunek.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public System.Nullable<System.Guid> OwningUser
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owninguser");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obiektu, z którym jest skojarzony warunek.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		public Microsoft.Xrm.Client.CrmEntityReference RegardingObjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("regardingobjectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RegardingObjectId", "regardingobjectid", value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_duplicaterulecondition
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_duplicaterulecondition")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_duplicaterulecondition
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_duplicaterulecondition", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_duplicaterulecondition", "userentityinstancedata_duplicaterulecondition", null, value);
			}
		}
		
		/// <summary>
		/// N:1 DuplicateRule_DuplicateRuleConditions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("DuplicateRule_DuplicateRuleConditions")]
		public Xrm.DuplicateRule DuplicateRule_DuplicateRuleConditions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.DuplicateRule>("DuplicateRule_DuplicateRuleConditions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.DuplicateRule>("DuplicateRule_DuplicateRuleConditions", "DuplicateRule_DuplicateRuleConditions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_duplicaterulecondition_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_duplicaterulecondition_createdonbehalfby")]
		public Xrm.SystemUser lk_duplicaterulecondition_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_duplicaterulecondition_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_duplicaterulecondition_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_duplicaterulecondition_modifiedonbehalfby")]
		public Xrm.SystemUser lk_duplicaterulecondition_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_duplicaterulecondition_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_duplicateruleconditionbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_duplicateruleconditionbase_createdby")]
		public Xrm.SystemUser lk_duplicateruleconditionbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_duplicateruleconditionbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_duplicateruleconditionbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_duplicateruleconditionbase_modifiedby")]
		public Xrm.SystemUser lk_duplicateruleconditionbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_duplicateruleconditionbase_modifiedby", null);
			}
		}
	}
	
	/// <summary>
	/// Działanie dostarczane przy użyciu protokołów wiadomości e-mail.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("email")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("EmailSet")]
	public partial class Email : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Email() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "email";
		
		public const int EntityTypeCode = 4202;
		
		/// <summary>
		/// Unikatowy identyfikator działania dotyczącego wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public System.Nullable<System.Guid> ActivityId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("activityid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ActivityId", "activityid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ActivityId = value;
			}
		}
		
		/// <summary>
		/// Typ działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activitytypecode")]
		public string ActivityTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("activitytypecode");
			}
		}
		
		/// <summary>
		/// Czas trwania działania dotyczącego wiadomości e-mail (określony w minutach).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualdurationminutes")]
		public System.Nullable<int> ActualDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("actualdurationminutes");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ActualDurationMinutes", "actualdurationminutes", value);
			}
		}
		
		/// <summary>
		/// Czas zakończenia działania dotyczącego wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualend")]
		public System.Nullable<System.DateTime> ActualEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualEnd", "actualend", value);
			}
		}
		
		/// <summary>
		/// Czas rozpoczęcia działania dotyczącego wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualstart")]
		public System.Nullable<System.DateTime> ActualStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualStart", "actualstart", value);
			}
		}
		
		/// <summary>
		/// Adresaci kopii ukrytej (UDW).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("bcc")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> Bcc
		{
			get
			{
				return this.GetAttributeCollectionValue<Xrm.ActivityParty>("bcc");
			}
			set
			{
				this.SetAttributeCollectionValue<Xrm.ActivityParty>("Bcc", "bcc", value);
			}
		}
		
		/// <summary>
		/// Kategoria działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("category")]
		public string Category
		{
			get
			{
				return this.GetAttributeValue<string>("category");
			}
			set
			{
				this.SetAttributeValue<string>("Category", "category", value);
			}
		}
		
		/// <summary>
		/// Adresaci kopii (DW).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("cc")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> Cc
		{
			get
			{
				return this.GetAttributeCollectionValue<Xrm.ActivityParty>("cc");
			}
			set
			{
				this.SetAttributeCollectionValue<Xrm.ActivityParty>("Cc", "cc", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy tekst jest skompresowany.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("compressed")]
		public System.Nullable<bool> Compressed
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("compressed");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył działanie dotyczące wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia działania dotyczącego wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który utworzył działanie dotyczące wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Liczba podjętych prób dostarczenia wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("deliveryattempts")]
		public System.Nullable<int> DeliveryAttempts
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("deliveryattempts");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("DeliveryAttempts", "deliveryattempts", value);
			}
		}
		
		/// <summary>
		/// Wymagane potwierdzenie dostarczenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("deliveryreceiptrequested")]
		public System.Nullable<bool> DeliveryReceiptRequested
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("deliveryreceiptrequested");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DeliveryReceiptRequested", "deliveryreceiptrequested", value);
			}
		}
		
		/// <summary>
		/// Główny tekst treści wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Kierunek poczty e-mail: przychodząca lub wychodząca.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("directioncode")]
		public System.Nullable<bool> DirectionCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("directioncode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DirectionCode", "directioncode", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z wiadomością e-mail w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Nadawca wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("from")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> From
		{
			get
			{
				return this.GetAttributeCollectionValue<Xrm.ActivityParty>("from");
			}
			set
			{
				this.SetAttributeCollectionValue<Xrm.ActivityParty>("From", "from", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy działanie e-mail zostało zafakturowane jako element obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isbilled")]
		public System.Nullable<bool> IsBilled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isbilled");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsBilled", "isbilled", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy działanie ma charakter regularny, czy też jest zdarzeniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isregularactivity")]
		public System.Nullable<bool> IsRegularActivity
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isregularactivity");
			}
		}
		
		/// <summary>
		/// Wskazanie, czy wiadomość e-mail została utworzona według reguły przepływu pracy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isworkflowcreated")]
		public System.Nullable<bool> IsWorkflowCreated
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isworkflowcreated");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsWorkflowCreated", "isworkflowcreated", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator wiadomości e-mail. Używany jedynie w przypadku odbieranych wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("messageid")]
		public string MessageId
		{
			get
			{
				return this.GetAttributeValue<string>("messageid");
			}
			set
			{
				this.SetAttributeValue<string>("MessageId", "messageid", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("messageiddupcheck")]
		public System.Nullable<System.Guid> MessageIdDupCheck
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("messageiddupcheck");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("MessageIdDupCheck", "messageiddupcheck", value);
			}
		}
		
		/// <summary>
		/// Typ MIME danych wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("mimetype")]
		public string MimeType
		{
			get
			{
				return this.GetAttributeValue<string>("mimetype");
			}
			set
			{
				this.SetAttributeValue<string>("MimeType", "mimetype", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował działanie dotyczące wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji działania dotyczącego wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który jako ostatni zmodyfikował działanie dotyczące wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Powiadomienia formularza szczegółów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("notifications")]
		public System.Nullable<int> Notifications
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("notifications");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Notifications", "notifications", value);
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, który jest właścicielem działania dotyczącego wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem działania dotyczącego wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, który jest właścicielem działania dotyczącego wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem działania dotyczącego wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Kod priorytetu działania dotyczącego wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("prioritycode")]
		public System.Nullable<int> PriorityCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("prioritycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PriorityCode", "prioritycode", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, że zażądano potwierdzenia przeczytania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("readreceiptrequested")]
		public System.Nullable<bool> ReadReceiptRequested
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("readreceiptrequested");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("ReadReceiptRequested", "readreceiptrequested", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obiektu, z którym jest skojarzona wiadomość e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		public Microsoft.Xrm.Client.CrmEntityReference RegardingObjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("regardingobjectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RegardingObjectId", "regardingobjectid", value);
			}
		}
		
		/// <summary>
		/// Planowany czas trwania działania dotyczącego wiadomości e-mail (określony w minutach).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduleddurationminutes")]
		public System.Nullable<int> ScheduledDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("scheduleddurationminutes");
			}
		}
		
		/// <summary>
		/// Planowany czas zakończenia działania dotyczącego wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledend")]
		public System.Nullable<System.DateTime> ScheduledEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ScheduledEnd", "scheduledend", value);
			}
		}
		
		/// <summary>
		/// Planowany czas rozpoczęcia działania dotyczącego wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledstart")]
		public System.Nullable<System.DateTime> ScheduledStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ScheduledStart", "scheduledstart", value);
			}
		}
		
		/// <summary>
		/// Nadawca wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sender")]
		public string Sender
		{
			get
			{
				return this.GetAttributeValue<string>("sender");
			}
			set
			{
				this.SetAttributeValue<string>("Sender", "sender", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonej usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		public Microsoft.Xrm.Client.CrmEntityReference ServiceId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("serviceid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ServiceId", "serviceid", value);
			}
		}
		
		/// <summary>
		/// Stan działania dotyczącego wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu działania dotyczącego wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Podkategoria działania dotyczącego wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subcategory")]
		public string Subcategory
		{
			get
			{
				return this.GetAttributeValue<string>("subcategory");
			}
			set
			{
				this.SetAttributeValue<string>("Subcategory", "subcategory", value);
			}
		}
		
		/// <summary>
		/// Temat skojarzony z działaniem dotyczącym wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subject")]
		public string Subject
		{
			get
			{
				return this.GetAttributeValue<string>("subject");
			}
			set
			{
				this.SetAttributeValue<string>("Subject", "subject", value);
			}
		}
		
		/// <summary>
		/// Źródło dostarczania wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("submittedby")]
		public string SubmittedBy
		{
			get
			{
				return this.GetAttributeValue<string>("submittedby");
			}
			set
			{
				this.SetAttributeValue<string>("SubmittedBy", "submittedby", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Lista stron będących adresatami wiadomości e-mail oraz odwołania do rekordów adresatów, np. użytkowników i kolejek.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("to")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> To
		{
			get
			{
				return this.GetAttributeCollectionValue<Xrm.ActivityParty>("to");
			}
			set
			{
				this.SetAttributeCollectionValue<Xrm.ActivityParty>("To", "to", value);
			}
		}
		
		/// <summary>
		/// Ciąg zawierający listę adresów e-mail odpowiadających adresatom.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("torecipients")]
		public string ToRecipients
		{
			get
			{
				return this.GetAttributeValue<string>("torecipients");
			}
			set
			{
				this.SetAttributeValue<string>("ToRecipients", "torecipients", value);
			}
		}
		
		/// <summary>
		/// Numer tokenu śledzenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("trackingtoken")]
		public string TrackingToken
		{
			get
			{
				return this.GetAttributeValue<string>("trackingtoken");
			}
			set
			{
				this.SetAttributeValue<string>("TrackingToken", "trackingtoken", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z wiadomością e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N email_activity_mime_attachment
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("email_activity_mime_attachment")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityMimeAttachment> email_activity_mime_attachment
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityMimeAttachment>("email_activity_mime_attachment", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityMimeAttachment>("email_activity_mime_attachment", "email_activity_mime_attachment", null, value);
			}
		}
		
		/// <summary>
		/// 1:N email_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("email_activity_parties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> email_activity_parties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("email_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("email_activity_parties", "email_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Email_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Email_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> Email_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("Email_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("Email_Annotation", "Email_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Email_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Email_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Email_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Email_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Email_AsyncOperations", "Email_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Email_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Email_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Email_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Email_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Email_BulkDeleteFailures", "Email_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N email_campaignresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("email_campaignresponse")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignResponse> email_campaignresponse
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignResponse>("email_campaignresponse", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignResponse>("email_campaignresponse", "email_campaignresponse", null, value);
			}
		}
		
		/// <summary>
		/// 1:N email_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("email_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> email_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("email_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("email_connections1", "email_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N email_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("email_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> email_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("email_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("email_connections2", "email_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Email_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Email_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Email_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Email_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Email_DuplicateBaseRecord", "Email_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Email_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Email_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Email_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Email_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Email_DuplicateMatchingRecord", "Email_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N email_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("email_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> email_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("email_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("email_principalobjectattributeaccess", "email_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Email_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Email_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Email_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Email_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Email_ProcessSessions", "Email_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Email_QueueItem
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Email_QueueItem")]
		public System.Collections.Generic.IEnumerable<Xrm.QueueItem> Email_QueueItem
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QueueItem>("Email_QueueItem", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QueueItem>("Email_QueueItem", "Email_QueueItem", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_email
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_email")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_email
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_email", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_email", "userentityinstancedata_email", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Account_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_Emails")]
		public Xrm.Account Account_Emails
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("Account_Emails", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("Account_Emails", "Account_Emails", null, value);
			}
		}
		
		/// <summary>
		/// N:1 activity_pointer_email
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_email")]
		public Xrm.ActivityPointer activity_pointer_email
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_email", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_email", "activity_pointer_email", null, value);
			}
		}
		
		/// <summary>
		/// N:1 AsyncOperation_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("AsyncOperation_Emails")]
		public Xrm.AsyncOperation AsyncOperation_Emails
		{
			get
			{
				return this.GetRelatedEntity<Xrm.AsyncOperation>("AsyncOperation_Emails", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.AsyncOperation>("AsyncOperation_Emails", "AsyncOperation_Emails", null, value);
			}
		}
		
		/// <summary>
		/// N:1 BulkOperation_Email
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkOperation_Email")]
		public Xrm.BulkOperation BulkOperation_Email
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BulkOperation>("BulkOperation_Email", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BulkOperation>("BulkOperation_Email", "BulkOperation_Email", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_email_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_email_activities")]
		public Xrm.BusinessUnit business_unit_email_activities
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_email_activities", null);
			}
		}
		
		/// <summary>
		/// N:1 Campaign_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_Emails")]
		public Xrm.Campaign Campaign_Emails
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Campaign>("Campaign_Emails", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Campaign>("Campaign_Emails", "Campaign_Emails", null, value);
			}
		}
		
		/// <summary>
		/// N:1 CampaignActivity_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignActivity_Emails")]
		public Xrm.CampaignActivity CampaignActivity_Emails
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignActivity>("CampaignActivity_Emails", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CampaignActivity>("CampaignActivity_Emails", "CampaignActivity_Emails", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Contact_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_Emails")]
		public Xrm.Contact Contact_Emails
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("Contact_Emails", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("Contact_Emails", "Contact_Emails", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Contract_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_Emails")]
		public Xrm.Contract Contract_Emails
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contract>("Contract_Emails", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contract>("Contract_Emails", "Contract_Emails", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Incident_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_Emails")]
		public Xrm.Incident Incident_Emails
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Incident>("Incident_Emails", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Incident>("Incident_Emails", "Incident_Emails", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Invoice_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Invoice_Emails")]
		public Xrm.Invoice Invoice_Emails
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Invoice>("Invoice_Emails", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Invoice>("Invoice_Emails", "Invoice_Emails", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Lead_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_Emails")]
		public Xrm.Lead Lead_Emails
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Lead>("Lead_Emails", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Lead>("Lead_Emails", "Lead_Emails", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_email_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_email_createdby")]
		public Xrm.SystemUser lk_email_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_email_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_email_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_email_createdonbehalfby")]
		public Xrm.SystemUser lk_email_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_email_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_email_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_email_modifiedby")]
		public Xrm.SystemUser lk_email_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_email_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_email_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_email_modifiedonbehalfby")]
		public Xrm.SystemUser lk_email_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_email_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postalbum_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_Emails")]
		public Xrm.msdyn_PostAlbum msdyn_postalbum_Emails
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_Emails", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_Emails", "msdyn_postalbum_Emails", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownicy_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_Emails")]
		public Xrm.new_uzytkownicy new_uzytkownicy_Emails
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_Emails", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_Emails", "new_uzytkownicy_Emails", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownikkontakty_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_Emails")]
		public Xrm.new_uzytkownikkontakty new_uzytkownikkontakty_Emails
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_Emails", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_Emails", "new_uzytkownikkontakty_Emails", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_zainteresowanie_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_Emails")]
		public Xrm.new_zainteresowanie new_zainteresowanie_Emails
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_Emails", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_Emails", "new_zainteresowanie_Emails", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Opportunity_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_Emails")]
		public Xrm.Opportunity Opportunity_Emails
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Opportunity>("Opportunity_Emails", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Opportunity>("Opportunity_Emails", "Opportunity_Emails", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Quote_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_Emails")]
		public Xrm.Quote Quote_Emails
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Quote>("Quote_Emails", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Quote>("Quote_Emails", "Quote_Emails", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SalesOrder_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrder_Emails")]
		public Xrm.SalesOrder SalesOrder_Emails
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesOrder>("SalesOrder_Emails", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesOrder>("SalesOrder_Emails", "SalesOrder_Emails", null, value);
			}
		}
		
		/// <summary>
		/// N:1 service_emails
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_emails")]
		public Xrm.Service service_emails
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Service>("service_emails", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Service>("service_emails", "service_emails", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_email
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_email")]
		public Xrm.Team team_email
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_email", null);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_Email
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_Email")]
		public Xrm.TransactionCurrency TransactionCurrency_Email
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_Email", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_Email", "TransactionCurrency_Email", null, value);
			}
		}
		
		/// <summary>
		/// N:1 user_email
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_email")]
		public Xrm.SystemUser user_email
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_email", null);
			}
		}
	}
	
	/// <summary>
	/// Reprezentuje mapowanie dwóch pokrewnych encji, dzięki któremu dane z jednego rekordu mogą być kopiowane do formularza nowego rekordu pokrewnego.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("entitymap")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("EntityMapSet")]
	public partial class EntityMap : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public EntityMap() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "entitymap";
		
		public const int EntityTypeCode = 4600;
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył mapowanie encji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia mapowania encji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który utworzył mapowanie encji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator mapowania encji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("entitymapid")]
		public System.Nullable<System.Guid> EntityMapId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("entitymapid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("EntityMapId", "entitymapid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("entitymapid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.EntityMapId = value;
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("entitymapidunique")]
		public System.Nullable<System.Guid> EntityMapIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("entitymapidunique");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował mapowanie encji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji mapowania encji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który jako ostatni zmodyfikował mapowanie encji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji, z którą jest skojarzone mapowanie encji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// Nazwa encji źródłowej mapowania encji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sourceentityname")]
		public string SourceEntityName
		{
			get
			{
				return this.GetAttributeValue<string>("sourceentityname");
			}
			set
			{
				this.SetAttributeValue<string>("SourceEntityName", "sourceentityname", value);
			}
		}
		
		/// <summary>
		/// Nazwa encji programu Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("targetentityname")]
		public string TargetEntityName
		{
			get
			{
				return this.GetAttributeValue<string>("targetentityname");
			}
			set
			{
				this.SetAttributeValue<string>("TargetEntityName", "targetentityname", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N entity_map_attribute_maps
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("entity_map_attribute_maps")]
		public System.Collections.Generic.IEnumerable<Xrm.AttributeMap> entity_map_attribute_maps
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AttributeMap>("entity_map_attribute_maps", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AttributeMap>("entity_map_attribute_maps", "entity_map_attribute_maps", null, value);
			}
		}
		
		/// <summary>
		/// 1:N EntityMap_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("EntityMap_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> EntityMap_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("EntityMap_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("EntityMap_AsyncOperations", "EntityMap_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N EntityMap_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("EntityMap_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> EntityMap_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("EntityMap_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("EntityMap_BulkDeleteFailures", "EntityMap_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_entitymap
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_entitymap")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_entitymap
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_entitymap", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_entitymap", "userentityinstancedata_entitymap", null, value);
			}
		}
		
		/// <summary>
		/// N:1 createdby_entitymap
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_entitymap")]
		public Xrm.SystemUser createdby_entitymap
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("createdby_entitymap", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_entitymap_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_entitymap_createdonbehalfby")]
		public Xrm.SystemUser lk_entitymap_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_entitymap_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_entitymap_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_entitymap_modifiedonbehalfby")]
		public Xrm.SystemUser lk_entitymap_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_entitymap_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 modifiedby_entitymap
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_entitymap")]
		public Xrm.SystemUser modifiedby_entitymap
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("modifiedby_entitymap", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_entitymap
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_entitymap")]
		public Xrm.Organization organization_entitymap
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_entitymap", null);
			}
		}
	}
	
	/// <summary>
	/// Zasób, który może być planowany.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("equipment")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("EquipmentSet")]
	public partial class Equipment : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Equipment() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "equipment";
		
		public const int EntityTypeCode = 4000;
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonej jednostki biznesowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		public Microsoft.Xrm.Client.CrmEntityReference BusinessUnitId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("businessunitid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("BusinessUnitId", "businessunitid", value);
			}
		}
		
		/// <summary>
		/// Kalendarz obrachunkowy skojarzony z pomieszczeniem/sprzętem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("calendarid")]
		public Microsoft.Xrm.Client.CrmEntityReference CalendarId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("calendarid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("CalendarId", "calendarid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył pozycję pomieszczenia/sprzętu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia pozycji pomieszczenia/sprzętu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który utworzył sprzęt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis pomieszczenia/sprzętu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("displayinserviceviews")]
		public System.Nullable<bool> DisplayInServiceViews
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("displayinserviceviews");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DisplayInServiceViews", "displayinserviceviews", value);
			}
		}
		
		/// <summary>
		/// Adres e-mail osoby do kontaktów w sprawie korzystania z pomieszczenia/sprzętu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("emailaddress")]
		public string EMailAddress
		{
			get
			{
				return this.GetAttributeValue<string>("emailaddress");
			}
			set
			{
				this.SetAttributeValue<string>("EMailAddress", "emailaddress", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator pomieszczenia/sprzętu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("equipmentid")]
		public System.Nullable<System.Guid> EquipmentId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("equipmentid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("EquipmentId", "equipmentid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("equipmentid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.EquipmentId = value;
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej ze sprzętem w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy pomieszczenie/sprzęt są wyłączone, czy działają.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isdisabled")]
		public System.Nullable<bool> IsDisabled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isdisabled");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsDisabled", "isdisabled", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni modyfikował pomieszczenie/sprzęt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji pozycji dotyczącej pomieszczenia/sprzętu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który jako ostatni zmodyfikował sprzęt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa pomieszczenia/sprzętu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator nadrzędnej jednostki biznesowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Lokalizacja pomieszczenia/sprzętu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("siteid")]
		public Microsoft.Xrm.Client.CrmEntityReference SiteId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("siteid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("SiteId", "siteid", value);
			}
		}
		
		/// <summary>
		/// Umiejętności potrzebne do obsługi pomieszczenia/sprzętu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("skills")]
		public string Skills
		{
			get
			{
				return this.GetAttributeValue<string>("skills");
			}
			set
			{
				this.SetAttributeValue<string>("Skills", "skills", value);
			}
		}
		
		/// <summary>
		/// Lokalna strefa czasowa, w której znajdują się pomieszczenie/sprzęt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonecode")]
		public System.Nullable<int> TimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneCode", "timezonecode", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej ze sprzętem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji sprzętu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N equipment_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("equipment_accounts")]
		public System.Collections.Generic.IEnumerable<Xrm.Account> equipment_accounts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Account>("equipment_accounts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Account>("equipment_accounts", "equipment_accounts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N equipment_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("equipment_activity_parties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> equipment_activity_parties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("equipment_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("equipment_activity_parties", "equipment_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Equipment_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Equipment_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> Equipment_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("Equipment_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("Equipment_Annotation", "Equipment_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Equipment_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Equipment_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Equipment_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Equipment_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Equipment_AsyncOperations", "Equipment_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Equipment_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Equipment_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Equipment_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Equipment_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Equipment_BulkDeleteFailures", "Equipment_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N equipment_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("equipment_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> equipment_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("equipment_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("equipment_connections1", "equipment_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N equipment_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("equipment_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> equipment_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("equipment_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("equipment_connections2", "equipment_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N equipment_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("equipment_contacts")]
		public System.Collections.Generic.IEnumerable<Xrm.Contact> equipment_contacts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contact>("equipment_contacts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contact>("equipment_contacts", "equipment_contacts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Equipment_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Equipment_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Equipment_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Equipment_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Equipment_DuplicateBaseRecord", "Equipment_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Equipment_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Equipment_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Equipment_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Equipment_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Equipment_DuplicateMatchingRecord", "Equipment_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N equipment_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("equipment_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> equipment_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("equipment_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("equipment_principalobjectattributeaccess", "equipment_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Equipment_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Equipment_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Equipment_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Equipment_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Equipment_ProcessSessions", "Equipment_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N equipment_resources
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("equipment_resources")]
		public System.Collections.Generic.IEnumerable<Xrm.Resource> equipment_resources
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Resource>("equipment_resources", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Resource>("equipment_resources", "equipment_resources", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_equipment
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_equipment")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_equipment
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_equipment", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_equipment", "userentityinstancedata_equipment", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_equipment
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_equipment")]
		public Xrm.BusinessUnit business_unit_equipment
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_equipment", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BusinessUnit>("business_unit_equipment", "business_unit_equipment", null, value);
			}
		}
		
		/// <summary>
		/// N:1 calendar_equipment
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("calendarid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("calendar_equipment")]
		public Xrm.Calendar calendar_equipment
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Calendar>("calendar_equipment", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Calendar>("calendar_equipment", "calendar_equipment", null, value);
			}
		}
		
		/// <summary>
		/// N:1 equipment_systemuser
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("equipment_systemuser")]
		public Xrm.SystemUser equipment_systemuser
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("equipment_systemuser", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("equipment_systemuser", "equipment_systemuser", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_equipment_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_equipment_createdby")]
		public Xrm.SystemUser lk_equipment_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_equipment_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_equipment_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_equipment_createdonbehalfby")]
		public Xrm.SystemUser lk_equipment_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_equipment_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_equipment_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_equipment_modifiedby")]
		public Xrm.SystemUser lk_equipment_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_equipment_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_equipment_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_equipment_modifiedonbehalfby")]
		public Xrm.SystemUser lk_equipment_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_equipment_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_equipment
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_equipment")]
		public Xrm.Organization organization_equipment
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_equipment", null);
			}
		}
		
		/// <summary>
		/// N:1 site_equipment
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("siteid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("site_equipment")]
		public Xrm.Site site_equipment
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Site>("site_equipment", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Site>("site_equipment", "site_equipment", null, value);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_Equipment
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_Equipment")]
		public Xrm.TransactionCurrency TransactionCurrency_Equipment
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_Equipment", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_Equipment", "TransactionCurrency_Equipment", null, value);
			}
		}
	}
	
	/// <summary>
	/// Działanie śledzące połączenia wychodzące i liczbę stron faksu oraz (opcjonalnie) zapisujące elektroniczną kopię dokumentu.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("fax")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("FaxSet")]
	public partial class Fax : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Fax() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "fax";
		
		public const int EntityTypeCode = 4204;
		
		/// <summary>
		/// Unikatowy identyfikator działania przy użyciu faksu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public System.Nullable<System.Guid> ActivityId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("activityid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ActivityId", "activityid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ActivityId = value;
			}
		}
		
		/// <summary>
		/// Typ działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activitytypecode")]
		public string ActivityTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("activitytypecode");
			}
		}
		
		/// <summary>
		/// Rzeczywisty czas trwania działania przy użyciu faksu w minutach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualdurationminutes")]
		public System.Nullable<int> ActualDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("actualdurationminutes");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ActualDurationMinutes", "actualdurationminutes", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista godzina zakończenia działania przy użyciu faksu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualend")]
		public System.Nullable<System.DateTime> ActualEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualEnd", "actualend", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista godzina rozpoczęcia działania przy użyciu faksu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualstart")]
		public System.Nullable<System.DateTime> ActualStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualStart", "actualstart", value);
			}
		}
		
		/// <summary>
		/// Kod fakturowania skojarzony z nadawcą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billingcode")]
		public string BillingCode
		{
			get
			{
				return this.GetAttributeValue<string>("billingcode");
			}
			set
			{
				this.SetAttributeValue<string>("BillingCode", "billingcode", value);
			}
		}
		
		/// <summary>
		/// Kategoria działania przy użyciu faksu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("category")]
		public string Category
		{
			get
			{
				return this.GetAttributeValue<string>("category");
			}
			set
			{
				this.SetAttributeValue<string>("Category", "category", value);
			}
		}
		
		/// <summary>
		/// Nazwa strony tytułowej, która ma być używana podczas wysyłania faksu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("coverpagename")]
		public string CoverPageName
		{
			get
			{
				return this.GetAttributeValue<string>("coverpagename");
			}
			set
			{
				this.SetAttributeValue<string>("CoverPageName", "coverpagename", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył działanie przy użyciu faksu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia działania przy użyciu faksu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który utworzył faks.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis działania przy użyciu faksu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Kierunek faksu; przychodzący lub wychodzący.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("directioncode")]
		public System.Nullable<bool> DirectionCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("directioncode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DirectionCode", "directioncode", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z faksem w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Numer telefonu sprzętu odbierającego faks.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("faxnumber")]
		public string FaxNumber
		{
			get
			{
				return this.GetAttributeValue<string>("faxnumber");
			}
			set
			{
				this.SetAttributeValue<string>("FaxNumber", "faxnumber", value);
			}
		}
		
		/// <summary>
		/// Osoba, która jest nadawcą faksu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("from")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> From
		{
			get
			{
				return this.GetAttributeCollectionValue<Xrm.ActivityParty>("from");
			}
			set
			{
				this.SetAttributeCollectionValue<Xrm.ActivityParty>("From", "from", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy działanie przy użyciu faksu zostało zafakturowane jako element obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isbilled")]
		public System.Nullable<bool> IsBilled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isbilled");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsBilled", "isbilled", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy działanie ma charakter regularny, czy też jest zdarzeniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isregularactivity")]
		public System.Nullable<bool> IsRegularActivity
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isregularactivity");
			}
		}
		
		/// <summary>
		/// Wskazanie, czy działanie przy użyciu faksu zostało utworzone na podstawie reguły przepływu pracy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isworkflowcreated")]
		public System.Nullable<bool> IsWorkflowCreated
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isworkflowcreated");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsWorkflowCreated", "isworkflowcreated", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni modyfikował działanie przy użyciu faksu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji działania przy użyciu faksu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika (delegata), który jako ostatni zmodyfikował faks.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Liczba stron faksu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("numberofpages")]
		public System.Nullable<int> NumberOfPages
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("numberofpages");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("NumberOfPages", "numberofpages", value);
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem działania przy użyciu faksu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem działania przy użyciu faksu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, który jest właścicielem działania dotyczącego faksu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem działania dotyczącego faksu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Kod priorytetu działania przy użyciu faksu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("prioritycode")]
		public System.Nullable<int> PriorityCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("prioritycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PriorityCode", "prioritycode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obiektu, z którym jest skojarzone działanie przy użyciu faksu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		public Microsoft.Xrm.Client.CrmEntityReference RegardingObjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("regardingobjectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RegardingObjectId", "regardingobjectid", value);
			}
		}
		
		/// <summary>
		/// Zaplanowany czas trwania aktywności faksu, określony w minutach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduleddurationminutes")]
		public System.Nullable<int> ScheduledDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("scheduleddurationminutes");
			}
		}
		
		/// <summary>
		/// Zaplanowana godzina zakończenia działania przy użyciu faksu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledend")]
		public System.Nullable<System.DateTime> ScheduledEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ScheduledEnd", "scheduledend", value);
			}
		}
		
		/// <summary>
		/// Zaplanowana godzina rozpoczęcia działania przy użyciu faksu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledstart")]
		public System.Nullable<System.DateTime> ScheduledStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ScheduledStart", "scheduledstart", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonej usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		public Microsoft.Xrm.Client.CrmEntityReference ServiceId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("serviceid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ServiceId", "serviceid", value);
			}
		}
		
		/// <summary>
		/// Stan działania przy użyciu faksu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu działania przy użyciu faksu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Podkategoria działania przy użyciu faksu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subcategory")]
		public string Subcategory
		{
			get
			{
				return this.GetAttributeValue<string>("subcategory");
			}
			set
			{
				this.SetAttributeValue<string>("Subcategory", "subcategory", value);
			}
		}
		
		/// <summary>
		/// Temat skojarzony z działaniem przy użyciu faksu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subject")]
		public string Subject
		{
			get
			{
				return this.GetAttributeValue<string>("subject");
			}
			set
			{
				this.SetAttributeValue<string>("Subject", "subject", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subscriptionid")]
		public System.Nullable<System.Guid> SubscriptionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("subscriptionid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("SubscriptionId", "subscriptionid", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Osoba, która jest adresatem faksu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("to")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> To
		{
			get
			{
				return this.GetAttributeCollectionValue<Xrm.ActivityParty>("to");
			}
			set
			{
				this.SetAttributeCollectionValue<Xrm.ActivityParty>("To", "to", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzony z faksem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Identyfikator stacji transmisyjnej (TSID) skojarzonej z akcją wysyłania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("tsid")]
		public string Tsid
		{
			get
			{
				return this.GetAttributeValue<string>("tsid");
			}
			set
			{
				this.SetAttributeValue<string>("Tsid", "tsid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji faksu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N fax_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("fax_activity_parties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> fax_activity_parties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("fax_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("fax_activity_parties", "fax_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Fax_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Fax_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> Fax_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("Fax_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("Fax_Annotation", "Fax_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Fax_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Fax_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Fax_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Fax_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Fax_AsyncOperations", "Fax_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Fax_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Fax_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Fax_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Fax_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Fax_BulkDeleteFailures", "Fax_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N fax_campaignresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("fax_campaignresponse")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignResponse> fax_campaignresponse
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignResponse>("fax_campaignresponse", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignResponse>("fax_campaignresponse", "fax_campaignresponse", null, value);
			}
		}
		
		/// <summary>
		/// 1:N fax_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("fax_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> fax_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("fax_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("fax_connections1", "fax_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N fax_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("fax_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> fax_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("fax_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("fax_connections2", "fax_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Fax_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Fax_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Fax_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Fax_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Fax_DuplicateBaseRecord", "Fax_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Fax_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Fax_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Fax_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Fax_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Fax_DuplicateMatchingRecord", "Fax_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N fax_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("fax_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> fax_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("fax_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("fax_principalobjectattributeaccess", "fax_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Fax_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Fax_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Fax_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Fax_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Fax_ProcessSessions", "Fax_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Fax_QueueItem
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Fax_QueueItem")]
		public System.Collections.Generic.IEnumerable<Xrm.QueueItem> Fax_QueueItem
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QueueItem>("Fax_QueueItem", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QueueItem>("Fax_QueueItem", "Fax_QueueItem", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_fax
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_fax")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_fax
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_fax", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_fax", "userentityinstancedata_fax", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Account_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_Faxes")]
		public Xrm.Account Account_Faxes
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("Account_Faxes", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("Account_Faxes", "Account_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// N:1 activity_pointer_fax
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_fax")]
		public Xrm.ActivityPointer activity_pointer_fax
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_fax", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_fax", "activity_pointer_fax", null, value);
			}
		}
		
		/// <summary>
		/// N:1 BulkOperation_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkOperation_Faxes")]
		public Xrm.BulkOperation BulkOperation_Faxes
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BulkOperation>("BulkOperation_Faxes", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BulkOperation>("BulkOperation_Faxes", "BulkOperation_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_fax_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_fax_activities")]
		public Xrm.BusinessUnit business_unit_fax_activities
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_fax_activities", null);
			}
		}
		
		/// <summary>
		/// N:1 Campaign_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_Faxes")]
		public Xrm.Campaign Campaign_Faxes
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Campaign>("Campaign_Faxes", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Campaign>("Campaign_Faxes", "Campaign_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// N:1 CampaignActivity_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignActivity_Faxes")]
		public Xrm.CampaignActivity CampaignActivity_Faxes
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignActivity>("CampaignActivity_Faxes", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CampaignActivity>("CampaignActivity_Faxes", "CampaignActivity_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Contact_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_Faxes")]
		public Xrm.Contact Contact_Faxes
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("Contact_Faxes", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("Contact_Faxes", "Contact_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Contract_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_Faxes")]
		public Xrm.Contract Contract_Faxes
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contract>("Contract_Faxes", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contract>("Contract_Faxes", "Contract_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Incident_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_Faxes")]
		public Xrm.Incident Incident_Faxes
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Incident>("Incident_Faxes", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Incident>("Incident_Faxes", "Incident_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Invoice_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Invoice_Faxes")]
		public Xrm.Invoice Invoice_Faxes
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Invoice>("Invoice_Faxes", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Invoice>("Invoice_Faxes", "Invoice_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Lead_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_Faxes")]
		public Xrm.Lead Lead_Faxes
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Lead>("Lead_Faxes", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Lead>("Lead_Faxes", "Lead_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_fax_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fax_createdby")]
		public Xrm.SystemUser lk_fax_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_fax_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_fax_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fax_createdonbehalfby")]
		public Xrm.SystemUser lk_fax_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_fax_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_fax_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fax_modifiedby")]
		public Xrm.SystemUser lk_fax_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_fax_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_fax_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fax_modifiedonbehalfby")]
		public Xrm.SystemUser lk_fax_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_fax_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postalbum_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_Faxes")]
		public Xrm.msdyn_PostAlbum msdyn_postalbum_Faxes
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_Faxes", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_Faxes", "msdyn_postalbum_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownicy_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_Faxes")]
		public Xrm.new_uzytkownicy new_uzytkownicy_Faxes
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_Faxes", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_Faxes", "new_uzytkownicy_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownikkontakty_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_Faxes")]
		public Xrm.new_uzytkownikkontakty new_uzytkownikkontakty_Faxes
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_Faxes", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_Faxes", "new_uzytkownikkontakty_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_zainteresowanie_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_Faxes")]
		public Xrm.new_zainteresowanie new_zainteresowanie_Faxes
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_Faxes", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_Faxes", "new_zainteresowanie_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Opportunity_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_Faxes")]
		public Xrm.Opportunity Opportunity_Faxes
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Opportunity>("Opportunity_Faxes", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Opportunity>("Opportunity_Faxes", "Opportunity_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Quote_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_Faxes")]
		public Xrm.Quote Quote_Faxes
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Quote>("Quote_Faxes", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Quote>("Quote_Faxes", "Quote_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SalesOrder_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrder_Faxes")]
		public Xrm.SalesOrder SalesOrder_Faxes
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesOrder>("SalesOrder_Faxes", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesOrder>("SalesOrder_Faxes", "SalesOrder_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// N:1 service_faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_faxes")]
		public Xrm.Service service_faxes
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Service>("service_faxes", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Service>("service_faxes", "service_faxes", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_fax
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_fax")]
		public Xrm.Team team_fax
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_fax", null);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_Fax
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_Fax")]
		public Xrm.TransactionCurrency TransactionCurrency_Fax
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_Fax", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_Fax", "TransactionCurrency_Fax", null, value);
			}
		}
		
		/// <summary>
		/// N:1 user_fax
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_fax")]
		public Xrm.SystemUser user_fax
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_fax", null);
			}
		}
	}
	
	/// <summary>
	/// Grupa uprawnień używana do klasyfikowania użytkowników w celu zapewnienia odpowiedniego dostępu do zabezpieczonych kolumn.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("fieldpermission")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("FieldPermissionSet")]
	public partial class FieldPermission : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public FieldPermission() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "fieldpermission";
		
		public const int EntityTypeCode = 1201;
		
		/// <summary>
		/// Nazwa atrybutu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("attributelogicalname")]
		public string AttributeLogicalName
		{
			get
			{
				return this.GetAttributeValue<string>("attributelogicalname");
			}
			set
			{
				this.SetAttributeValue<string>("AttributeLogicalName", "attributelogicalname", value);
			}
		}
		
		/// <summary>
		/// Określa, czy ten profil może tworzyć atrybut.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("cancreate")]
		public System.Nullable<int> CanCreate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("cancreate");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("CanCreate", "cancreate", value);
			}
		}
		
		/// <summary>
		/// Określa, czy ten profil może odczytywać atrybut.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("canread")]
		public System.Nullable<int> CanRead
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("canread");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("CanRead", "canread", value);
			}
		}
		
		/// <summary>
		/// Określa, czy ten profil może aktualizować atrybut.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("canupdate")]
		public System.Nullable<int> CanUpdate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("canupdate");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("CanUpdate", "canupdate", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// Nazwa encji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("entityname")]
		public string EntityName
		{
			get
			{
				return this.GetAttributeValue<string>("entityname");
			}
			set
			{
				this.SetAttributeValue<string>("EntityName", "entityname", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator uprawnienia pola.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fieldpermissionid")]
		public System.Nullable<System.Guid> FieldPermissionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("fieldpermissionid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("FieldPermissionId", "fieldpermissionid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fieldpermissionid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.FieldPermissionId = value;
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fieldpermissionidunique")]
		public System.Nullable<System.Guid> FieldPermissionIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("fieldpermissionidunique");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator profilu, do którego należy to uprawnienie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fieldsecurityprofileid")]
		public Microsoft.Xrm.Client.CrmEntityReference FieldSecurityProfileId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("fieldsecurityprofileid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("FieldSecurityProfileId", "fieldsecurityprofileid", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy dany składnik rozwiązania jest częścią rozwiązania zarządzanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_fieldpermission
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_fieldpermission")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_fieldpermission
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_fieldpermission", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_fieldpermission", "userentityinstancedata_fieldpermission", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_fieldpermission_fieldsecurityprofileid
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fieldsecurityprofileid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fieldpermission_fieldsecurityprofileid")]
		public Xrm.FieldSecurityProfile lk_fieldpermission_fieldsecurityprofileid
		{
			get
			{
				return this.GetRelatedEntity<Xrm.FieldSecurityProfile>("lk_fieldpermission_fieldsecurityprofileid", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.FieldSecurityProfile>("lk_fieldpermission_fieldsecurityprofileid", "lk_fieldpermission_fieldsecurityprofileid", null, value);
			}
		}
	}
	
	/// <summary>
	/// Profil definiujący poziom dostępu zabezpieczonych atrybutów.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("fieldsecurityprofile")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("FieldSecurityProfileSet")]
	public partial class FieldSecurityProfile : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public FieldSecurityProfile() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "fieldsecurityprofile";
		
		public const int EntityTypeCode = 1200;
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył profil.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia profilu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył rolę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis profilu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator profilu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fieldsecurityprofileid")]
		public System.Nullable<System.Guid> FieldSecurityProfileId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("fieldsecurityprofileid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("FieldSecurityProfileId", "fieldsecurityprofileid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fieldsecurityprofileid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.FieldSecurityProfileId = value;
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fieldsecurityprofileidunique")]
		public System.Nullable<System.Guid> FieldSecurityProfileIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("fieldsecurityprofileidunique");
			}
		}
		
		/// <summary>
		/// Wskazuje, czy dany składnik rozwiązania jest częścią rozwiązania zarządzanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował profil.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji profilu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który jako ostatni zmodyfikował profil.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa profilu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonej organizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N lk_fieldpermission_fieldsecurityprofileid
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fieldpermission_fieldsecurityprofileid")]
		public System.Collections.Generic.IEnumerable<Xrm.FieldPermission> lk_fieldpermission_fieldsecurityprofileid
		{
			get
			{
				return this.GetRelatedEntities<Xrm.FieldPermission>("lk_fieldpermission_fieldsecurityprofileid", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.FieldPermission>("lk_fieldpermission_fieldsecurityprofileid", "lk_fieldpermission_fieldsecurityprofileid", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_fieldsecurityprofile
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_fieldsecurityprofile")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_fieldsecurityprofile
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_fieldsecurityprofile", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_fieldsecurityprofile", "userentityinstancedata_fieldsecurityprofile", null, value);
			}
		}
		
		/// <summary>
		/// N:N systemuserprofiles_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("systemuserprofiles_association")]
		public System.Collections.Generic.IEnumerable<Xrm.SystemUser> systemuserprofiles_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SystemUser>("systemuserprofiles_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SystemUser>("systemuserprofiles_association", "systemuserprofiles_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N teamprofiles_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("teamprofiles_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Team> teamprofiles_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Team>("teamprofiles_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Team>("teamprofiles_association", "teamprofiles_association", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_fieldsecurityprofile_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fieldsecurityprofile_createdby")]
		public Xrm.SystemUser lk_fieldsecurityprofile_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_fieldsecurityprofile_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_fieldsecurityprofile_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fieldsecurityprofile_createdonbehalfby")]
		public Xrm.SystemUser lk_fieldsecurityprofile_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_fieldsecurityprofile_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_fieldsecurityprofile_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fieldsecurityprofile_modifiedby")]
		public Xrm.SystemUser lk_fieldsecurityprofile_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_fieldsecurityprofile_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_fieldsecurityprofile_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fieldsecurityprofile_modifiedonbehalfby")]
		public Xrm.SystemUser lk_fieldsecurityprofile_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_fieldsecurityprofile_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_fieldsecurityprofile_organizationid
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fieldsecurityprofile_organizationid")]
		public Xrm.Organization lk_fieldsecurityprofile_organizationid
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("lk_fieldsecurityprofile_organizationid", null);
			}
		}
	}
	
	/// <summary>
	/// Stały miesięczny kalendarz obrachunkowy organizacji. Okres, w którym są obliczane działania finansowe organizacji.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("fixedmonthlyfiscalcalendar")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("FixedMonthlyFiscalCalendarSet")]
	public partial class FixedMonthlyFiscalCalendar : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public FixedMonthlyFiscalCalendar() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "fixedmonthlyfiscalcalendar";
		
		public const int EntityTypeCode = 2004;
		
		/// <summary>
		/// Jednostka biznesowa odpowiedzialna za normę skojarzoną z tym kalendarzem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		public Microsoft.Xrm.Client.CrmEntityReference BusinessUnitId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("businessunitid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył kalendarz obrachunkowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia normy dla stałego miesięcznego kalendarza obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który utworzył stały miesięczny kalendarz obrachunkowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Data i godzina wejścia w życie normy sprzedaży związanej ze stałym miesięcznym kalendarzem obrachunkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("effectiveon")]
		public System.Nullable<System.DateTime> EffectiveOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("effectiveon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("EffectiveOn", "effectiveon", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z ustalonym miesięcznym kalendarzem obrachunkowym w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Typ okresu obrachunkowego używany w normie sprzedaży stałego miesięcznego kalendarza obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fiscalperiodtype")]
		public System.Nullable<int> FiscalPeriodType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("fiscalperiodtype");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował stały miesięczny kalendarz obrachunkowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji stałego miesięcznego kalendarza obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który jako ostatni zmodyfikował stały miesięczny kalendarz obrachunkowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dla pierwszego okresu roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("period1")]
		public System.Nullable<decimal> Period1
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("period1");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Period1", "period1", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej normy sprzedaży dla pierwszego okresu roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("period1_base")]
		public System.Nullable<decimal> Period1_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("period1_base");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dla dziesiątego okresu roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("period10")]
		public System.Nullable<decimal> Period10
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("period10");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Period10", "period10", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej normy sprzedaży dla dziesiątego okresu roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("period10_base")]
		public System.Nullable<decimal> Period10_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("period10_base");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dla jedenastego okresu roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("period11")]
		public System.Nullable<decimal> Period11
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("period11");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Period11", "period11", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej normy sprzedaży dla jedenastego okresu roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("period11_base")]
		public System.Nullable<decimal> Period11_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("period11_base");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dla dwunastego okresu roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("period12")]
		public System.Nullable<decimal> Period12
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("period12");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Period12", "period12", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej normy sprzedaży dla dwunastego okresu roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("period12_base")]
		public System.Nullable<decimal> Period12_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("period12_base");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dla trzynastego okresu roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("period13")]
		public System.Nullable<decimal> Period13
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("period13");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Period13", "period13", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej normy sprzedaży dla trzynastego okresu roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("period13_base")]
		public System.Nullable<decimal> Period13_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("period13_base");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dla drugiego okresu roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("period2")]
		public System.Nullable<decimal> Period2
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("period2");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Period2", "period2", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej normy sprzedaży dla drugiego okresu roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("period2_base")]
		public System.Nullable<decimal> Period2_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("period2_base");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dla trzeciego okresu roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("period3")]
		public System.Nullable<decimal> Period3
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("period3");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Period3", "period3", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej normy sprzedaży dla trzeciego okresu roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("period3_base")]
		public System.Nullable<decimal> Period3_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("period3_base");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dla czwartego okresu roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("period4")]
		public System.Nullable<decimal> Period4
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("period4");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Period4", "period4", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej normy sprzedaży dla czwartego okresu roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("period4_base")]
		public System.Nullable<decimal> Period4_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("period4_base");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dla piątego okresu roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("period5")]
		public System.Nullable<decimal> Period5
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("period5");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Period5", "period5", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej normy sprzedaży dla piątego okresu roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("period5_base")]
		public System.Nullable<decimal> Period5_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("period5_base");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dla szóstego okresu roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("period6")]
		public System.Nullable<decimal> Period6
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("period6");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Period6", "period6", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej normy sprzedaży dla szóstego okresu roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("period6_base")]
		public System.Nullable<decimal> Period6_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("period6_base");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dla siódmego okresu roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("period7")]
		public System.Nullable<decimal> Period7
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("period7");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Period7", "period7", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej normy sprzedaży dla siódmego okresu roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("period7_base")]
		public System.Nullable<decimal> Period7_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("period7_base");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dla ósmego okresu roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("period8")]
		public System.Nullable<decimal> Period8
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("period8");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Period8", "period8", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej normy sprzedaży dla ósmego okresu roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("period8_base")]
		public System.Nullable<decimal> Period8_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("period8_base");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dla dziewiątego okresu roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("period9")]
		public System.Nullable<decimal> Period9
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("period9");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Period9", "period9", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej normy sprzedaży dla dziewiątego okresu roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("period9_base")]
		public System.Nullable<decimal> Period9_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("period9_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego sprzedawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salespersonid")]
		public Microsoft.Xrm.Client.CrmEntityReference SalesPersonId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("salespersonid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("SalesPersonId", "salespersonid", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z ustalonym miesięcznym kalendarzem obrachunkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika kalendarza obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userfiscalcalendarid")]
		public System.Nullable<System.Guid> UserFiscalCalendarId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("userfiscalcalendarid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("UserFiscalCalendarId", "userfiscalcalendarid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userfiscalcalendarid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.UserFiscalCalendarId = value;
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// 1:N FixedMonthlyFiscalCalendar_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("FixedMonthlyFiscalCalendar_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> FixedMonthlyFiscalCalendar_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("FixedMonthlyFiscalCalendar_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("FixedMonthlyFiscalCalendar_AsyncOperations", "FixedMonthlyFiscalCalendar_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N FixedMonthlyFiscalCalendar_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("FixedMonthlyFiscalCalendar_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> FixedMonthlyFiscalCalendar_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("FixedMonthlyFiscalCalendar_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("FixedMonthlyFiscalCalendar_BulkDeleteFailures", "FixedMonthlyFiscalCalendar_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_fixedmonthlyfiscalcalendar_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fixedmonthlyfiscalcalendar_createdby")]
		public Xrm.SystemUser lk_fixedmonthlyfiscalcalendar_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_fixedmonthlyfiscalcalendar_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_fixedmonthlyfiscalcalendar_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fixedmonthlyfiscalcalendar_createdonbehalfby")]
		public Xrm.SystemUser lk_fixedmonthlyfiscalcalendar_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_fixedmonthlyfiscalcalendar_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_fixedmonthlyfiscalcalendar_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fixedmonthlyfiscalcalendar_modifiedby")]
		public Xrm.SystemUser lk_fixedmonthlyfiscalcalendar_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_fixedmonthlyfiscalcalendar_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_fixedmonthlyfiscalcalendar_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fixedmonthlyfiscalcalendar_modifiedonbehalfby")]
		public Xrm.SystemUser lk_fixedmonthlyfiscalcalendar_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_fixedmonthlyfiscalcalendar_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_fixedmonthlyfiscalcalendar_salespersonid
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salespersonid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fixedmonthlyfiscalcalendar_salespersonid")]
		public Xrm.SystemUser lk_fixedmonthlyfiscalcalendar_salespersonid
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_fixedmonthlyfiscalcalendar_salespersonid", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("lk_fixedmonthlyfiscalcalendar_salespersonid", "lk_fixedmonthlyfiscalcalendar_salespersonid", null, value);
			}
		}
		
		/// <summary>
		/// N:1 transactioncurrency_fixedmonthlyfiscalcalendar
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_fixedmonthlyfiscalcalendar")]
		public Xrm.TransactionCurrency transactioncurrency_fixedmonthlyfiscalcalendar
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_fixedmonthlyfiscalcalendar", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_fixedmonthlyfiscalcalendar", "transactioncurrency_fixedmonthlyfiscalcalendar", null, value);
			}
		}
	}
	
	/// <summary>
	/// Cel dla użytkownika lub zespołu dotyczący określonego okresu.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("goal")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("GoalSet")]
	public partial class Goal : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Goal() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "goal";
		
		public const int EntityTypeCode = 9600;
		
		/// <summary>
		/// Wartość rzeczywista (typ dziesiętny) względem celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualdecimal")]
		public System.Nullable<decimal> ActualDecimal
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("actualdecimal");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("ActualDecimal", "actualdecimal", value);
			}
		}
		
		/// <summary>
		/// Wartość rzeczywista (typ całkowity) względem celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualinteger")]
		public System.Nullable<int> ActualInteger
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("actualinteger");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ActualInteger", "actualinteger", value);
			}
		}
		
		/// <summary>
		/// Wartość rzeczywista (typ finansowy) względem celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualmoney")]
		public System.Nullable<decimal> ActualMoney
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("actualmoney");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("ActualMoney", "actualmoney", value);
			}
		}
		
		/// <summary>
		/// Wartość rzeczywista (typ finansowy) w walucie podstawowej względem celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualmoney_base")]
		public System.Nullable<decimal> ActualMoney_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("actualmoney_base");
			}
		}
		
		/// <summary>
		/// Wartość rzeczywista celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualstring")]
		public string ActualString
		{
			get
			{
				return this.GetAttributeValue<string>("actualstring");
			}
		}
		
		/// <summary>
		/// Typ danych dotyczący kwoty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("amountdatatype")]
		public System.Nullable<int> AmountDataType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("amountdatatype");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("AmountDataType", "amountdatatype", value);
			}
		}
		
		/// <summary>
		/// Wygenerowana przez system oczekiwana kwota dla wartości rzeczywistej (liczba dziesiętna) względem celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("computedtargetasoftodaydecimal")]
		public System.Nullable<decimal> ComputedTargetAsOfTodayDecimal
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("computedtargetasoftodaydecimal");
			}
		}
		
		/// <summary>
		/// Wygenerowana przez system oczekiwana kwota dla wartości rzeczywistej (liczba całkowita) względem celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("computedtargetasoftodayinteger")]
		public System.Nullable<int> ComputedTargetAsOfTodayInteger
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("computedtargetasoftodayinteger");
			}
		}
		
		/// <summary>
		/// Wygenerowana przez system oczekiwana kwota dla wartości rzeczywistej (finansowej) względem celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("computedtargetasoftodaymoney")]
		public System.Nullable<decimal> ComputedTargetAsOfTodayMoney
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("computedtargetasoftodaymoney");
			}
		}
		
		/// <summary>
		/// Wygenerowana przez system oczekiwana kwota w walucie podstawowej dla wartości rzeczywistej (finansowej) względem celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("computedtargetasoftodaymoney_base")]
		public System.Nullable<decimal> ComputedTargetAsOfTodayMoney_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("computedtargetasoftodaymoney_base");
			}
		}
		
		/// <summary>
		/// Wygenerowana przez system oczekiwana wartość procentowa uzyskana względem celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("computedtargetasoftodaypercentageachieved")]
		public System.Nullable<decimal> ComputedTargetAsOfTodayPercentageAchieved
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("computedtargetasoftodaypercentageachieved");
			}
		}
		
		/// <summary>
		/// Wskazuje, czy w zestawieniu znajdą się tylko rekordy właściciela celu, czy wszystkie rekordy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("consideronlygoalownersrecords")]
		public System.Nullable<bool> ConsiderOnlyGoalOwnersRecords
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("consideronlygoalownersrecords");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("ConsiderOnlyGoalOwnersRecords", "consideronlygoalownersrecords", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Symbol zastępczy pola zestawienia dla wartości (liczba dziesiętna) względem celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customrollupfielddecimal")]
		public System.Nullable<decimal> CustomRollupFieldDecimal
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("customrollupfielddecimal");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("CustomRollupFieldDecimal", "customrollupfielddecimal", value);
			}
		}
		
		/// <summary>
		/// Symbol zastępczy pola zestawienia dla wartości (liczba całkowita) względem celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customrollupfieldinteger")]
		public System.Nullable<int> CustomRollupFieldInteger
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("customrollupfieldinteger");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("CustomRollupFieldInteger", "customrollupfieldinteger", value);
			}
		}
		
		/// <summary>
		/// Symbol zastępczy pola zestawienia dla wartości (finansowej) względem celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customrollupfieldmoney")]
		public System.Nullable<decimal> CustomRollupFieldMoney
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("customrollupfieldmoney");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("CustomRollupFieldMoney", "customrollupfieldmoney", value);
			}
		}
		
		/// <summary>
		/// Symbol zastępczy pola zestawienia dla wartości (finansowej) w walucie podstawowej względem celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customrollupfieldmoney_base")]
		public System.Nullable<decimal> CustomRollupFieldMoney_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("customrollupfieldmoney_base");
			}
		}
		
		/// <summary>
		/// Symbol zastępczy pola zestawienia dotyczącego celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customrollupfieldstring")]
		public string CustomRollupFieldString
		{
			get
			{
				return this.GetAttributeValue<string>("customrollupfieldstring");
			}
		}
		
		/// <summary>
		/// Głębokość celu w drzewie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("depth")]
		public System.Nullable<int> Depth
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("depth");
			}
		}
		
		/// <summary>
		/// Kurs wymiany między walutą skojarzoną z encją i walutą podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Okres obrachunkowy dotyczący celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fiscalperiod")]
		public System.Nullable<int> FiscalPeriod
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("fiscalperiod");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("FiscalPeriod", "fiscalperiod", value);
			}
		}
		
		/// <summary>
		/// Rok obrachunkowy dotyczący celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fiscalyear")]
		public System.Nullable<int> FiscalYear
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("fiscalyear");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("FiscalYear", "fiscalyear", value);
			}
		}
		
		/// <summary>
		/// Data zakończenia okresu dotyczącego celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("goalenddate")]
		public System.Nullable<System.DateTime> GoalEndDate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("goalenddate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("GoalEndDate", "goalenddate", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("goalid")]
		public System.Nullable<System.Guid> GoalId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("goalid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("GoalId", "goalid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("goalid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.GoalId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, któremu zależy na realizacji celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("goalownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference GoalOwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("goalownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("GoalOwnerId", "goalownerid", value);
			}
		}
		
		/// <summary>
		/// Data rozpoczęcia okresu dotyczącego celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("goalstartdate")]
		public System.Nullable<System.DateTime> GoalStartDate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("goalstartdate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("GoalStartDate", "goalstartdate", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator celu, który spowodował błąd w zestawieniu hierarchii celów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("goalwitherrorid")]
		public Microsoft.Xrm.Client.CrmEntityReference GoalWithErrorId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("goalwitherrorid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("GoalWithErrorId", "goalwitherrorid", value);
			}
		}
		
		/// <summary>
		/// Numer sekwencji operacji importu, w wyniku której ten rekord został utworzony.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Wartość w toku (liczba dziesiętna) względem celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("inprogressdecimal")]
		public System.Nullable<decimal> InProgressDecimal
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("inprogressdecimal");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("InProgressDecimal", "inprogressdecimal", value);
			}
		}
		
		/// <summary>
		/// Wartość w toku (liczba całkowita) względem celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("inprogressinteger")]
		public System.Nullable<int> InProgressInteger
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("inprogressinteger");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("InProgressInteger", "inprogressinteger", value);
			}
		}
		
		/// <summary>
		/// Wartość w toku (finansowa) względem celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("inprogressmoney")]
		public System.Nullable<decimal> InProgressMoney
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("inprogressmoney");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("InProgressMoney", "inprogressmoney", value);
			}
		}
		
		/// <summary>
		/// Wartość w toku (finansowa) w walucie podstawowej względem celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("inprogressmoney_base")]
		public System.Nullable<decimal> InProgressMoney_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("inprogressmoney_base");
			}
		}
		
		/// <summary>
		/// Wartość w toku dotycząca celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("inprogressstring")]
		public string InProgressString
		{
			get
			{
				return this.GetAttributeValue<string>("inprogressstring");
			}
		}
		
		/// <summary>
		/// Wskazuje, czy typem metryki jest Liczba, czy Kwota.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isamount")]
		public System.Nullable<bool> IsAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isamount");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsAmount", "isamount", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy okres dotyczący celu jest okresem obrachunkowym, czy okresem niestandardowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isfiscalperiodgoal")]
		public System.Nullable<bool> IsFiscalPeriodGoal
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isfiscalperiodgoal");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsFiscalPeriodGoal", "isfiscalperiodgoal", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy pola zestawienia systemowego są aktualizowane. Jeśli atrybut zostanie ustawiony na wartość Tak, zestawienie systemowe nie spowoduje aktualizacji wartości pól zestawienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isoverridden")]
		public System.Nullable<bool> IsOverridden
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isoverridden");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsOverridden", "isoverridden", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy wartości pól zestawienia systemowego mogą być aktualizowane.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isoverride")]
		public System.Nullable<bool> IsOverride
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isoverride");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsOverride", "isoverride", value);
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniego zestawienia danych dotyczących tego celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("lastrolledupdate")]
		public System.Nullable<System.DateTime> LastRolledupDate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("lastrolledupdate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("LastRolledupDate", "lastrolledupdate", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator metryki skojarzonej z celem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("metricid")]
		public Microsoft.Xrm.Client.CrmEntityReference MetricId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("metricid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("MetricId", "metricid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który zmodyfikował rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina modyfikacji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który zmodyfikował rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator menedżera celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej będącej właścicielem rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu będącego właścicielem celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika będącego właścicielem rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator celu nadrzędnego, z którym dany cel jest połączony.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentgoalid")]
		public Microsoft.Xrm.Client.CrmEntityReference ParentGoalId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("parentgoalid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ParentGoalId", "parentgoalid", value);
			}
		}
		
		/// <summary>
		/// Procent uzyskany względem celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("percentage")]
		public System.Nullable<decimal> Percentage
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("percentage");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("Percentage", "percentage", value);
			}
		}
		
		/// <summary>
		/// Kod błędu skojarzony z zestawieniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("rolluperrorcode")]
		public System.Nullable<int> RollupErrorCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("rolluperrorcode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("RollupErrorCode", "rolluperrorcode", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy dane powinny być zestawiane tylko od poziomu celów podrzędnych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("rolluponlyfromchildgoals")]
		public System.Nullable<bool> RollupOnlyFromChildGoals
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("rolluponlyfromchildgoals");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("RollupOnlyFromChildGoals", "rolluponlyfromchildgoals", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zapytania zestawienia dla pola zestawienia z wartością rzeczywistą (liczba dziesiętna).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("rollupqueryactualdecimalid")]
		public Microsoft.Xrm.Client.CrmEntityReference RollUpQueryActualDecimalId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("rollupqueryactualdecimalid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RollUpQueryActualDecimalId", "rollupqueryactualdecimalid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zapytania zestawienia dla pola zestawienia z wartością rzeczywistą (liczba całkowita).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("rollupqueryactualintegerid")]
		public Microsoft.Xrm.Client.CrmEntityReference RollupQueryActualIntegerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("rollupqueryactualintegerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RollupQueryActualIntegerId", "rollupqueryactualintegerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zapytania zestawienia dla pola zestawienia z wartością rzeczywistą (finansową).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("rollupqueryactualmoneyid")]
		public Microsoft.Xrm.Client.CrmEntityReference RollUpQueryActualMoneyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("rollupqueryactualmoneyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RollUpQueryActualMoneyId", "rollupqueryactualmoneyid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zapytania zestawienia dla niestandardowego pola zestawienia (liczba dziesiętna).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("rollupquerycustomdecimalid")]
		public Microsoft.Xrm.Client.CrmEntityReference RollUpQueryCustomDecimalId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("rollupquerycustomdecimalid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RollUpQueryCustomDecimalId", "rollupquerycustomdecimalid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zapytania zestawienia dla niestandardowego pola zestawienia (liczba całkowita).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("rollupquerycustomintegerid")]
		public Microsoft.Xrm.Client.CrmEntityReference RollUpQueryCustomIntegerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("rollupquerycustomintegerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RollUpQueryCustomIntegerId", "rollupquerycustomintegerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zapytania zestawienia dla niestandardowego pola zestawienia (wartość finansowa).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("rollupquerycustommoneyid")]
		public Microsoft.Xrm.Client.CrmEntityReference RollUpQueryCustomMoneyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("rollupquerycustommoneyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RollUpQueryCustomMoneyId", "rollupquerycustommoneyid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zapytania zestawienia dla pola zestawienia z wartością w toku (liczba dziesiętna).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("rollupqueryinprogressdecimalid")]
		public Microsoft.Xrm.Client.CrmEntityReference RollUpQueryInprogressDecimalId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("rollupqueryinprogressdecimalid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RollUpQueryInprogressDecimalId", "rollupqueryinprogressdecimalid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zapytania zestawienia dla pola zestawienia z wartością w toku (liczba całkowita).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("rollupqueryinprogressintegerid")]
		public Microsoft.Xrm.Client.CrmEntityReference RollUpQueryInprogressIntegerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("rollupqueryinprogressintegerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RollUpQueryInprogressIntegerId", "rollupqueryinprogressintegerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zapytania zestawienia dla pola zestawienia z wartością w toku (finansową).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("rollupqueryinprogressmoneyid")]
		public Microsoft.Xrm.Client.CrmEntityReference RollUpQueryInprogressMoneyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("rollupqueryinprogressmoneyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RollUpQueryInprogressMoneyId", "rollupqueryinprogressmoneyid", value);
			}
		}
		
		/// <summary>
		/// Stan celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Cel ambitny (liczba dziesiętna) w projekcie docelowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("stretchtargetdecimal")]
		public System.Nullable<decimal> StretchTargetDecimal
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("stretchtargetdecimal");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("StretchTargetDecimal", "stretchtargetdecimal", value);
			}
		}
		
		/// <summary>
		/// Cel ambitny (liczba całkowita) w projekcie docelowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("stretchtargetinteger")]
		public System.Nullable<int> StretchTargetInteger
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("stretchtargetinteger");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("StretchTargetInteger", "stretchtargetinteger", value);
			}
		}
		
		/// <summary>
		/// Cel ambitny (wartość finansowa) w projekcie docelowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("stretchtargetmoney")]
		public System.Nullable<decimal> StretchTargetMoney
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("stretchtargetmoney");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("StretchTargetMoney", "stretchtargetmoney", value);
			}
		}
		
		/// <summary>
		/// Wartość celu ambitnego (finansowa) w walucie podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("stretchtargetmoney_base")]
		public System.Nullable<decimal> StretchTargetMoney_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("stretchtargetmoney_base");
			}
		}
		
		/// <summary>
		/// Wartość celu ambitnego dotycząca wszystkich typów danych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("stretchtargetstring")]
		public string StretchTargetString
		{
			get
			{
				return this.GetAttributeValue<string>("stretchtargetstring");
			}
		}
		
		/// <summary>
		/// Wartość docelowa celu typu dziesiętnego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("targetdecimal")]
		public System.Nullable<decimal> TargetDecimal
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("targetdecimal");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("TargetDecimal", "targetdecimal", value);
			}
		}
		
		/// <summary>
		/// Wartość docelowa celu typu całkowitego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("targetinteger")]
		public System.Nullable<int> TargetInteger
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("targetinteger");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TargetInteger", "targetinteger", value);
			}
		}
		
		/// <summary>
		/// Wartość docelowa celu typu finansowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("targetmoney")]
		public System.Nullable<decimal> TargetMoney
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("targetmoney");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("TargetMoney", "targetmoney", value);
			}
		}
		
		/// <summary>
		/// Wartość docelowa celu typu finansowego w walucie podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("targetmoney_base")]
		public System.Nullable<decimal> TargetMoney_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("targetmoney_base");
			}
		}
		
		/// <summary>
		/// Wartość docelowa danego celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("targetstring")]
		public string TargetString
		{
			get
			{
				return this.GetAttributeValue<string>("targetstring");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Tytuł celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("title")]
		public string Title
		{
			get
			{
				return this.GetAttributeValue<string>("title");
			}
			set
			{
				this.SetAttributeValue<string>("Title", "title", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z encją.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator drzewa celów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("treeid")]
		public System.Nullable<System.Guid> TreeId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("treeid");
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N Goal_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Goal_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> Goal_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("Goal_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("Goal_Annotation", "Goal_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Goal_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Goal_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Goal_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Goal_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Goal_AsyncOperations", "Goal_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N goal_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goal_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> goal_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("goal_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("goal_connections1", "goal_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N goal_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goal_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> goal_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("goal_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("goal_connections2", "goal_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N goal_parent_goal
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goal_parent_goal", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.Goal> Referencedgoal_parent_goal
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Goal>("goal_parent_goal", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Goal>("Referencedgoal_parent_goal", "goal_parent_goal", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// 1:N goal_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goal_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> goal_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("goal_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("goal_principalobjectattributeaccess", "goal_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Goal_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Goal_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Goal_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Goal_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Goal_ProcessSessions", "Goal_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Goal_RollupError_Goal
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Goal_RollupError_Goal", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.Goal> ReferencedGoal_RollupError_Goal
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Goal>("Goal_RollupError_Goal", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Goal>("ReferencedGoal_RollupError_Goal", "Goal_RollupError_Goal", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_goal
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_goal")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_goal
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_goal", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_goal", "userentityinstancedata_goal", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_goal
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_goal")]
		public Xrm.BusinessUnit business_unit_goal
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_goal", null);
			}
		}
		
		/// <summary>
		/// N:1 goal_parent_goal
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentgoalid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goal_parent_goal", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.Goal Referencinggoal_parent_goal
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Goal>("goal_parent_goal", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Goal>("Referencinggoal_parent_goal", "goal_parent_goal", Microsoft.Xrm.Sdk.EntityRole.Referencing, value);
			}
		}
		
		/// <summary>
		/// N:1 Goal_RollupError_Goal
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("goalwitherrorid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Goal_RollupError_Goal", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.Goal ReferencingGoal_RollupError_Goal
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Goal>("Goal_RollupError_Goal", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Goal>("ReferencingGoal_RollupError_Goal", "Goal_RollupError_Goal", Microsoft.Xrm.Sdk.EntityRole.Referencing, value);
			}
		}
		
		/// <summary>
		/// N:1 goal_rollupquery_actualdecimal
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("rollupqueryactualdecimalid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goal_rollupquery_actualdecimal")]
		public Xrm.GoalRollupQuery goal_rollupquery_actualdecimal
		{
			get
			{
				return this.GetRelatedEntity<Xrm.GoalRollupQuery>("goal_rollupquery_actualdecimal", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.GoalRollupQuery>("goal_rollupquery_actualdecimal", "goal_rollupquery_actualdecimal", null, value);
			}
		}
		
		/// <summary>
		/// N:1 goal_rollupquery_actualmoney
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("rollupqueryactualmoneyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goal_rollupquery_actualmoney")]
		public Xrm.GoalRollupQuery goal_rollupquery_actualmoney
		{
			get
			{
				return this.GetRelatedEntity<Xrm.GoalRollupQuery>("goal_rollupquery_actualmoney", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.GoalRollupQuery>("goal_rollupquery_actualmoney", "goal_rollupquery_actualmoney", null, value);
			}
		}
		
		/// <summary>
		/// N:1 goal_rollupquery_customdecimal
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("rollupquerycustomdecimalid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goal_rollupquery_customdecimal")]
		public Xrm.GoalRollupQuery goal_rollupquery_customdecimal
		{
			get
			{
				return this.GetRelatedEntity<Xrm.GoalRollupQuery>("goal_rollupquery_customdecimal", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.GoalRollupQuery>("goal_rollupquery_customdecimal", "goal_rollupquery_customdecimal", null, value);
			}
		}
		
		/// <summary>
		/// N:1 goal_rollupquery_customint
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("rollupquerycustomintegerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goal_rollupquery_customint")]
		public Xrm.GoalRollupQuery goal_rollupquery_customint
		{
			get
			{
				return this.GetRelatedEntity<Xrm.GoalRollupQuery>("goal_rollupquery_customint", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.GoalRollupQuery>("goal_rollupquery_customint", "goal_rollupquery_customint", null, value);
			}
		}
		
		/// <summary>
		/// N:1 goal_rollupquery_custommoney
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("rollupquerycustommoneyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goal_rollupquery_custommoney")]
		public Xrm.GoalRollupQuery goal_rollupquery_custommoney
		{
			get
			{
				return this.GetRelatedEntity<Xrm.GoalRollupQuery>("goal_rollupquery_custommoney", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.GoalRollupQuery>("goal_rollupquery_custommoney", "goal_rollupquery_custommoney", null, value);
			}
		}
		
		/// <summary>
		/// N:1 goal_rollupquery_inprogressdecimal
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("rollupqueryinprogressdecimalid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goal_rollupquery_inprogressdecimal")]
		public Xrm.GoalRollupQuery goal_rollupquery_inprogressdecimal
		{
			get
			{
				return this.GetRelatedEntity<Xrm.GoalRollupQuery>("goal_rollupquery_inprogressdecimal", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.GoalRollupQuery>("goal_rollupquery_inprogressdecimal", "goal_rollupquery_inprogressdecimal", null, value);
			}
		}
		
		/// <summary>
		/// N:1 goal_rollupquery_inprogressint
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("rollupqueryinprogressintegerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goal_rollupquery_inprogressint")]
		public Xrm.GoalRollupQuery goal_rollupquery_inprogressint
		{
			get
			{
				return this.GetRelatedEntity<Xrm.GoalRollupQuery>("goal_rollupquery_inprogressint", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.GoalRollupQuery>("goal_rollupquery_inprogressint", "goal_rollupquery_inprogressint", null, value);
			}
		}
		
		/// <summary>
		/// N:1 goal_rollupquery_inprogressmoney
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("rollupqueryinprogressmoneyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goal_rollupquery_inprogressmoney")]
		public Xrm.GoalRollupQuery goal_rollupquery_inprogressmoney
		{
			get
			{
				return this.GetRelatedEntity<Xrm.GoalRollupQuery>("goal_rollupquery_inprogressmoney", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.GoalRollupQuery>("goal_rollupquery_inprogressmoney", "goal_rollupquery_inprogressmoney", null, value);
			}
		}
		
		/// <summary>
		/// N:1 goalrollupquery_actualint
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("rollupqueryactualintegerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goalrollupquery_actualint")]
		public Xrm.GoalRollupQuery goalrollupquery_actualint
		{
			get
			{
				return this.GetRelatedEntity<Xrm.GoalRollupQuery>("goalrollupquery_actualint", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.GoalRollupQuery>("goalrollupquery_actualint", "goalrollupquery_actualint", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_goal_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_goal_createdby")]
		public Xrm.SystemUser lk_goal_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_goal_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_goal_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_goal_createdonbehalfby")]
		public Xrm.SystemUser lk_goal_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_goal_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_goal_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_goal_modifiedby")]
		public Xrm.SystemUser lk_goal_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_goal_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_goal_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_goal_modifiedonbehalfby")]
		public Xrm.SystemUser lk_goal_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_goal_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 metric_goal
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("metricid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("metric_goal")]
		public Xrm.Metric metric_goal
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Metric>("metric_goal", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Metric>("metric_goal", "metric_goal", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_goal
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_goal")]
		public Xrm.Team team_goal
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_goal", null);
			}
		}
		
		/// <summary>
		/// N:1 team_goal_goalowner
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("goalownerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_goal_goalowner")]
		public Xrm.Team team_goal_goalowner
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_goal_goalowner", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Team>("team_goal_goalowner", "team_goal_goalowner", null, value);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_Goal
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_Goal")]
		public Xrm.TransactionCurrency TransactionCurrency_Goal
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_Goal", null);
			}
		}
		
		/// <summary>
		/// N:1 user_goal
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_goal")]
		public Xrm.SystemUser user_goal
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_goal", null);
			}
		}
		
		/// <summary>
		/// N:1 user_goal_goalowner
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("goalownerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_goal_goalowner")]
		public Xrm.SystemUser user_goal_goalowner
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_goal_goalowner", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("user_goal_goalowner", "user_goal_goalowner", null, value);
			}
		}
	}
	
	/// <summary>
	/// Zapytanie używane do filtrowania wyników zestawienia celu.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("goalrollupquery")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("GoalRollupQuerySet")]
	public partial class GoalRollupQuery : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public GoalRollupQuery() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "goalrollupquery";
		
		public const int EntityTypeCode = 9602;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Ciąg określający kryteria warunku w języku FetchXML.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fetchxml")]
		public string FetchXml
		{
			get
			{
				return this.GetAttributeValue<string>("fetchxml");
			}
			set
			{
				this.SetAttributeValue<string>("FetchXml", "fetchxml", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zapytania zestawienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("goalrollupqueryid")]
		public System.Nullable<System.Guid> GoalRollupQueryId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("goalrollupqueryid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("GoalRollupQueryId", "goalrollupqueryid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("goalrollupqueryid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.GoalRollupQueryId = value;
			}
		}
		
		/// <summary>
		/// Numer sekwencji operacji importu, w wyniku której ten rekord został utworzony.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który zmodyfikował rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina modyfikacji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który zmodyfikował rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa zapytania zestawienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem zapytania zestawienia dotyczącego celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej będącej właścicielem rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu będącego właścicielem rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, do którego należy rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Typ encji zapytania zestawienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("queryentitytype")]
		public string QueryEntityType
		{
			get
			{
				return this.GetAttributeValue<string>("queryentitytype");
			}
			set
			{
				this.SetAttributeValue<string>("QueryEntityType", "queryentitytype", value);
			}
		}
		
		/// <summary>
		/// Stan zapytania zestawienia dotyczącego celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu zapytania zestawienia dotyczącego celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji zapytania zestawienia dotyczącego celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N goal_rollupquery_actualdecimal
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goal_rollupquery_actualdecimal")]
		public System.Collections.Generic.IEnumerable<Xrm.Goal> goal_rollupquery_actualdecimal
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Goal>("goal_rollupquery_actualdecimal", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Goal>("goal_rollupquery_actualdecimal", "goal_rollupquery_actualdecimal", null, value);
			}
		}
		
		/// <summary>
		/// 1:N goal_rollupquery_actualmoney
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goal_rollupquery_actualmoney")]
		public System.Collections.Generic.IEnumerable<Xrm.Goal> goal_rollupquery_actualmoney
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Goal>("goal_rollupquery_actualmoney", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Goal>("goal_rollupquery_actualmoney", "goal_rollupquery_actualmoney", null, value);
			}
		}
		
		/// <summary>
		/// 1:N goal_rollupquery_customdecimal
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goal_rollupquery_customdecimal")]
		public System.Collections.Generic.IEnumerable<Xrm.Goal> goal_rollupquery_customdecimal
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Goal>("goal_rollupquery_customdecimal", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Goal>("goal_rollupquery_customdecimal", "goal_rollupquery_customdecimal", null, value);
			}
		}
		
		/// <summary>
		/// 1:N goal_rollupquery_customint
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goal_rollupquery_customint")]
		public System.Collections.Generic.IEnumerable<Xrm.Goal> goal_rollupquery_customint
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Goal>("goal_rollupquery_customint", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Goal>("goal_rollupquery_customint", "goal_rollupquery_customint", null, value);
			}
		}
		
		/// <summary>
		/// 1:N goal_rollupquery_custommoney
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goal_rollupquery_custommoney")]
		public System.Collections.Generic.IEnumerable<Xrm.Goal> goal_rollupquery_custommoney
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Goal>("goal_rollupquery_custommoney", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Goal>("goal_rollupquery_custommoney", "goal_rollupquery_custommoney", null, value);
			}
		}
		
		/// <summary>
		/// 1:N goal_rollupquery_inprogressdecimal
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goal_rollupquery_inprogressdecimal")]
		public System.Collections.Generic.IEnumerable<Xrm.Goal> goal_rollupquery_inprogressdecimal
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Goal>("goal_rollupquery_inprogressdecimal", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Goal>("goal_rollupquery_inprogressdecimal", "goal_rollupquery_inprogressdecimal", null, value);
			}
		}
		
		/// <summary>
		/// 1:N goal_rollupquery_inprogressint
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goal_rollupquery_inprogressint")]
		public System.Collections.Generic.IEnumerable<Xrm.Goal> goal_rollupquery_inprogressint
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Goal>("goal_rollupquery_inprogressint", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Goal>("goal_rollupquery_inprogressint", "goal_rollupquery_inprogressint", null, value);
			}
		}
		
		/// <summary>
		/// 1:N goal_rollupquery_inprogressmoney
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goal_rollupquery_inprogressmoney")]
		public System.Collections.Generic.IEnumerable<Xrm.Goal> goal_rollupquery_inprogressmoney
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Goal>("goal_rollupquery_inprogressmoney", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Goal>("goal_rollupquery_inprogressmoney", "goal_rollupquery_inprogressmoney", null, value);
			}
		}
		
		/// <summary>
		/// 1:N goalrollupquery_actualint
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goalrollupquery_actualint")]
		public System.Collections.Generic.IEnumerable<Xrm.Goal> goalrollupquery_actualint
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Goal>("goalrollupquery_actualint", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Goal>("goalrollupquery_actualint", "goalrollupquery_actualint", null, value);
			}
		}
		
		/// <summary>
		/// 1:N goalrollupquery_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goalrollupquery_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> goalrollupquery_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("goalrollupquery_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("goalrollupquery_AsyncOperations", "goalrollupquery_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N goalrollupquery_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goalrollupquery_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> goalrollupquery_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("goalrollupquery_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("goalrollupquery_ProcessSessions", "goalrollupquery_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_goalrollupquery
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_goalrollupquery")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_goalrollupquery
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_goalrollupquery", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_goalrollupquery", "userentityinstancedata_goalrollupquery", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_goalrollupquery
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_goalrollupquery")]
		public Xrm.BusinessUnit business_unit_goalrollupquery
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_goalrollupquery", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_goalrollupquery_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_goalrollupquery_createdby")]
		public Xrm.SystemUser lk_goalrollupquery_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_goalrollupquery_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_goalrollupquery_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_goalrollupquery_createdonbehalfby")]
		public Xrm.SystemUser lk_goalrollupquery_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_goalrollupquery_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_goalrollupquery_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_goalrollupquery_modifiedby")]
		public Xrm.SystemUser lk_goalrollupquery_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_goalrollupquery_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_goalrollupquery_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_goalrollupquery_modifiedonbehalfby")]
		public Xrm.SystemUser lk_goalrollupquery_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_goalrollupquery_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 team_goalrollupquery
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_goalrollupquery")]
		public Xrm.Team team_goalrollupquery
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_goalrollupquery", null);
			}
		}
	}
	
	/// <summary>
	/// Informacje o stanie i własności zadania importu.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("import")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ImportSet")]
	public partial class Import : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Import() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "import";
		
		public const int EntityTypeCode = 4410;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył zadanie importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia zadania importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który utworzył operację importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Adres e-mail do wysyłania powiadomień.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("emailaddress")]
		public string EMailAddress
		{
			get
			{
				return this.GetAttributeValue<string>("emailaddress");
			}
			set
			{
				this.SetAttributeValue<string>("EMailAddress", "emailaddress", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zadania importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importid")]
		public System.Nullable<System.Guid> ImportId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("importid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ImportId", "importid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ImportId = value;
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy źródłem tego zadania importu jest import, czy migracja danych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isimport")]
		[System.ObsoleteAttribute()]
		public System.Nullable<bool> IsImport
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isimport");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsImport", "isimport", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy tworzyć, czy aktualizować rekordy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modecode")]
		public System.Nullable<int> ModeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("modecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ModeCode", "modecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który wykonał ostatnią modyfikację zadania importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji zadania importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który jako ostatni zmodyfikował operację importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa zadania importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem zadania importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Jednostka biznesowa, do której należy zadanie importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu będącego właścicielem importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, do którego należy import.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy wysyłać powiadomienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sendnotification")]
		public System.Nullable<bool> SendNotification
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("sendnotification");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("SendNotification", "sendnotification", value);
			}
		}
		
		/// <summary>
		/// Kolejność utworzenia importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sequence")]
		public System.Nullable<int> Sequence
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("sequence");
			}
		}
		
		/// <summary>
		/// Stan zadania importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu zadania importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// 1:N Import_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Import_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Import_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Import_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Import_AsyncOperations", "Import_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Import_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Import_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Import_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Import_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Import_BulkDeleteFailures", "Import_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Import_ImportFile
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Import_ImportFile")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportFile> Import_ImportFile
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportFile>("Import_ImportFile", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportFile>("Import_ImportFile", "Import_ImportFile", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_import
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_import")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_import
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_import", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_import", "userentityinstancedata_import", null, value);
			}
		}
		
		/// <summary>
		/// N:1 BusinessUnit_Imports
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BusinessUnit_Imports")]
		public Xrm.BusinessUnit BusinessUnit_Imports
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("BusinessUnit_Imports", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_import_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_import_createdonbehalfby")]
		public Xrm.SystemUser lk_import_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_import_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_import_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_import_modifiedonbehalfby")]
		public Xrm.SystemUser lk_import_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_import_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_importbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importbase_createdby")]
		public Xrm.SystemUser lk_importbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_importbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_importbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importbase_modifiedby")]
		public Xrm.SystemUser lk_importbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_importbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 SystemUser_Imports
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SystemUser_Imports")]
		public Xrm.SystemUser SystemUser_Imports
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("SystemUser_Imports", null);
			}
		}
		
		/// <summary>
		/// N:1 team_Imports
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_Imports")]
		public Xrm.Team team_Imports
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_Imports", null);
			}
		}
	}
	
	/// <summary>
	/// Mapowanie encji w mapowaniu danych.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("importentitymapping")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ImportEntityMappingSet")]
	public partial class ImportEntityMapping : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ImportEntityMapping() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "importentitymapping";
		
		public const int EntityTypeCode = 4428;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył mapowanie encji importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia mapowania encji importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który utworzył mapowanie encji importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy encja wymaga przetworzenia w celu znalezienia i usunięcia zduplikowanych rekordów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("dedupe")]
		public System.Nullable<int> DeDupe
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("dedupe");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("DeDupe", "dedupe", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator mapowania encji importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importentitymappingid")]
		public System.Nullable<System.Guid> ImportEntityMappingId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("importentitymappingid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ImportEntityMappingId", "importentitymappingid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importentitymappingid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ImportEntityMappingId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego mapowania danych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importmapid")]
		public Microsoft.Xrm.Client.CrmEntityReference ImportMapId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("importmapid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ImportMapId", "importmapid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował mapowanie encji importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji mapowania encji importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który jako ostatni zmodyfikował mapowanie encji importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy mapowanie encji importu wymaga przetworzenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("processcode")]
		public System.Nullable<int> ProcessCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("processcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ProcessCode", "processcode", value);
			}
		}
		
		/// <summary>
		/// Nazwa encji źródłowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sourceentityname")]
		public string SourceEntityName
		{
			get
			{
				return this.GetAttributeValue<string>("sourceentityname");
			}
			set
			{
				this.SetAttributeValue<string>("SourceEntityName", "sourceentityname", value);
			}
		}
		
		/// <summary>
		/// Stan mapowania encji importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu mapowania encji importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Nazwa encji programu Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("targetentityname")]
		public string TargetEntityName
		{
			get
			{
				return this.GetAttributeValue<string>("targetentityname");
			}
			set
			{
				this.SetAttributeValue<string>("TargetEntityName", "targetentityname", value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_importentitymapping
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_importentitymapping")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_importentitymapping
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_importentitymapping", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_importentitymapping", "userentityinstancedata_importentitymapping", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ImportEntityMapping_ImportMap
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importmapid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ImportEntityMapping_ImportMap")]
		public Xrm.ImportMap ImportEntityMapping_ImportMap
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ImportMap>("ImportEntityMapping_ImportMap", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ImportMap>("ImportEntityMapping_ImportMap", "ImportEntityMapping_ImportMap", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_importentitymapping_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importentitymapping_createdby")]
		public Xrm.SystemUser lk_importentitymapping_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_importentitymapping_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_importentitymapping_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importentitymapping_createdonbehalfby")]
		public Xrm.SystemUser lk_importentitymapping_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_importentitymapping_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_importentitymapping_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importentitymapping_modifiedby")]
		public Xrm.SystemUser lk_importentitymapping_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_importentitymapping_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_importentitymapping_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importentitymapping_modifiedonbehalfby")]
		public Xrm.SystemUser lk_importentitymapping_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_importentitymapping_modifiedonbehalfby", null);
			}
		}
	}
	
	/// <summary>
	/// Nazwa pliku używanego do importu.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("importfile")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ImportFileSet")]
	public partial class ImportFile : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ImportFile() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "importfile";
		
		public const int EntityTypeCode = 4412;
		
		/// <summary>
		/// Generowany przez system wiersz nagłówka używany do przetwarzania przekształceń.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("additionalheaderrow")]
		public string AdditionalHeaderRow
		{
			get
			{
				return this.GetAttributeValue<string>("additionalheaderrow");
			}
		}
		
		/// <summary>
		/// Data i godzina ukończenia importu dla tego pliku importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("completedon")]
		public System.Nullable<System.DateTime> CompletedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("completedon");
			}
		}
		
		/// <summary>
		/// Zawartość pliku importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("content")]
		public string Content
		{
			get
			{
				return this.GetAttributeValue<string>("content");
			}
			set
			{
				this.SetAttributeValue<string>("Content", "content", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył rekord pliku importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia pliku importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który utworzył plik importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Jednoznakowy ogranicznik danych używany w pliku importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("datadelimitercode")]
		public System.Nullable<int> DataDelimiterCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("datadelimitercode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("DataDelimiterCode", "datadelimitercode", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy jest włączone wykrywanie duplikatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("enableduplicatedetection")]
		public System.Nullable<bool> EnableDuplicateDetection
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("enableduplicatedetection");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("EnableDuplicateDetection", "enableduplicatedetection", value);
			}
		}
		
		/// <summary>
		/// Liczba rekordów w tym pliku, których nie można było importować.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("failurecount")]
		public System.Nullable<int> FailureCount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("failurecount");
			}
		}
		
		/// <summary>
		/// Jednoznakowy ogranicznik pól używany w pliku importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fielddelimitercode")]
		public System.Nullable<int> FieldDelimiterCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("fielddelimitercode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("FieldDelimiterCode", "fielddelimitercode", value);
			}
		}
		
		/// <summary>
		/// Typ pliku dotyczący przekazanego pliku źródłowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("filetypecode")]
		public System.Nullable<int> FileTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("filetypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("FileTypeCode", "filetypecode", value);
			}
		}
		
		/// <summary>
		/// Wiersz nagłówka pliku importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("headerrow")]
		public string HeaderRow
		{
			get
			{
				return this.GetAttributeValue<string>("headerrow");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator pliku importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importfileid")]
		public System.Nullable<System.Guid> ImportFileId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("importfileid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ImportFileId", "importfileid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importfileid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ImportFileId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zadania importu dla tego pliku importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importid")]
		public Microsoft.Xrm.Client.CrmEntityReference ImportId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("importid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ImportId", "importid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego mapowania danych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importmapid")]
		public Microsoft.Xrm.Client.CrmEntityReference ImportMapId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("importmapid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ImportMapId", "importmapid", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy pierwszy wiersz zawiera nagłówki kolumn.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isfirstrowheader")]
		public System.Nullable<bool> IsFirstRowHeader
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isfirstrowheader");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsFirstRowHeader", "isfirstrowheader", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który wykonał ostatnią modyfikację pliku importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji pliku importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który jako ostatni zmodyfikował plik importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa pliku importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem pliku importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Jednostka biznesowa, do której należy plik importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu będącego właścicielem pliku importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, do którego należy plik importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Prefiks kolumny w przeanalizowanej tabeli.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parsedtablecolumnprefix")]
		public string ParsedTableColumnPrefix
		{
			get
			{
				return this.GetAttributeValue<string>("parsedtablecolumnprefix");
			}
		}
		
		/// <summary>
		/// Całkowita liczba kolumn zawartych w przeanalizowanej tabeli.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parsedtablecolumnsnumber")]
		public System.Nullable<int> ParsedTableColumnsNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("parsedtablecolumnsnumber");
			}
		}
		
		/// <summary>
		/// Nazwa tabeli, która zawiera przeanalizowane dane pliku importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parsedtablename")]
		public string ParsedTableName
		{
			get
			{
				return this.GetAttributeValue<string>("parsedtablename");
			}
		}
		
		/// <summary>
		/// Liczba rekordów w tym pliku, w których podczas aktualizowania wystąpiły błędy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("partialfailurecount")]
		public System.Nullable<int> PartialFailureCount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("partialfailurecount");
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy plik importu ma zostać przetworzony.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("processcode")]
		public System.Nullable<int> ProcessCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("processcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ProcessCode", "processcode", value);
			}
		}
		
		/// <summary>
		/// Szczegółowe informacje o tym, jaka część pliku importu została przetworzona.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("processingstatus")]
		public System.Nullable<int> ProcessingStatus
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("processingstatus");
			}
		}
		
		/// <summary>
		/// Wskazuje stan wykonania operacji. Używany podczas wznawiania wstrzymanego zadania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("progresscounter")]
		public System.Nullable<int> ProgressCounter
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("progresscounter");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator właściciela, do którego są przypisane rekordy importowane z tego pliku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("recordsownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference RecordsOwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("recordsownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RecordsOwnerId", "recordsownerid", value);
			}
		}
		
		/// <summary>
		/// Kolumny encji pokrewnych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("relatedentitycolumns")]
		public string RelatedEntityColumns
		{
			get
			{
				return this.GetAttributeValue<string>("relatedentitycolumns");
			}
			set
			{
				this.SetAttributeValue<string>("RelatedEntityColumns", "relatedentitycolumns", value);
			}
		}
		
		/// <summary>
		/// Rozmiar pliku importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("size")]
		public string Size
		{
			get
			{
				return this.GetAttributeValue<string>("size");
			}
			set
			{
				this.SetAttributeValue<string>("Size", "size", value);
			}
		}
		
		/// <summary>
		/// Źródło pliku importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("source")]
		public string Source
		{
			get
			{
				return this.GetAttributeValue<string>("source");
			}
			set
			{
				this.SetAttributeValue<string>("Source", "source", value);
			}
		}
		
		/// <summary>
		/// Nazwa encji źródłowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sourceentityname")]
		public string SourceEntityName
		{
			get
			{
				return this.GetAttributeValue<string>("sourceentityname");
			}
			set
			{
				this.SetAttributeValue<string>("SourceEntityName", "sourceentityname", value);
			}
		}
		
		/// <summary>
		/// Stan pliku importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu pliku importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Liczba rekordów w tym pliku, które zostały pomyślnie importowane.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("successcount")]
		public System.Nullable<int> SuccessCount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("successcount");
			}
		}
		
		/// <summary>
		/// Nazwa encji programu Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("targetentityname")]
		public string TargetEntityName
		{
			get
			{
				return this.GetAttributeValue<string>("targetentityname");
			}
			set
			{
				this.SetAttributeValue<string>("TargetEntityName", "targetentityname", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Liczba przetworzonych rekordów w tym pliku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totalcount")]
		public System.Nullable<int> TotalCount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("totalcount");
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy mapa systemowa ma być używana.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("usesystemmap")]
		public System.Nullable<bool> UseSystemMap
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("usesystemmap");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("UseSystemMap", "usesystemmap", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// 1:N ImportFile_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ImportFile_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> ImportFile_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("ImportFile_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("ImportFile_AsyncOperations", "ImportFile_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ImportFile_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ImportFile_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> ImportFile_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("ImportFile_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("ImportFile_BulkDeleteFailures", "ImportFile_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ImportLog_ImportFile
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ImportLog_ImportFile")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportLog> ImportLog_ImportFile
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportLog>("ImportLog_ImportFile", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportLog>("ImportLog_ImportFile", "ImportLog_ImportFile", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_importfile
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_importfile")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_importfile
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_importfile", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_importfile", "userentityinstancedata_importfile", null, value);
			}
		}
		
		/// <summary>
		/// N:1 BusinessUnit_ImportFiles
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BusinessUnit_ImportFiles")]
		public Xrm.BusinessUnit BusinessUnit_ImportFiles
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("BusinessUnit_ImportFiles", null);
			}
		}
		
		/// <summary>
		/// N:1 Import_ImportFile
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Import_ImportFile")]
		public Xrm.Import Import_ImportFile
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Import>("Import_ImportFile", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Import>("Import_ImportFile", "Import_ImportFile", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ImportFile_SystemUser
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("recordsownerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ImportFile_SystemUser")]
		public Xrm.SystemUser ImportFile_SystemUser
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("ImportFile_SystemUser", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("ImportFile_SystemUser", "ImportFile_SystemUser", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ImportFile_Team
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("recordsownerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ImportFile_Team")]
		public Xrm.Team ImportFile_Team
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("ImportFile_Team", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Team>("ImportFile_Team", "ImportFile_Team", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ImportMap_ImportFile
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importmapid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ImportMap_ImportFile")]
		public Xrm.ImportMap ImportMap_ImportFile
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ImportMap>("ImportMap_ImportFile", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ImportMap>("ImportMap_ImportFile", "ImportMap_ImportFile", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_importfilebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importfilebase_createdby")]
		public Xrm.SystemUser lk_importfilebase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_importfilebase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_importfilebase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importfilebase_createdonbehalfby")]
		public Xrm.SystemUser lk_importfilebase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_importfilebase_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_importfilebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importfilebase_modifiedby")]
		public Xrm.SystemUser lk_importfilebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_importfilebase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_importfilebase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importfilebase_modifiedonbehalfby")]
		public Xrm.SystemUser lk_importfilebase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_importfilebase_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 SystemUser_ImportFiles
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SystemUser_ImportFiles")]
		public Xrm.SystemUser SystemUser_ImportFiles
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("SystemUser_ImportFiles", null);
			}
		}
		
		/// <summary>
		/// N:1 team_ImportFiles
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_ImportFiles")]
		public Xrm.Team team_ImportFiles
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_ImportFiles", null);
			}
		}
	}
	
	/// <summary>
	/// Tylko do użytku wewnętrznego.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("importjob")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ImportJobSet")]
	public partial class ImportJob : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ImportJob() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "importjob";
		
		public const int EntityTypeCode = 9107;
		
		/// <summary>
		/// Data i godzina ukończenia zadania importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("completedon")]
		public System.Nullable<System.DateTime> CompletedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("completedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył zadanie importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia rekordu zadania importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który utworzył rekord zadania importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Dane bez struktury skojarzone z zadaniem importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("data")]
		public string Data
		{
			get
			{
				return this.GetAttributeValue<string>("data");
			}
			set
			{
				this.SetAttributeValue<string>("Data", "data", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zadania importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importjobid")]
		public System.Nullable<System.Guid> ImportJobId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("importjobid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ImportJobId", "importjobid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importjobid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ImportJobId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który zmodyfikował zadanie importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji zadania importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który zmodyfikował rekord zadania importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa zadania importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z zadaniem importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Procent postępu importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("progress")]
		public System.Nullable<double> Progress
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("progress");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Progress", "progress", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionname")]
		public string SolutionName
		{
			get
			{
				return this.GetAttributeValue<string>("solutionname");
			}
			set
			{
				this.SetAttributeValue<string>("SolutionName", "solutionname", value);
			}
		}
		
		/// <summary>
		/// Data i godzina uruchomienia zadania importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("startedon")]
		public System.Nullable<System.DateTime> StartedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("startedon");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_importjob
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_importjob")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_importjob
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_importjob", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_importjob", "userentityinstancedata_importjob", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_importjobbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importjobbase_createdby")]
		public Xrm.SystemUser lk_importjobbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_importjobbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_importjobbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importjobbase_createdonbehalfby")]
		public Xrm.SystemUser lk_importjobbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_importjobbase_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_importjobbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importjobbase_modifiedby")]
		public Xrm.SystemUser lk_importjobbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_importjobbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_importjobbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importjobbase_modifiedonbehalfby")]
		public Xrm.SystemUser lk_importjobbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_importjobbase_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_importjob
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_importjob")]
		public Xrm.Organization organization_importjob
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_importjob", null);
			}
		}
	}
	
	/// <summary>
	/// Przyczyna niepowodzenia i inne szczegółowe informacje dla rekordu, którego nie można zaimportować.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("importlog")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ImportLogSet")]
	public partial class ImportLog : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ImportLog() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "importlog";
		
		public const int EntityTypeCode = 4423;
		
		/// <summary>
		/// Dodatkowe informacje dotyczące błędu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("additionalinfo")]
		public string AdditionalInfo
		{
			get
			{
				return this.GetAttributeValue<string>("additionalinfo");
			}
			set
			{
				this.SetAttributeValue<string>("AdditionalInfo", "additionalinfo", value);
			}
		}
		
		/// <summary>
		/// Wartość w kolumnie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("columnvalue")]
		public string ColumnValue
		{
			get
			{
				return this.GetAttributeValue<string>("columnvalue");
			}
			set
			{
				this.SetAttributeValue<string>("ColumnValue", "columnvalue", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył dziennik importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia dziennika importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który utworzył dziennik importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis błędu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("errordescription")]
		public string ErrorDescription
		{
			get
			{
				return this.GetAttributeValue<string>("errordescription");
			}
			set
			{
				this.SetAttributeValue<string>("ErrorDescription", "errordescription", value);
			}
		}
		
		/// <summary>
		/// Kod błędu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("errornumber")]
		public System.Nullable<int> ErrorNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("errornumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ErrorNumber", "errornumber", value);
			}
		}
		
		/// <summary>
		/// Nazwa nagłówka kolumny.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("headercolumn")]
		public string HeaderColumn
		{
			get
			{
				return this.GetAttributeValue<string>("headercolumn");
			}
			set
			{
				this.SetAttributeValue<string>("HeaderColumn", "headercolumn", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator danych importu dla tego dziennika importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importdataid")]
		public Microsoft.Xrm.Client.CrmEntityReference ImportDataId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("importdataid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ImportDataId", "importdataid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator pliku importu tego dziennika importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importfileid")]
		public Microsoft.Xrm.Client.CrmEntityReference ImportFileId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("importfileid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ImportFileId", "importfileid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator dziennika importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importlogid")]
		public System.Nullable<System.Guid> ImportLogId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("importlogid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ImportLogId", "importlogid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importlogid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ImportLogId = value;
			}
		}
		
		/// <summary>
		/// Numer oryginalnego wiersza danych użyty w tym dzienniku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("linenumber")]
		public System.Nullable<int> LineNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("linenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("LineNumber", "linenumber", value);
			}
		}
		
		/// <summary>
		/// Faza, dla której został zarejestrowany dziennik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("logphasecode")]
		public System.Nullable<int> LogPhaseCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("logphasecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("LogPhaseCode", "logphasecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który wykonał ostatnią modyfikację dziennika importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji dziennika importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który jako ostatni zmodyfikował dziennik importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem dziennika importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Jednostka biznesowa, do której należy dziennik importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu będącego właścicielem dziennika importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, do którego należy dziennik importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Numer sekwencji błędu w tym dzienniku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sequencenumber")]
		public System.Nullable<int> SequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("sequencenumber");
			}
		}
		
		/// <summary>
		/// Stan dziennika importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu dziennika importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// 1:N ImportLog_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ImportLog_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> ImportLog_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("ImportLog_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("ImportLog_AsyncOperations", "ImportLog_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ImportLog_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ImportLog_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> ImportLog_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("ImportLog_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("ImportLog_BulkDeleteFailures", "ImportLog_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_importlog
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_importlog")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_importlog
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_importlog", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_importlog", "userentityinstancedata_importlog", null, value);
			}
		}
		
		/// <summary>
		/// N:1 BusinessUnit_ImportLogs
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BusinessUnit_ImportLogs")]
		public Xrm.BusinessUnit BusinessUnit_ImportLogs
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("BusinessUnit_ImportLogs", null);
			}
		}
		
		/// <summary>
		/// N:1 ImportLog_ImportFile
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importfileid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ImportLog_ImportFile")]
		public Xrm.ImportFile ImportLog_ImportFile
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ImportFile>("ImportLog_ImportFile", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ImportFile>("ImportLog_ImportFile", "ImportLog_ImportFile", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_importlog_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importlog_createdonbehalfby")]
		public Xrm.SystemUser lk_importlog_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_importlog_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_importlog_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importlog_modifiedonbehalfby")]
		public Xrm.SystemUser lk_importlog_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_importlog_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_importlogbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importlogbase_createdby")]
		public Xrm.SystemUser lk_importlogbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_importlogbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_importlogbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importlogbase_modifiedby")]
		public Xrm.SystemUser lk_importlogbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_importlogbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 SystemUser_ImportLogs
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SystemUser_ImportLogs")]
		public Xrm.SystemUser SystemUser_ImportLogs
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("SystemUser_ImportLogs", null);
			}
		}
		
		/// <summary>
		/// N:1 team_ImportLogs
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_ImportLogs")]
		public Xrm.Team team_ImportLogs
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_ImportLogs", null);
			}
		}
	}
	
	/// <summary>
	/// Mapowanie danych używane podczas importu.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("importmap")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ImportMapSet")]
	public partial class ImportMap : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ImportMap() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "importmap";
		
		public const int EntityTypeCode = 4411;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył mapowanie danych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia mapowania danych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który utworzył mapę importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis mapowania danych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Określa, czy w pliku danych mogą się znajdować dane dotyczące jednej lub wielu encji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("entitiesperfile")]
		public System.Nullable<int> EntitiesPerFile
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("entitiesperfile");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("EntitiesPerFile", "entitiesperfile", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator mapowania danych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importmapid")]
		public System.Nullable<System.Guid> ImportMapId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("importmapid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ImportMapId", "importmapid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importmapid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ImportMapId = value;
			}
		}
		
		/// <summary>
		/// Typ mapowania danych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importmaptype")]
		public System.Nullable<int> ImportMapType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importmaptype");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ImportMapType", "importmaptype", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy mapowanie danych jest prawidłowe dla importu danych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isvalidforimport")]
		public System.Nullable<bool> IsValidForImport
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isvalidforimport");
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy to mapowanie danych zostało utworzone przy użyciu menedżera migracji danych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iswizardcreated")]
		public System.Nullable<bool> IsWizardCreated
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("iswizardcreated");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsWizardCreated", "iswizardcreated", value);
			}
		}
		
		/// <summary>
		/// Plik XML z dostosowaniami.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("mapcustomizations")]
		public string MapCustomizations
		{
			get
			{
				return this.GetAttributeValue<string>("mapcustomizations");
			}
			set
			{
				this.SetAttributeValue<string>("MapCustomizations", "mapcustomizations", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który wykonał ostatnią modyfikację mapowania danych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji mapowania danych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który jako ostatni zmodyfikował mapę importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa mapowania danych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, do którego należy mapowanie danych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Jednostka biznesowa, do której należy mapowanie danych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu będącego właścicielem mapowania danych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, do którego należy mapowanie danych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Nazwa źródła migracji, dla którego jest używane to mapowanie danych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("source")]
		public string Source
		{
			get
			{
				return this.GetAttributeValue<string>("source");
			}
			set
			{
				this.SetAttributeValue<string>("Source", "source", value);
			}
		}
		
		/// <summary>
		/// Typ źródła migracji, dla którego jest używane to mapowanie danych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sourcetype")]
		public System.Nullable<int> SourceType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("sourcetype");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("SourceType", "sourcetype", value);
			}
		}
		
		/// <summary>
		/// Wartość użytkownika źródłowego dla łącza użytkownika źródłowego programu Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sourceuseridentifierforsourcecrmuserlink")]
		public string SourceUserIdentifierForSourceCRMUserLink
		{
			get
			{
				return this.GetAttributeValue<string>("sourceuseridentifierforsourcecrmuserlink");
			}
			set
			{
				this.SetAttributeValue<string>("SourceUserIdentifierForSourceCRMUserLink", "sourceuseridentifierforsourcecrmuserlink", value);
			}
		}
		
		/// <summary>
		/// Kolumna w pliku źródłowym, która jednoznacznie identyfikuje użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sourceuseridentifierforsourcedatasourceuserlink")]
		public string SourceUserIdentifierForSourceDataSourceUserLink
		{
			get
			{
				return this.GetAttributeValue<string>("sourceuseridentifierforsourcedatasourceuserlink");
			}
			set
			{
				this.SetAttributeValue<string>("SourceUserIdentifierForSourceDataSourceUserLink", "sourceuseridentifierforsourcedatasourceuserlink", value);
			}
		}
		
		/// <summary>
		/// Stan mapowania danych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu mapowania danych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Nazwa typu rekordu programu Microsoft Dynamics CRM, dla którego zdefiniowano to mapowanie danych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("targetentity")]
		public System.Nullable<int> TargetEntity
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("targetentity");
			}
		}
		
		/// <summary>
		/// Użytkownik programu Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("targetuseridentifierforsourcecrmuserlink")]
		public string TargetUserIdentifierForSourceCRMUserLink
		{
			get
			{
				return this.GetAttributeValue<string>("targetuseridentifierforsourcecrmuserlink");
			}
			set
			{
				this.SetAttributeValue<string>("TargetUserIdentifierForSourceCRMUserLink", "targetuseridentifierforsourcecrmuserlink", value);
			}
		}
		
		/// <summary>
		/// 1:N ColumnMapping_ImportMap
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ColumnMapping_ImportMap")]
		public System.Collections.Generic.IEnumerable<Xrm.ColumnMapping> ColumnMapping_ImportMap
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ColumnMapping>("ColumnMapping_ImportMap", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ColumnMapping>("ColumnMapping_ImportMap", "ColumnMapping_ImportMap", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ImportEntityMapping_ImportMap
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ImportEntityMapping_ImportMap")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportEntityMapping> ImportEntityMapping_ImportMap
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportEntityMapping>("ImportEntityMapping_ImportMap", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportEntityMapping>("ImportEntityMapping_ImportMap", "ImportEntityMapping_ImportMap", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ImportMap_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ImportMap_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> ImportMap_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("ImportMap_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("ImportMap_AsyncOperations", "ImportMap_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ImportMap_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ImportMap_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> ImportMap_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("ImportMap_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("ImportMap_BulkDeleteFailures", "ImportMap_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ImportMap_ImportFile
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ImportMap_ImportFile")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportFile> ImportMap_ImportFile
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportFile>("ImportMap_ImportFile", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportFile>("ImportMap_ImportFile", "ImportMap_ImportFile", null, value);
			}
		}
		
		/// <summary>
		/// 1:N OwnerMapping_ImportMap
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("OwnerMapping_ImportMap")]
		public System.Collections.Generic.IEnumerable<Xrm.OwnerMapping> OwnerMapping_ImportMap
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OwnerMapping>("OwnerMapping_ImportMap", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OwnerMapping>("OwnerMapping_ImportMap", "OwnerMapping_ImportMap", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransformationMapping_ImportMap
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransformationMapping_ImportMap")]
		public System.Collections.Generic.IEnumerable<Xrm.TransformationMapping> TransformationMapping_ImportMap
		{
			get
			{
				return this.GetRelatedEntities<Xrm.TransformationMapping>("TransformationMapping_ImportMap", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.TransformationMapping>("TransformationMapping_ImportMap", "TransformationMapping_ImportMap", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_importmap
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_importmap")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_importmap
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_importmap", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_importmap", "userentityinstancedata_importmap", null, value);
			}
		}
		
		/// <summary>
		/// N:1 BusinessUnit_ImportMaps
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BusinessUnit_ImportMaps")]
		public Xrm.BusinessUnit BusinessUnit_ImportMaps
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("BusinessUnit_ImportMaps", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_importmap_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importmap_createdonbehalfby")]
		public Xrm.SystemUser lk_importmap_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_importmap_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_importmap_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importmap_modifiedonbehalfby")]
		public Xrm.SystemUser lk_importmap_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_importmap_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_importmapbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importmapbase_createdby")]
		public Xrm.SystemUser lk_importmapbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_importmapbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_importmapbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importmapbase_modifiedby")]
		public Xrm.SystemUser lk_importmapbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_importmapbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 SystemUser_ImportMaps
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SystemUser_ImportMaps")]
		public Xrm.SystemUser SystemUser_ImportMaps
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("SystemUser_ImportMaps", null);
			}
		}
		
		/// <summary>
		/// N:1 team_ImportMaps
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_ImportMaps")]
		public Xrm.Team team_ImportMaps
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_ImportMaps", null);
			}
		}
	}
	
	/// <summary>
	/// Sprawa żądania usługi skojarzona z kontraktem.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("incident")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("IncidentSet")]
	public partial class Incident : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Incident() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "incident";
		
		public const int EntityTypeCode = 112;
		
		/// <summary>
		/// Unikatowy identyfikator klienta, z którym jest skojarzona sprawa.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("accountid")]
		public Microsoft.Xrm.Client.CrmEntityReference AccountId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("accountid");
			}
		}
		
		/// <summary>
		/// Rzeczywista liczba jednostek usług zapewnionych dla sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualserviceunits")]
		public System.Nullable<int> ActualServiceUnits
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("actualserviceunits");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ActualServiceUnits", "actualserviceunits", value);
			}
		}
		
		/// <summary>
		/// Liczba jednostek usług zafakturowanych dla sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billedserviceunits")]
		public System.Nullable<int> BilledServiceUnits
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("billedserviceunits");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("BilledServiceUnits", "billedserviceunits", value);
			}
		}
		
		/// <summary>
		/// Informacje określające źródło danych dotyczących sprawy, takie jak adres sieci Web, telefon lub adres e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("caseorigincode")]
		public System.Nullable<int> CaseOriginCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("caseorigincode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("CaseOriginCode", "caseorigincode", value);
			}
		}
		
		/// <summary>
		/// Informacje określające typ sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("casetypecode")]
		public System.Nullable<int> CaseTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("casetypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("CaseTypeCode", "casetypecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kontaktu skojarzonego ze sprawą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contactid")]
		public Microsoft.Xrm.Client.CrmEntityReference ContactId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("contactid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator określonej pozycji kontraktu mającej odwołanie w sprawie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contractdetailid")]
		public Microsoft.Xrm.Client.CrmEntityReference ContractDetailId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("contractdetailid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ContractDetailId", "contractdetailid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kontraktu mającego odwołanie w sprawie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contractid")]
		public Microsoft.Xrm.Client.CrmEntityReference ContractId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("contractid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ContractId", "contractid", value);
			}
		}
		
		/// <summary>
		/// Poziom obsługi dotyczący sprawy. Poziom obsługi odpowiada poziomowi usług określonemu w kontrakcie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contractservicelevelcode")]
		public System.Nullable<int> ContractServiceLevelCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("contractservicelevelcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ContractServiceLevelCode", "contractservicelevelcode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył sprawę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który utworzył zgłoszenie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator klienta lub kontaktu skojarzonego ze sprawą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		public Microsoft.Xrm.Client.CrmEntityReference CustomerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("customerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("CustomerId", "customerid", value);
			}
		}
		
		/// <summary>
		/// Poziom zadowolenia klienta z rozwiązania sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customersatisfactioncode")]
		public System.Nullable<int> CustomerSatisfactionCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("customersatisfactioncode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("CustomerSatisfactionCode", "customersatisfactioncode", value);
			}
		}
		
		/// <summary>
		/// Opis sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej ze zgłoszeniem względem waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Data, do której pracownik działu obsługi klienta musi zająć się sprawą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("followupby")]
		public System.Nullable<System.DateTime> FollowupBy
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("followupby");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("FollowupBy", "followupby", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("incidentid")]
		public System.Nullable<System.Guid> IncidentId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("incidentid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("IncidentId", "incidentid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("incidentid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.IncidentId = value;
			}
		}
		
		/// <summary>
		/// Etap procesu rozwiązywania sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("incidentstagecode")]
		public System.Nullable<int> IncidentStageCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("incidentstagecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("IncidentStageCode", "incidentstagecode", value);
			}
		}
		
		/// <summary>
		/// Informacje określające, czy sprawa ulega zmniejszeniu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isdecrementing")]
		public System.Nullable<bool> IsDecrementing
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isdecrementing");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsDecrementing", "isdecrementing", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator artykułu z bazy wiedzy skojarzonego ze sprawą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("kbarticleid")]
		public Microsoft.Xrm.Client.CrmEntityReference KbArticleId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("kbarticleid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("KbArticleId", "kbarticleid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który ostatni zmodyfikował sprawę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który jako ostatni zmodyfikował zgłoszenie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej będącej właścicielem sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu będącego właścicielem sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika będącego właścicielem sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Priorytet sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("prioritycode")]
		public System.Nullable<int> PriorityCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("prioritycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PriorityCode", "prioritycode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator produktu skojarzonego ze sprawą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productid")]
		public Microsoft.Xrm.Client.CrmEntityReference ProductId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("productid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ProductId", "productid", value);
			}
		}
		
		/// <summary>
		/// Numer seryjny produktu mającego odwołanie w sprawie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productserialnumber")]
		public string ProductSerialNumber
		{
			get
			{
				return this.GetAttributeValue<string>("productserialnumber");
			}
			set
			{
				this.SetAttributeValue<string>("ProductSerialNumber", "productserialnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kontaktu odpowiedzialnego za rozwiązanie sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("responsiblecontactid")]
		public Microsoft.Xrm.Client.CrmEntityReference ResponsibleContactId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("responsiblecontactid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ResponsibleContactId", "responsiblecontactid", value);
			}
		}
		
		/// <summary>
		/// Ważność sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("severitycode")]
		public System.Nullable<int> SeverityCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("severitycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("SeverityCode", "severitycode", value);
			}
		}
		
		/// <summary>
		/// Stan sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator tematu skojarzonego ze sprawą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subjectid")]
		public Microsoft.Xrm.Client.CrmEntityReference SubjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("subjectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("SubjectId", "subjectid", value);
			}
		}
		
		/// <summary>
		/// Wygenerowany automatycznie numer sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ticketnumber")]
		public string TicketNumber
		{
			get
			{
				return this.GetAttributeValue<string>("ticketnumber");
			}
			set
			{
				this.SetAttributeValue<string>("TicketNumber", "ticketnumber", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Tytuł sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("title")]
		public string Title
		{
			get
			{
				return this.GetAttributeValue<string>("title");
			}
			set
			{
				this.SetAttributeValue<string>("Title", "title", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej ze zgłoszeniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N incident_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("incident_activity_parties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> incident_activity_parties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("incident_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("incident_activity_parties", "incident_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Incident_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_ActivityPointers")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityPointer> Incident_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityPointer>("Incident_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityPointer>("Incident_ActivityPointers", "Incident_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Incident_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> Incident_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("Incident_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("Incident_Annotation", "Incident_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Incident_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_Appointments")]
		public System.Collections.Generic.IEnumerable<Xrm.Appointment> Incident_Appointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Appointment>("Incident_Appointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Appointment>("Incident_Appointments", "Incident_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Incident_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Incident_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Incident_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Incident_AsyncOperations", "Incident_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Incident_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Incident_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Incident_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Incident_BulkDeleteFailures", "Incident_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N incident_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("incident_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> incident_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("incident_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("incident_connections1", "incident_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N incident_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("incident_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> incident_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("incident_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("incident_connections2", "incident_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Incident_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Incident_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Incident_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Incident_DuplicateBaseRecord", "Incident_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Incident_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Incident_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Incident_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Incident_DuplicateMatchingRecord", "Incident_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Incident_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_Emails")]
		public System.Collections.Generic.IEnumerable<Xrm.Email> Incident_Emails
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Email>("Incident_Emails", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Email>("Incident_Emails", "Incident_Emails", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Incident_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_Faxes")]
		public System.Collections.Generic.IEnumerable<Xrm.Fax> Incident_Faxes
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Fax>("Incident_Faxes", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Fax>("Incident_Faxes", "Incident_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Incident_IncidentResolutions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_IncidentResolutions")]
		public System.Collections.Generic.IEnumerable<Xrm.IncidentResolution> Incident_IncidentResolutions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.IncidentResolution>("Incident_IncidentResolutions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.IncidentResolution>("Incident_IncidentResolutions", "Incident_IncidentResolutions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Incident_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_Letters")]
		public System.Collections.Generic.IEnumerable<Xrm.Letter> Incident_Letters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Letter>("Incident_Letters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Letter>("Incident_Letters", "Incident_Letters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Incident_Phonecalls
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_Phonecalls")]
		public System.Collections.Generic.IEnumerable<Xrm.PhoneCall> Incident_Phonecalls
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PhoneCall>("Incident_Phonecalls", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PhoneCall>("Incident_Phonecalls", "Incident_Phonecalls", null, value);
			}
		}
		
		/// <summary>
		/// 1:N incident_PostFollows
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("incident_PostFollows")]
		public System.Collections.Generic.IEnumerable<Xrm.PostFollow> incident_PostFollows
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PostFollow>("incident_PostFollows", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PostFollow>("incident_PostFollows", "incident_PostFollows", null, value);
			}
		}
		
		/// <summary>
		/// 1:N incident_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("incident_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> incident_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("incident_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("incident_principalobjectattributeaccess", "incident_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Incident_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Incident_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Incident_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Incident_ProcessSessions", "Incident_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Incident_QueueItem
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_QueueItem")]
		public System.Collections.Generic.IEnumerable<Xrm.QueueItem> Incident_QueueItem
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QueueItem>("Incident_QueueItem", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QueueItem>("Incident_QueueItem", "Incident_QueueItem", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Incident_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_RecurringAppointmentMasters")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurringAppointmentMaster> Incident_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurringAppointmentMaster>("Incident_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurringAppointmentMaster>("Incident_RecurringAppointmentMasters", "Incident_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Incident_ServiceAppointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_ServiceAppointments")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceAppointment> Incident_ServiceAppointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceAppointment>("Incident_ServiceAppointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceAppointment>("Incident_ServiceAppointments", "Incident_ServiceAppointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Incident_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_Tasks")]
		public System.Collections.Generic.IEnumerable<Xrm.Task> Incident_Tasks
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Task>("Incident_Tasks", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Task>("Incident_Tasks", "Incident_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_incident
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_incident")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_incident
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_incident", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_incident", "userentityinstancedata_incident", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_incidents
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_incidents")]
		public Xrm.BusinessUnit business_unit_incidents
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_incidents", null);
			}
		}
		
		/// <summary>
		/// N:1 contact_as_responsible_contact
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("responsiblecontactid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contact_as_responsible_contact")]
		public Xrm.Contact contact_as_responsible_contact
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("contact_as_responsible_contact", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("contact_as_responsible_contact", "contact_as_responsible_contact", null, value);
			}
		}
		
		/// <summary>
		/// N:1 contract_cases
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contractid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contract_cases")]
		public Xrm.Contract contract_cases
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contract>("contract_cases", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contract>("contract_cases", "contract_cases", null, value);
			}
		}
		
		/// <summary>
		/// N:1 contract_detail_cases
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contractdetailid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contract_detail_cases")]
		public Xrm.ContractDetail contract_detail_cases
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ContractDetail>("contract_detail_cases", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ContractDetail>("contract_detail_cases", "contract_detail_cases", null, value);
			}
		}
		
		/// <summary>
		/// N:1 incident_customer_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("incident_customer_accounts")]
		public Xrm.Account incident_customer_accounts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("incident_customer_accounts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("incident_customer_accounts", "incident_customer_accounts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 incident_customer_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("incident_customer_contacts")]
		public Xrm.Contact incident_customer_contacts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("incident_customer_contacts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("incident_customer_contacts", "incident_customer_contacts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 kbarticle_incidents
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("kbarticleid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("kbarticle_incidents")]
		public Xrm.KbArticle kbarticle_incidents
		{
			get
			{
				return this.GetRelatedEntity<Xrm.KbArticle>("kbarticle_incidents", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.KbArticle>("kbarticle_incidents", "kbarticle_incidents", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_incidentbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_incidentbase_createdby")]
		public Xrm.SystemUser lk_incidentbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_incidentbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_incidentbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_incidentbase_createdonbehalfby")]
		public Xrm.SystemUser lk_incidentbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_incidentbase_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_incidentbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_incidentbase_modifiedby")]
		public Xrm.SystemUser lk_incidentbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_incidentbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_incidentbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_incidentbase_modifiedonbehalfby")]
		public Xrm.SystemUser lk_incidentbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_incidentbase_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 product_incidents
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("product_incidents")]
		public Xrm.Product product_incidents
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Product>("product_incidents", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Product>("product_incidents", "product_incidents", null, value);
			}
		}
		
		/// <summary>
		/// N:1 subject_incidents
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("subject_incidents")]
		public Xrm.Subject subject_incidents
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Subject>("subject_incidents", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Subject>("subject_incidents", "subject_incidents", null, value);
			}
		}
		
		/// <summary>
		/// N:1 system_user_incidents
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_incidents")]
		public Xrm.SystemUser system_user_incidents
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("system_user_incidents", null);
			}
		}
		
		/// <summary>
		/// N:1 team_incidents
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_incidents")]
		public Xrm.Team team_incidents
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_incidents", null);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_Incident
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_Incident")]
		public Xrm.TransactionCurrency TransactionCurrency_Incident
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_Incident", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_Incident", "TransactionCurrency_Incident", null, value);
			}
		}
	}
	
	/// <summary>
	/// Specjalny typ działania, który obejmuje opis rozwiązania, stan rozliczenia i czas trwania sprawy.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("incidentresolution")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("IncidentResolutionSet")]
	public partial class IncidentResolution : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public IncidentResolution() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "incidentresolution";
		
		public const int EntityTypeCode = 4206;
		
		/// <summary>
		/// Unikatowy identyfikator działania dotyczącego obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public System.Nullable<System.Guid> ActivityId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("activityid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ActivityId", "activityid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ActivityId = value;
			}
		}
		
		/// <summary>
		/// Typ działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activitytypecode")]
		public string ActivityTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("activitytypecode");
			}
		}
		
		/// <summary>
		/// Rzeczywisty czas trwania działania dotyczącego obsługi sprawy w minutach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualdurationminutes")]
		public System.Nullable<int> ActualDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("actualdurationminutes");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ActualDurationMinutes", "actualdurationminutes", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista godzina zakończenia działania dotyczącego obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualend")]
		public System.Nullable<System.DateTime> ActualEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualEnd", "actualend", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista godzina rozpoczęcia działania dotyczącego obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualstart")]
		public System.Nullable<System.DateTime> ActualStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualStart", "actualstart", value);
			}
		}
		
		/// <summary>
		/// Kategoria działania dotyczącego obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("category")]
		public string Category
		{
			get
			{
				return this.GetAttributeValue<string>("category");
			}
			set
			{
				this.SetAttributeValue<string>("Category", "category", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył działanie dotyczące obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia działania dotyczącego obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który utworzył obsługę zgłoszenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Specjalny typ działania zawierający takie informacje, jak opis obsługi, stan fakturowania i czas trwania sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("incidentid")]
		public Microsoft.Xrm.Client.CrmEntityReference IncidentId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("incidentid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("IncidentId", "incidentid", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy działanie dotyczące obsługi sprawy zostało zafakturowane jako część obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isbilled")]
		public System.Nullable<bool> IsBilled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isbilled");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsBilled", "isbilled", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy działanie ma charakter regularny, czy też jest zdarzeniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isregularactivity")]
		public System.Nullable<bool> IsRegularActivity
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isregularactivity");
			}
		}
		
		/// <summary>
		/// Informacja, czy działanie dotyczące obsługi sprawy zostało utworzone na podstawie reguły przepływu pracy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isworkflowcreated")]
		public System.Nullable<bool> IsWorkflowCreated
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isworkflowcreated");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsWorkflowCreated", "isworkflowcreated", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował działanie w formie obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji działania dotyczącego obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który zmodyfikował obsługę sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem działania dotyczącego rozwiązania sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem działania dotyczącego obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, do którego należy rozwiązanie sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, do którego należy rozwiązanie sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Zaplanowany czas trwania działania dotyczącego obsługi sprawy w minutach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduleddurationminutes")]
		public System.Nullable<int> ScheduledDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("scheduleddurationminutes");
			}
		}
		
		/// <summary>
		/// Zaplanowana godzina zakończenia działania dotyczącego obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledend")]
		public System.Nullable<System.DateTime> ScheduledEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ScheduledEnd", "scheduledend", value);
			}
		}
		
		/// <summary>
		/// Zaplanowana godzina rozpoczęcia działania dotyczącego obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledstart")]
		public System.Nullable<System.DateTime> ScheduledStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ScheduledStart", "scheduledstart", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator usługi, z którą jest skojarzone działanie dotyczące obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		public Microsoft.Xrm.Client.CrmEntityReference ServiceId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("serviceid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ServiceId", "serviceid", value);
			}
		}
		
		/// <summary>
		/// Stan działania dotyczącego obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu działania dotyczącego obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Podkategoria działania dotyczącego obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subcategory")]
		public string Subcategory
		{
			get
			{
				return this.GetAttributeValue<string>("subcategory");
			}
			set
			{
				this.SetAttributeValue<string>("Subcategory", "subcategory", value);
			}
		}
		
		/// <summary>
		/// Temat związany z działaniem dotyczącym obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subject")]
		public string Subject
		{
			get
			{
				return this.GetAttributeValue<string>("subject");
			}
			set
			{
				this.SetAttributeValue<string>("Subject", "subject", value);
			}
		}
		
		/// <summary>
		/// Czas poświęcony na działanie dotyczące obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timespent")]
		public System.Nullable<int> TimeSpent
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timespent");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeSpent", "timespent", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N incidentresolution_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("incidentresolution_activity_parties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> incidentresolution_activity_parties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("incidentresolution_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("incidentresolution_activity_parties", "incidentresolution_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N IncidentResolution_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("IncidentResolution_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> IncidentResolution_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("IncidentResolution_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("IncidentResolution_Annotation", "IncidentResolution_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N IncidentResolution_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("IncidentResolution_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> IncidentResolution_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("IncidentResolution_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("IncidentResolution_AsyncOperations", "IncidentResolution_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N IncidentResolution_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("IncidentResolution_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> IncidentResolution_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("IncidentResolution_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("IncidentResolution_BulkDeleteFailures", "IncidentResolution_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_incidentresolution
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_incidentresolution")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_incidentresolution
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_incidentresolution", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_incidentresolution", "userentityinstancedata_incidentresolution", null, value);
			}
		}
		
		/// <summary>
		/// N:1 activity_pointer_incident_resolution
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_incident_resolution")]
		public Xrm.ActivityPointer activity_pointer_incident_resolution
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_incident_resolution", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_incident_resolution", "activity_pointer_incident_resolution", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_incident_resolution_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_incident_resolution_activities")]
		public Xrm.BusinessUnit business_unit_incident_resolution_activities
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_incident_resolution_activities", null);
			}
		}
		
		/// <summary>
		/// N:1 Incident_IncidentResolutions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("incidentid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_IncidentResolutions")]
		public Xrm.Incident Incident_IncidentResolutions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Incident>("Incident_IncidentResolutions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Incident>("Incident_IncidentResolutions", "Incident_IncidentResolutions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_incidentresolution_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_incidentresolution_createdby")]
		public Xrm.SystemUser lk_incidentresolution_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_incidentresolution_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_incidentresolution_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_incidentresolution_createdonbehalfby")]
		public Xrm.SystemUser lk_incidentresolution_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_incidentresolution_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_incidentresolution_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_incidentresolution_modifiedby")]
		public Xrm.SystemUser lk_incidentresolution_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_incidentresolution_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_incidentresolution_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_incidentresolution_modifiedonbehalfby")]
		public Xrm.SystemUser lk_incidentresolution_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_incidentresolution_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 service_incidentresolutions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_incidentresolutions")]
		public Xrm.Service service_incidentresolutions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Service>("service_incidentresolutions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Service>("service_incidentresolutions", "service_incidentresolutions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_incidentresolution
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_incidentresolution")]
		public Xrm.Team team_incidentresolution
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_incidentresolution", null);
			}
		}
		
		/// <summary>
		/// N:1 user_incidentresolution
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_incidentresolution")]
		public Xrm.SystemUser user_incidentresolution
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_incidentresolution", null);
			}
		}
	}
	
	/// <summary>
	/// Nieprawidłowa zależność w systemie CRM.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("invaliddependency")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("InvalidDependencySet")]
	public partial class InvalidDependency : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public InvalidDependency() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "invaliddependency";
		
		public const int EntityTypeCode = 7107;
		
		/// <summary>
		/// Unikatowy identyfikator obiektu mającego nieprawidłową zależność.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("existingcomponentid")]
		public System.Nullable<System.Guid> ExistingComponentId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("existingcomponentid");
			}
		}
		
		/// <summary>
		/// Typ składnika dotyczący obiektu mającego nieprawidłową zależność.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("existingcomponenttype")]
		public System.Nullable<int> ExistingComponentType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("existingcomponenttype");
			}
		}
		
		/// <summary>
		/// Typ nieprawidłowej zależności.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("existingdependencytype")]
		public System.Nullable<int> ExistingDependencyType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("existingdependencytype");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator nieprawidłowej zależności.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("invaliddependencyid")]
		public System.Nullable<System.Guid> InvalidDependencyId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("invaliddependencyid");
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("invaliddependencyid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				base.Id = value;
			}
		}
		
		/// <summary>
		/// Wskazuje, czy istniejący węzeł jest składnikiem wymaganym w danej zależności.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isexistingnoderequiredcomponent")]
		public System.Nullable<bool> IsExistingNodeRequiredComponent
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isexistingnoderequiredcomponent");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator brakującego składnika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("missingcomponentid")]
		public System.Nullable<System.Guid> MissingComponentId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("missingcomponentid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("MissingComponentId", "missingcomponentid", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("missingcomponentinfo")]
		public string MissingComponentInfo
		{
			get
			{
				return this.GetAttributeValue<string>("missingcomponentinfo");
			}
		}
		
		/// <summary>
		/// Typ wyszukiwania brakującego składnika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("missingcomponentlookuptype")]
		public System.Nullable<int> MissingComponentLookupType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("missingcomponentlookuptype");
			}
		}
		
		/// <summary>
		/// Kod typu obiektu brakującego składnika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("missingcomponenttype")]
		public System.Nullable<int> MissingComponentType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("missingcomponenttype");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_invaliddependency
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_invaliddependency")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_invaliddependency
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_invaliddependency", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_invaliddependency", "userentityinstancedata_invaliddependency", null, value);
			}
		}
	}
	
	/// <summary>
	/// Zamówienie, które zostało zafakturowane.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("invoice")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("InvoiceSet")]
	public partial class Invoice : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Invoice() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "invoice";
		
		public const int EntityTypeCode = 1090;
		
		/// <summary>
		/// Unikatowy identyfikator konta, z którym jest skojarzona faktura.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("accountid")]
		public Microsoft.Xrm.Client.CrmEntityReference AccountId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("accountid");
			}
		}
		
		/// <summary>
		/// Nazwa miasta dla adresu na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_city")]
		public string BillTo_City
		{
			get
			{
				return this.GetAttributeValue<string>("billto_city");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_City", "billto_city", value);
			}
		}
		
		/// <summary>
		/// Nazwa kraju/regionu w adresie na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_country")]
		public string BillTo_Country
		{
			get
			{
				return this.GetAttributeValue<string>("billto_country");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_Country", "billto_country", value);
			}
		}
		
		/// <summary>
		/// Numer faksu skojarzony z adresem na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_fax")]
		public string BillTo_Fax
		{
			get
			{
				return this.GetAttributeValue<string>("billto_fax");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_Fax", "billto_fax", value);
			}
		}
		
		/// <summary>
		/// Pierwszy wiersz do wprowadzenia informacji o adresie na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_line1")]
		public string BillTo_Line1
		{
			get
			{
				return this.GetAttributeValue<string>("billto_line1");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_Line1", "billto_line1", value);
			}
		}
		
		/// <summary>
		/// Drugi wiersz do wprowadzenia informacji o adresie na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_line2")]
		public string BillTo_Line2
		{
			get
			{
				return this.GetAttributeValue<string>("billto_line2");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_Line2", "billto_line2", value);
			}
		}
		
		/// <summary>
		/// Trzeci wiersz do wprowadzenia informacji o adresie na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_line3")]
		public string BillTo_Line3
		{
			get
			{
				return this.GetAttributeValue<string>("billto_line3");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_Line3", "billto_line3", value);
			}
		}
		
		/// <summary>
		/// Nazwa do wprowadzenia w adresie na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_name")]
		public string BillTo_Name
		{
			get
			{
				return this.GetAttributeValue<string>("billto_name");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_Name", "billto_name", value);
			}
		}
		
		/// <summary>
		/// Kod pocztowy w adresie na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_postalcode")]
		public string BillTo_PostalCode
		{
			get
			{
				return this.GetAttributeValue<string>("billto_postalcode");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_PostalCode", "billto_postalcode", value);
			}
		}
		
		/// <summary>
		/// Województwo w adresie na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_stateorprovince")]
		public string BillTo_StateOrProvince
		{
			get
			{
				return this.GetAttributeValue<string>("billto_stateorprovince");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_StateOrProvince", "billto_stateorprovince", value);
			}
		}
		
		/// <summary>
		/// Numer telefonu skojarzony z adresem na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_telephone")]
		public string BillTo_Telephone
		{
			get
			{
				return this.GetAttributeValue<string>("billto_telephone");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_Telephone", "billto_telephone", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kontaktu skojarzonego z fakturą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contactid")]
		public Microsoft.Xrm.Client.CrmEntityReference ContactId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("contactid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył fakturę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia faktury.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który utworzył fakturę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator klienta lub kontaktu skojarzonego z fakturą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		public Microsoft.Xrm.Client.CrmEntityReference CustomerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("customerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("CustomerId", "customerid", value);
			}
		}
		
		/// <summary>
		/// Data dostarczenia wszystkich produktów na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("datedelivered")]
		public System.Nullable<System.DateTime> DateDelivered
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("datedelivered");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("DateDelivered", "datedelivered", value);
			}
		}
		
		/// <summary>
		/// Opis faktury.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Rabat określony jako kwota pieniężna na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("discountamount")]
		public System.Nullable<decimal> DiscountAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("discountamount");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("DiscountAmount", "discountamount", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej rabatu określonego jako ilość w gotówce na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("discountamount_base")]
		public System.Nullable<decimal> DiscountAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("discountamount_base");
			}
		}
		
		/// <summary>
		/// Rabat określony jako wartość procentowa na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("discountpercentage")]
		public System.Nullable<decimal> DiscountPercentage
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("discountpercentage");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("DiscountPercentage", "discountpercentage", value);
			}
		}
		
		/// <summary>
		/// Data, do której faktura musi zostać zapłacona.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duedate")]
		public System.Nullable<System.DateTime> DueDate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("duedate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("DueDate", "duedate", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z fakturą w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Koszt frachtu na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("freightamount")]
		public System.Nullable<decimal> FreightAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("freightamount");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("FreightAmount", "freightamount", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik kosztu frachtu dla faktury w walucie podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("freightamount_base")]
		public System.Nullable<decimal> FreightAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("freightamount_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator faktury.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("invoiceid")]
		public System.Nullable<System.Guid> InvoiceId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("invoiceid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("InvoiceId", "invoiceid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("invoiceid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.InvoiceId = value;
			}
		}
		
		/// <summary>
		/// Numer faktury.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("invoicenumber")]
		public string InvoiceNumber
		{
			get
			{
				return this.GetAttributeValue<string>("invoicenumber");
			}
			set
			{
				this.SetAttributeValue<string>("InvoiceNumber", "invoicenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy kalkulacja cen na fakturze jest zablokowana.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ispricelocked")]
		public System.Nullable<bool> IsPriceLocked
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ispricelocked");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniego przekazania faktury do programu Microsoft Great Plains.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("lastbackofficesubmit")]
		public System.Nullable<System.DateTime> LastBackofficeSubmit
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("lastbackofficesubmit");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("LastBackofficeSubmit", "lastbackofficesubmit", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował fakturę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji faktury.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który jako ostatni zmodyfikował fakturę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa faktury.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator szansy sprzedaży, z którą jest skojarzona faktura.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("opportunityid")]
		public Microsoft.Xrm.Client.CrmEntityReference OpportunityId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("opportunityid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OpportunityId", "opportunityid", value);
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem faktury.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej będącej właścicielem faktury.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu będącego właścicielem faktury.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika będącego właścicielem faktury.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Warunki płatności faktury.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("paymenttermscode")]
		public System.Nullable<int> PaymentTermsCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("paymenttermscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PaymentTermsCode", "paymenttermscode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator cennika skojarzonego z fakturą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pricelevelid")]
		public Microsoft.Xrm.Client.CrmEntityReference PriceLevelId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("pricelevelid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("PriceLevelId", "pricelevelid", value);
			}
		}
		
		/// <summary>
		/// Typ błędu kalkulacji cen na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pricingerrorcode")]
		public System.Nullable<int> PricingErrorCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("pricingerrorcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PricingErrorCode", "pricingerrorcode", value);
			}
		}
		
		/// <summary>
		/// Priorytet faktury.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("prioritycode")]
		public System.Nullable<int> PriorityCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("prioritycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PriorityCode", "prioritycode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zamówienia skojarzonego z fakturą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salesorderid")]
		public Microsoft.Xrm.Client.CrmEntityReference SalesOrderId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("salesorderid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("SalesOrderId", "salesorderid", value);
			}
		}
		
		/// <summary>
		/// Metoda wysyłki dla faktury.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shippingmethodcode")]
		public System.Nullable<int> ShippingMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("shippingmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ShippingMethodCode", "shippingmethodcode", value);
			}
		}
		
		/// <summary>
		/// Nazwa miasta dla adresu wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_city")]
		public string ShipTo_City
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_city");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_City", "shipto_city", value);
			}
		}
		
		/// <summary>
		/// Nazwa kraju/regionu w adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_country")]
		public string ShipTo_Country
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_country");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Country", "shipto_country", value);
			}
		}
		
		/// <summary>
		/// Numer faksu skojarzony z adresem wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_fax")]
		public string ShipTo_Fax
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_fax");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Fax", "shipto_fax", value);
			}
		}
		
		/// <summary>
		/// Warunki frachtu dla adresu wysyłkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_freighttermscode")]
		public System.Nullable<int> ShipTo_FreightTermsCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("shipto_freighttermscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ShipTo_FreightTermsCode", "shipto_freighttermscode", value);
			}
		}
		
		/// <summary>
		/// Pierwszy wiersz do wprowadzenia informacji o adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_line1")]
		public string ShipTo_Line1
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_line1");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Line1", "shipto_line1", value);
			}
		}
		
		/// <summary>
		/// Drugi wiersz do wprowadzenia informacji o adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_line2")]
		public string ShipTo_Line2
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_line2");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Line2", "shipto_line2", value);
			}
		}
		
		/// <summary>
		/// Trzeci wiersz do wprowadzenia informacji o adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_line3")]
		public string ShipTo_Line3
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_line3");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Line3", "shipto_line3", value);
			}
		}
		
		/// <summary>
		/// Nazwa do wprowadzenia w adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_name")]
		public string ShipTo_Name
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_name");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Name", "shipto_name", value);
			}
		}
		
		/// <summary>
		/// Kod pocztowy w adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_postalcode")]
		public string ShipTo_PostalCode
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_postalcode");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_PostalCode", "shipto_postalcode", value);
			}
		}
		
		/// <summary>
		/// Województwo w adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_stateorprovince")]
		public string ShipTo_StateOrProvince
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_stateorprovince");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_StateOrProvince", "shipto_stateorprovince", value);
			}
		}
		
		/// <summary>
		/// Numer telefonu skojarzony z adresem wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_telephone")]
		public string ShipTo_Telephone
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_telephone");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Telephone", "shipto_telephone", value);
			}
		}
		
		/// <summary>
		/// Stan faktury.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu faktury.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Łączna cena dla faktury.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totalamount")]
		public System.Nullable<decimal> TotalAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totalamount");
			}
		}
		
		/// <summary>
		/// Odpowiednik ceny całkowitej faktury w walucie podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totalamount_base")]
		public System.Nullable<decimal> TotalAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totalamount_base");
			}
		}
		
		/// <summary>
		/// Łączna cena minus opłaty za fracht dla faktury.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totalamountlessfreight")]
		public System.Nullable<decimal> TotalAmountLessFreight
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totalamountlessfreight");
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej ceny całkowitej pomniejszonej o koszt frachtu dla faktury.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totalamountlessfreight_base")]
		public System.Nullable<decimal> TotalAmountLessFreight_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totalamountlessfreight_base");
			}
		}
		
		/// <summary>
		/// Łączny rabat dla faktury.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totaldiscountamount")]
		public System.Nullable<decimal> TotalDiscountAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totaldiscountamount");
			}
		}
		
		/// <summary>
		/// Odpowiednik rabatu całkowitego dla faktury w walucie podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totaldiscountamount_base")]
		public System.Nullable<decimal> TotalDiscountAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totaldiscountamount_base");
			}
		}
		
		/// <summary>
		/// Łączna kwota pozycji dla faktury.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totallineitemamount")]
		public System.Nullable<decimal> TotalLineItemAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totallineitemamount");
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej kwoty pozycji wiersza sumy dla faktury
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totallineitemamount_base")]
		public System.Nullable<decimal> TotalLineItemAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totallineitemamount_base");
			}
		}
		
		/// <summary>
		/// Łączny rabat pozycji dla faktury.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totallineitemdiscountamount")]
		public System.Nullable<decimal> TotalLineItemDiscountAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totallineitemdiscountamount");
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej rabatu pozycji wiersza sumy dla faktury.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totallineitemdiscountamount_base")]
		public System.Nullable<decimal> TotalLineItemDiscountAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totallineitemdiscountamount_base");
			}
		}
		
		/// <summary>
		/// Łączny podatek dla faktury.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totaltax")]
		public System.Nullable<decimal> TotalTax
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totaltax");
			}
		}
		
		/// <summary>
		/// Odpowiednik łącznego podatku dla faktury w walucie podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totaltax_base")]
		public System.Nullable<decimal> TotalTax_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totaltax_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z fakturą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji faktury.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy klient zgłosi się po zafakturowane produkty, czy mają one zostać wysłane.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("willcall")]
		public System.Nullable<bool> WillCall
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("willcall");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("WillCall", "willcall", value);
			}
		}
		
		/// <summary>
		/// 1:N invoice_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("invoice_activity_parties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> invoice_activity_parties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("invoice_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("invoice_activity_parties", "invoice_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Invoice_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Invoice_ActivityPointers")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityPointer> Invoice_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityPointer>("Invoice_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityPointer>("Invoice_ActivityPointers", "Invoice_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Invoice_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Invoice_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> Invoice_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("Invoice_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("Invoice_Annotation", "Invoice_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Invoice_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Invoice_Appointments")]
		public System.Collections.Generic.IEnumerable<Xrm.Appointment> Invoice_Appointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Appointment>("Invoice_Appointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Appointment>("Invoice_Appointments", "Invoice_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Invoice_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Invoice_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Invoice_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Invoice_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Invoice_AsyncOperations", "Invoice_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Invoice_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Invoice_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Invoice_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Invoice_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Invoice_BulkDeleteFailures", "Invoice_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N invoice_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("invoice_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> invoice_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("invoice_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("invoice_connections1", "invoice_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N invoice_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("invoice_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> invoice_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("invoice_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("invoice_connections2", "invoice_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N invoice_details
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("invoice_details")]
		public System.Collections.Generic.IEnumerable<Xrm.InvoiceDetail> invoice_details
		{
			get
			{
				return this.GetRelatedEntities<Xrm.InvoiceDetail>("invoice_details", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.InvoiceDetail>("invoice_details", "invoice_details", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Invoice_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Invoice_Emails")]
		public System.Collections.Generic.IEnumerable<Xrm.Email> Invoice_Emails
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Email>("Invoice_Emails", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Email>("Invoice_Emails", "Invoice_Emails", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Invoice_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Invoice_Faxes")]
		public System.Collections.Generic.IEnumerable<Xrm.Fax> Invoice_Faxes
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Fax>("Invoice_Faxes", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Fax>("Invoice_Faxes", "Invoice_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Invoice_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Invoice_Letters")]
		public System.Collections.Generic.IEnumerable<Xrm.Letter> Invoice_Letters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Letter>("Invoice_Letters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Letter>("Invoice_Letters", "Invoice_Letters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Invoice_Phonecalls
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Invoice_Phonecalls")]
		public System.Collections.Generic.IEnumerable<Xrm.PhoneCall> Invoice_Phonecalls
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PhoneCall>("Invoice_Phonecalls", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PhoneCall>("Invoice_Phonecalls", "Invoice_Phonecalls", null, value);
			}
		}
		
		/// <summary>
		/// 1:N invoice_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("invoice_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> invoice_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("invoice_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("invoice_principalobjectattributeaccess", "invoice_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Invoice_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Invoice_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Invoice_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Invoice_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Invoice_ProcessSessions", "Invoice_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Invoice_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Invoice_RecurringAppointmentMasters")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurringAppointmentMaster> Invoice_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurringAppointmentMaster>("Invoice_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurringAppointmentMaster>("Invoice_RecurringAppointmentMasters", "Invoice_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Invoice_ServiceAppointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Invoice_ServiceAppointments")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceAppointment> Invoice_ServiceAppointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceAppointment>("Invoice_ServiceAppointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceAppointment>("Invoice_ServiceAppointments", "Invoice_ServiceAppointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Invoice_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Invoice_Tasks")]
		public System.Collections.Generic.IEnumerable<Xrm.Task> Invoice_Tasks
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Task>("Invoice_Tasks", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Task>("Invoice_Tasks", "Invoice_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_invoice
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_invoice")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_invoice
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_invoice", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_invoice", "userentityinstancedata_invoice", null, value);
			}
		}
		
		/// <summary>
		/// N:N contactinvoices_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contactinvoices_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Contact> contactinvoices_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contact>("contactinvoices_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contact>("contactinvoices_association", "contactinvoices_association", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_invoices
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_invoices")]
		public Xrm.BusinessUnit business_unit_invoices
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_invoices", null);
			}
		}
		
		/// <summary>
		/// N:1 invoice_customer_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("invoice_customer_accounts")]
		public Xrm.Account invoice_customer_accounts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("invoice_customer_accounts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("invoice_customer_accounts", "invoice_customer_accounts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 invoice_customer_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("invoice_customer_contacts")]
		public Xrm.Contact invoice_customer_contacts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("invoice_customer_contacts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("invoice_customer_contacts", "invoice_customer_contacts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_invoice_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_invoice_createdonbehalfby")]
		public Xrm.SystemUser lk_invoice_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_invoice_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_invoice_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_invoice_modifiedonbehalfby")]
		public Xrm.SystemUser lk_invoice_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_invoice_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_invoicebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_invoicebase_createdby")]
		public Xrm.SystemUser lk_invoicebase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_invoicebase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_invoicebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_invoicebase_modifiedby")]
		public Xrm.SystemUser lk_invoicebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_invoicebase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 opportunity_invoices
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("opportunityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunity_invoices")]
		public Xrm.Opportunity opportunity_invoices
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Opportunity>("opportunity_invoices", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Opportunity>("opportunity_invoices", "opportunity_invoices", null, value);
			}
		}
		
		/// <summary>
		/// N:1 order_invoices
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salesorderid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("order_invoices")]
		public Xrm.SalesOrder order_invoices
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesOrder>("order_invoices", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesOrder>("order_invoices", "order_invoices", null, value);
			}
		}
		
		/// <summary>
		/// N:1 price_level_invoices
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pricelevelid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("price_level_invoices")]
		public Xrm.PriceLevel price_level_invoices
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PriceLevel>("price_level_invoices", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PriceLevel>("price_level_invoices", "price_level_invoices", null, value);
			}
		}
		
		/// <summary>
		/// N:1 system_user_invoices
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_invoices")]
		public Xrm.SystemUser system_user_invoices
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("system_user_invoices", null);
			}
		}
		
		/// <summary>
		/// N:1 team_invoices
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_invoices")]
		public Xrm.Team team_invoices
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_invoices", null);
			}
		}
		
		/// <summary>
		/// N:1 transactioncurrency_invoice
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_invoice")]
		public Xrm.TransactionCurrency transactioncurrency_invoice
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_invoice", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_invoice", "transactioncurrency_invoice", null, value);
			}
		}
	}
	
	/// <summary>
	/// Pozycja na fakturze zawierająca szczegółowe informacje o fakturowaniu danego produktu.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("invoicedetail")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("InvoiceDetailSet")]
	public partial class InvoiceDetail : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public InvoiceDetail() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "invoicedetail";
		
		public const int EntityTypeCode = 1091;
		
		/// <summary>
		/// Data dostarczenia produktu na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualdeliveryon")]
		public System.Nullable<System.DateTime> ActualDeliveryOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualdeliveryon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualDeliveryOn", "actualdeliveryon", value);
			}
		}
		
		/// <summary>
		/// Suma częściowa dotycząca produktu zafakturowanego przed zastosowaniem rabatów i dodaniem podatków.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baseamount")]
		public System.Nullable<decimal> BaseAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("baseamount");
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej sumy częściowej dla zafakturowanego produktu przed zastosowaniem rabatów i dodaniem podatków.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baseamount_base")]
		public System.Nullable<decimal> BaseAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("baseamount_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył pozycję produktu zafakturowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia pozycji produktu zafakturowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który utworzył szczegóły dotyczące faktury.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis pozycji produktu zafakturowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej ze szczegółem faktury w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Suma częściowa dotycząca produktu zafakturowanego po zastosowaniu rabatów i dodaniu podatków.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("extendedamount")]
		public System.Nullable<decimal> ExtendedAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("extendedamount");
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej sumy częściowej zafakturowanego produktu po zastosowaniu rabatów i dodaniu podatków.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("extendedamount_base")]
		public System.Nullable<decimal> ExtendedAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("extendedamount_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator pozycji produktu zafakturowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("invoicedetailid")]
		public System.Nullable<System.Guid> InvoiceDetailId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("invoicedetailid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("InvoiceDetailId", "invoicedetailid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("invoicedetailid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.InvoiceDetailId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator faktury skojarzonej z pozycją produktu zafakturowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("invoiceid")]
		public Microsoft.Xrm.Client.CrmEntityReference InvoiceId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("invoiceid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("InvoiceId", "invoiceid", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy kalkulacja cen produktów zafakturowanych jest zablokowana.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("invoiceispricelocked")]
		public System.Nullable<bool> InvoiceIsPriceLocked
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("invoiceispricelocked");
			}
		}
		
		/// <summary>
		/// Stan produktu zafakturowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("invoicestatecode")]
		public System.Nullable<int> InvoiceStateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("invoicestatecode");
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy pozycja zafakturowana jest kopiowana.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscopied")]
		public System.Nullable<bool> IsCopied
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("iscopied");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsCopied", "iscopied", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy zastępować ceny katalogowe produktów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ispriceoverridden")]
		public System.Nullable<bool> IsPriceOverridden
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ispriceoverridden");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsPriceOverridden", "ispriceoverridden", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy produkt jest produktem dopisanym, czy istniejącym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isproductoverridden")]
		public System.Nullable<bool> IsProductOverridden
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isproductoverridden");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsProductOverridden", "isproductoverridden", value);
			}
		}
		
		/// <summary>
		/// Numer pozycji produktu zafakturowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("lineitemnumber")]
		public System.Nullable<int> LineItemNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("lineitemnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("LineItemNumber", "lineitemnumber", value);
			}
		}
		
		/// <summary>
		/// Dostosowana kwota rabatu dla pozycji produktu zafakturowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("manualdiscountamount")]
		public System.Nullable<decimal> ManualDiscountAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("manualdiscountamount");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("ManualDiscountAmount", "manualdiscountamount", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej kwoty dostosowanego rabatu dla pozycji wiersza zafakturowanego produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("manualdiscountamount_base")]
		public System.Nullable<decimal> ManualDiscountAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("manualdiscountamount_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował pozycję produktu zafakturowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji pozycji produktu zafakturowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który jako ostatni zmodyfikował szczegóły dotyczące faktury.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem szczegółów dotyczących faktury.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem pozycji produktu zafakturowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public System.Nullable<System.Guid> OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem pozycji produktu zafakturowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public System.Nullable<System.Guid> OwningUser
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owninguser");
			}
		}
		
		/// <summary>
		/// Cena jednostkowa za pozycję produktu zafakturowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("priceperunit")]
		public System.Nullable<decimal> PricePerUnit
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("priceperunit");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("PricePerUnit", "priceperunit", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej ceny za jednostkę dla pozycji wiersza zafakturowanego produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("priceperunit_base")]
		public System.Nullable<decimal> PricePerUnit_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("priceperunit_base");
			}
		}
		
		/// <summary>
		/// Błąd kalkulacji cen dla pozycji produktu zafakturowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pricingerrorcode")]
		public System.Nullable<int> PricingErrorCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("pricingerrorcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PricingErrorCode", "pricingerrorcode", value);
			}
		}
		
		/// <summary>
		/// Opis produktu dla pozycji produktu zafakturowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productdescription")]
		public string ProductDescription
		{
			get
			{
				return this.GetAttributeValue<string>("productdescription");
			}
			set
			{
				this.SetAttributeValue<string>("ProductDescription", "productdescription", value);
			}
		}
		
		/// <summary>
		/// Identyfikator produktu dla pozycji produktu zafakturowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productid")]
		public Microsoft.Xrm.Client.CrmEntityReference ProductId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("productid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ProductId", "productid", value);
			}
		}
		
		/// <summary>
		/// Ilość produktu określona dla pozycji produktu zafakturowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quantity")]
		public System.Nullable<decimal> Quantity
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("quantity");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("Quantity", "quantity", value);
			}
		}
		
		/// <summary>
		/// Ilość produktu, którego zamówienie zostało anulowane dla pozycji produktu zafakturowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quantitybackordered")]
		public System.Nullable<decimal> QuantityBackordered
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("quantitybackordered");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("QuantityBackordered", "quantitybackordered", value);
			}
		}
		
		/// <summary>
		/// Ilość produktu anulowana dla pozycji produktu zafakturowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quantitycancelled")]
		public System.Nullable<decimal> QuantityCancelled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("quantitycancelled");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("QuantityCancelled", "quantitycancelled", value);
			}
		}
		
		/// <summary>
		/// Ilość produktu wysłana dla pozycji produktu określonej na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quantityshipped")]
		public System.Nullable<decimal> QuantityShipped
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("quantityshipped");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("QuantityShipped", "quantityshipped", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator sprzedawcy skojarzonego z pozycją produktu zafakturowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salesrepid")]
		public Microsoft.Xrm.Client.CrmEntityReference SalesRepId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("salesrepid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("SalesRepId", "salesrepid", value);
			}
		}
		
		/// <summary>
		/// Numer śledzenia dotyczący wysyłania pozycji zafakturowanego produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shippingtrackingnumber")]
		public string ShippingTrackingNumber
		{
			get
			{
				return this.GetAttributeValue<string>("shippingtrackingnumber");
			}
			set
			{
				this.SetAttributeValue<string>("ShippingTrackingNumber", "shippingtrackingnumber", value);
			}
		}
		
		/// <summary>
		/// Nazwa miasta dla adresu wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_city")]
		public string ShipTo_City
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_city");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_City", "shipto_city", value);
			}
		}
		
		/// <summary>
		/// Nazwa kraju/regionu w adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_country")]
		public string ShipTo_Country
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_country");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Country", "shipto_country", value);
			}
		}
		
		/// <summary>
		/// Numer faksu skojarzony z adresem wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_fax")]
		public string ShipTo_Fax
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_fax");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Fax", "shipto_fax", value);
			}
		}
		
		/// <summary>
		/// Warunki frachtu dla adresu wysyłkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_freighttermscode")]
		public System.Nullable<int> ShipTo_FreightTermsCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("shipto_freighttermscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ShipTo_FreightTermsCode", "shipto_freighttermscode", value);
			}
		}
		
		/// <summary>
		/// Pierwszy wiersz do wprowadzenia informacji o adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_line1")]
		public string ShipTo_Line1
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_line1");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Line1", "shipto_line1", value);
			}
		}
		
		/// <summary>
		/// Drugi wiersz do wprowadzenia informacji o adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_line2")]
		public string ShipTo_Line2
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_line2");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Line2", "shipto_line2", value);
			}
		}
		
		/// <summary>
		/// Trzeci wiersz do wprowadzenia informacji o adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_line3")]
		public string ShipTo_Line3
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_line3");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Line3", "shipto_line3", value);
			}
		}
		
		/// <summary>
		/// Nazwa do wprowadzenia w adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_name")]
		public string ShipTo_Name
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_name");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Name", "shipto_name", value);
			}
		}
		
		/// <summary>
		/// Kod pocztowy w adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_postalcode")]
		public string ShipTo_PostalCode
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_postalcode");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_PostalCode", "shipto_postalcode", value);
			}
		}
		
		/// <summary>
		/// Województwo w adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_stateorprovince")]
		public string ShipTo_StateOrProvince
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_stateorprovince");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_StateOrProvince", "shipto_stateorprovince", value);
			}
		}
		
		/// <summary>
		/// Numer telefonu skojarzony z adresem wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_telephone")]
		public string ShipTo_Telephone
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_telephone");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Telephone", "shipto_telephone", value);
			}
		}
		
		/// <summary>
		/// Kwota podatku dla pozycji produktu zafakturowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("tax")]
		public System.Nullable<decimal> Tax
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("tax");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Tax", "tax", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik kwoty podatku dla pozycji wiersza zafakturowanego produktu w walucie podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("tax_base")]
		public System.Nullable<decimal> Tax_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("tax_base");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzony ze szczegółem faktury.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki skojarzonej z pozycją produktu zafakturowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("uomid")]
		public Microsoft.Xrm.Client.CrmEntityReference UoMId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("uomid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("UoMId", "uomid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji pozycji produktu zafakturowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// Kwota rabatu hurtowego dla pozycji produktu zafakturowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("volumediscountamount")]
		public System.Nullable<decimal> VolumeDiscountAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("volumediscountamount");
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej kwoty rabatu hurtowego dla pozycji wiersza zafakturowanego produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("volumediscountamount_base")]
		public System.Nullable<decimal> VolumeDiscountAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("volumediscountamount_base");
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy klient zgłosi się po zafakturowane produkty, czy mają one zostać wysłane.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("willcall")]
		public System.Nullable<bool> WillCall
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("willcall");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("WillCall", "willcall", value);
			}
		}
		
		/// <summary>
		/// 1:N InvoiceDetail_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("InvoiceDetail_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> InvoiceDetail_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("InvoiceDetail_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("InvoiceDetail_AsyncOperations", "InvoiceDetail_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N InvoiceDetail_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("InvoiceDetail_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> InvoiceDetail_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("InvoiceDetail_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("InvoiceDetail_BulkDeleteFailures", "InvoiceDetail_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N invoicedetail_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("invoicedetail_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> invoicedetail_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("invoicedetail_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("invoicedetail_principalobjectattributeaccess", "invoicedetail_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N InvoiceDetail_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("InvoiceDetail_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> InvoiceDetail_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("InvoiceDetail_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("InvoiceDetail_ProcessSessions", "InvoiceDetail_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_invoicedetail
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_invoicedetail")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_invoicedetail
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_invoicedetail", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_invoicedetail", "userentityinstancedata_invoicedetail", null, value);
			}
		}
		
		/// <summary>
		/// N:1 invoice_details
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("invoiceid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("invoice_details")]
		public Xrm.Invoice invoice_details
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Invoice>("invoice_details", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Invoice>("invoice_details", "invoice_details", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_invoicedetail_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_invoicedetail_createdonbehalfby")]
		public Xrm.SystemUser lk_invoicedetail_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_invoicedetail_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_invoicedetail_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_invoicedetail_modifiedonbehalfby")]
		public Xrm.SystemUser lk_invoicedetail_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_invoicedetail_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_invoicedetailbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_invoicedetailbase_createdby")]
		public Xrm.SystemUser lk_invoicedetailbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_invoicedetailbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_invoicedetailbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_invoicedetailbase_modifiedby")]
		public Xrm.SystemUser lk_invoicedetailbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_invoicedetailbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 product_invoice_details
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("product_invoice_details")]
		public Xrm.Product product_invoice_details
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Product>("product_invoice_details", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Product>("product_invoice_details", "product_invoice_details", null, value);
			}
		}
		
		/// <summary>
		/// N:1 system_user_invoicedetail
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salesrepid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_invoicedetail")]
		public Xrm.SystemUser system_user_invoicedetail
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("system_user_invoicedetail", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("system_user_invoicedetail", "system_user_invoicedetail", null, value);
			}
		}
		
		/// <summary>
		/// N:1 transactioncurrency_invoicedetail
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_invoicedetail")]
		public Xrm.TransactionCurrency transactioncurrency_invoicedetail
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_invoicedetail", null);
			}
		}
		
		/// <summary>
		/// N:1 unit_of_measurement_invoice_details
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("uomid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("unit_of_measurement_invoice_details")]
		public Xrm.UoM unit_of_measurement_invoice_details
		{
			get
			{
				return this.GetRelatedEntity<Xrm.UoM>("unit_of_measurement_invoice_details", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.UoM>("unit_of_measurement_invoice_details", "unit_of_measurement_invoice_details", null, value);
			}
		}
	}
	
	/// <summary>
	/// Dokument XML służący do konfiguracji formantów rozszerzenia klienta.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("isvconfig")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("IsvConfigSet")]
	public partial class IsvConfig : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public IsvConfig() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "isvconfig";
		
		public const int EntityTypeCode = 4705;
		
		/// <summary>
		/// Dane strukturalnego kodu XML reprezentujące dostosowania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("configxml")]
		public string ConfigXML
		{
			get
			{
				return this.GetAttributeValue<string>("configxml");
			}
			set
			{
				this.SetAttributeValue<string>("ConfigXML", "configxml", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył konfigurację niezależnego dostawcy oprogramowania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia konfiguracji niezależnego dostawcy oprogramowania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który utworzył plik isvconfig.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator konfiguracji niezależnego dostawcy oprogramowania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isvconfigid")]
		public System.Nullable<System.Guid> IsvConfigId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("isvconfigid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("IsvConfigId", "isvconfigid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isvconfigid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.IsvConfigId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który ostatnio zmodyfikował konfigurację niezależnego dostawcy oprogramowania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji konfiguracji niezależnego dostawcy oprogramowania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który jako ostatni zmodyfikował plik isvconfig.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z kodem XML konfiguracji niezależnego dostawcy oprogramowania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public System.Nullable<System.Guid> OrganizationId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("organizationid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N IsvConfig_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("IsvConfig_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> IsvConfig_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("IsvConfig_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("IsvConfig_AsyncOperations", "IsvConfig_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N IsvConfig_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("IsvConfig_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> IsvConfig_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("IsvConfig_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("IsvConfig_BulkDeleteFailures", "IsvConfig_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_isvconfig
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_isvconfig")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_isvconfig
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_isvconfig", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_isvconfig", "userentityinstancedata_isvconfig", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_isvconfig_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_isvconfig_createdonbehalfby")]
		public Xrm.SystemUser lk_isvconfig_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_isvconfig_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_isvconfig_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_isvconfig_modifiedonbehalfby")]
		public Xrm.SystemUser lk_isvconfig_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_isvconfig_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_isvconfigbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_isvconfigbase_createdby")]
		public Xrm.SystemUser lk_isvconfigbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_isvconfigbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_isvconfigbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_isvconfigbase_modifiedby")]
		public Xrm.SystemUser lk_isvconfigbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_isvconfigbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_isvconfigs
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_isvconfigs")]
		public Xrm.Organization organization_isvconfigs
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_isvconfigs", null);
			}
		}
	}
	
	/// <summary>
	/// Uporządkowana zawartość będąca częścią bazy wiedzy.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("kbarticle")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("KbArticleSet")]
	public partial class KbArticle : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public KbArticle() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "kbarticle";
		
		public const int EntityTypeCode = 127;
		
		/// <summary>
		/// Dane XML do artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("articlexml")]
		public string ArticleXml
		{
			get
			{
				return this.GetAttributeValue<string>("articlexml");
			}
			set
			{
				this.SetAttributeValue<string>("ArticleXml", "articlexml", value);
			}
		}
		
		/// <summary>
		/// Komentarze dotyczące artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("comments")]
		public string Comments
		{
			get
			{
				return this.GetAttributeValue<string>("comments");
			}
			set
			{
				this.SetAttributeValue<string>("Comments", "comments", value);
			}
		}
		
		/// <summary>
		/// Opis zawartości artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("content")]
		public string Content
		{
			get
			{
				return this.GetAttributeValue<string>("content");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył artykuł z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który utworzył ten artykuł.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("kbarticleid")]
		public System.Nullable<System.Guid> KbArticleId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("kbarticleid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("KbArticleId", "kbarticleid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("kbarticleid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.KbArticleId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator szablonu skojarzonego z artykułem z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("kbarticletemplateid")]
		public Microsoft.Xrm.Client.CrmEntityReference KbArticleTemplateId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("kbarticletemplateid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("KbArticleTemplateId", "kbarticletemplateid", value);
			}
		}
		
		/// <summary>
		/// Słowa kluczowe do wyszukiwań w artykułach z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("keywords")]
		public string KeyWords
		{
			get
			{
				return this.GetAttributeValue<string>("keywords");
			}
			set
			{
				this.SetAttributeValue<string>("KeyWords", "keywords", value);
			}
		}
		
		/// <summary>
		/// Język szablonu artykułu
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("languagecode")]
		public System.Nullable<int> LanguageCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("languagecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("LanguageCode", "languagecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował artykuł z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który jako ostatni zmodyfikował artykuł z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Numer artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("number")]
		public string Number
		{
			get
			{
				return this.GetAttributeValue<string>("number");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z artykułem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Stan artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator tematu skojarzonego z artykułem z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subjectid")]
		public Microsoft.Xrm.Client.CrmEntityReference SubjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("subjectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("SubjectId", "subjectid", value);
			}
		}
		
		/// <summary>
		/// Tytuł artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("title")]
		public string Title
		{
			get
			{
				return this.GetAttributeValue<string>("title");
			}
			set
			{
				this.SetAttributeValue<string>("Title", "title", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Tytuł artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N KbArticle_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("KbArticle_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> KbArticle_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("KbArticle_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("KbArticle_Annotation", "KbArticle_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N KbArticle_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("KbArticle_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> KbArticle_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("KbArticle_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("KbArticle_AsyncOperations", "KbArticle_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N KbArticle_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("KbArticle_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> KbArticle_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("KbArticle_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("KbArticle_BulkDeleteFailures", "KbArticle_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N kbarticle_comments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("kbarticle_comments")]
		public System.Collections.Generic.IEnumerable<Xrm.KbArticleComment> kbarticle_comments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.KbArticleComment>("kbarticle_comments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.KbArticleComment>("kbarticle_comments", "kbarticle_comments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N KbArticle_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("KbArticle_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> KbArticle_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("KbArticle_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("KbArticle_DuplicateBaseRecord", "KbArticle_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N KbArticle_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("KbArticle_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> KbArticle_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("KbArticle_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("KbArticle_DuplicateMatchingRecord", "KbArticle_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N kbarticle_incidents
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("kbarticle_incidents")]
		public System.Collections.Generic.IEnumerable<Xrm.Incident> kbarticle_incidents
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Incident>("kbarticle_incidents", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Incident>("kbarticle_incidents", "kbarticle_incidents", null, value);
			}
		}
		
		/// <summary>
		/// 1:N kbarticle_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("kbarticle_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> kbarticle_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("kbarticle_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("kbarticle_principalobjectattributeaccess", "kbarticle_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N KbArticle_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("KbArticle_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> KbArticle_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("KbArticle_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("KbArticle_ProcessSessions", "KbArticle_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N KbArticle_SharepointDocumentLocation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("KbArticle_SharepointDocumentLocation")]
		public System.Collections.Generic.IEnumerable<Xrm.SharePointDocumentLocation> KbArticle_SharepointDocumentLocation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SharePointDocumentLocation>("KbArticle_SharepointDocumentLocation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SharePointDocumentLocation>("KbArticle_SharepointDocumentLocation", "KbArticle_SharepointDocumentLocation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_kbarticle
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_kbarticle")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_kbarticle
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_kbarticle", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_kbarticle", "userentityinstancedata_kbarticle", null, value);
			}
		}
		
		/// <summary>
		/// N:1 kb_article_template_kb_articles
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("kbarticletemplateid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("kb_article_template_kb_articles")]
		public Xrm.KbArticleTemplate kb_article_template_kb_articles
		{
			get
			{
				return this.GetRelatedEntity<Xrm.KbArticleTemplate>("kb_article_template_kb_articles", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.KbArticleTemplate>("kb_article_template_kb_articles", "kb_article_template_kb_articles", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_kbarticle_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_kbarticle_createdonbehalfby")]
		public Xrm.SystemUser lk_kbarticle_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_kbarticle_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_kbarticle_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_kbarticle_modifiedonbehalfby")]
		public Xrm.SystemUser lk_kbarticle_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_kbarticle_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_kbarticlebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_kbarticlebase_createdby")]
		public Xrm.SystemUser lk_kbarticlebase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_kbarticlebase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_kbarticlebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_kbarticlebase_modifiedby")]
		public Xrm.SystemUser lk_kbarticlebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_kbarticlebase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_kb_articles
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_kb_articles")]
		public Xrm.Organization organization_kb_articles
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_kb_articles", null);
			}
		}
		
		/// <summary>
		/// N:1 subject_kb_articles
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("subject_kb_articles")]
		public Xrm.Subject subject_kb_articles
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Subject>("subject_kb_articles", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Subject>("subject_kb_articles", "subject_kb_articles", null, value);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_KbArticle
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_KbArticle")]
		public Xrm.TransactionCurrency TransactionCurrency_KbArticle
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_KbArticle", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_KbArticle", "TransactionCurrency_KbArticle", null, value);
			}
		}
	}
	
	/// <summary>
	/// Komentarz dotyczący artykułu z bazy wiedzy.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("kbarticlecomment")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("KbArticleCommentSet")]
	public partial class KbArticleComment : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public KbArticleComment() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "kbarticlecomment";
		
		public const int EntityTypeCode = 1082;
		
		/// <summary>
		/// Tekst komentarza dotyczącego artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("commenttext")]
		public string CommentText
		{
			get
			{
				return this.GetAttributeValue<string>("commenttext");
			}
			set
			{
				this.SetAttributeValue<string>("CommentText", "commenttext", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył komentarz dotyczący artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia komentarza dotyczącego artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który utworzył komentarz dotyczący artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator komentarza dotyczącego artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("kbarticlecommentid")]
		public System.Nullable<System.Guid> KbArticleCommentId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("kbarticlecommentid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("KbArticleCommentId", "kbarticlecommentid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("kbarticlecommentid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.KbArticleCommentId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator artykułu z bazy wiedzy, którego dotyczy dany komentarz.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("kbarticleid")]
		public Microsoft.Xrm.Client.CrmEntityReference KbArticleId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("kbarticleid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("KbArticleId", "kbarticleid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował komentarz dotyczący artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji komentarza dotyczącego artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który jako ostatni zmodyfikował komentarz dotyczący artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji, z którą jest skojarzony komentarz do artykułu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public System.Nullable<System.Guid> OrganizationId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("organizationid");
			}
		}
		
		/// <summary>
		/// Tytuł komentarza dotyczącego artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("title")]
		public string Title
		{
			get
			{
				return this.GetAttributeValue<string>("title");
			}
			set
			{
				this.SetAttributeValue<string>("Title", "title", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N KbArticleComment_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("KbArticleComment_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> KbArticleComment_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("KbArticleComment_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("KbArticleComment_AsyncOperations", "KbArticleComment_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N KbArticleComment_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("KbArticleComment_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> KbArticleComment_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("KbArticleComment_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("KbArticleComment_BulkDeleteFailures", "KbArticleComment_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N KbArticleComment_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("KbArticleComment_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> KbArticleComment_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("KbArticleComment_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("KbArticleComment_ProcessSessions", "KbArticleComment_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_kbarticlecomment
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_kbarticlecomment")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_kbarticlecomment
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_kbarticlecomment", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_kbarticlecomment", "userentityinstancedata_kbarticlecomment", null, value);
			}
		}
		
		/// <summary>
		/// N:1 kbarticle_comments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("kbarticleid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("kbarticle_comments")]
		public Xrm.KbArticle kbarticle_comments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.KbArticle>("kbarticle_comments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.KbArticle>("kbarticle_comments", "kbarticle_comments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_kbarticlecomment_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_kbarticlecomment_createdonbehalfby")]
		public Xrm.SystemUser lk_kbarticlecomment_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_kbarticlecomment_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_kbarticlecomment_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_kbarticlecomment_modifiedonbehalfby")]
		public Xrm.SystemUser lk_kbarticlecomment_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_kbarticlecomment_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_kbarticlecommentbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_kbarticlecommentbase_createdby")]
		public Xrm.SystemUser lk_kbarticlecommentbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_kbarticlecommentbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_kbarticlecommentbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_kbarticlecommentbase_modifiedby")]
		public Xrm.SystemUser lk_kbarticlecommentbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_kbarticlecommentbase_modifiedby", null);
			}
		}
	}
	
	/// <summary>
	/// Szablon artykułu z bazy wiedzy zawierający standardowe atrybuty artykułu.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("kbarticletemplate")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("KbArticleTemplateSet")]
	public partial class KbArticleTemplate : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public KbArticleTemplate() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "kbarticletemplate";
		
		public const int EntityTypeCode = 1016;
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył szablon artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia szablonu artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który utworzył szablon artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis szablonu artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Format XML szablonu artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("formatxml")]
		public string FormatXml
		{
			get
			{
				return this.GetAttributeValue<string>("formatxml");
			}
			set
			{
				this.SetAttributeValue<string>("FormatXml", "formatxml", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy artykuł z bazy wiedzy jest aktywny.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isactive")]
		public System.Nullable<bool> IsActive
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isactive");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsActive", "isactive", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy można dostosować ten składnik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomizable")]
		public Microsoft.Xrm.Sdk.BooleanManagedProperty IsCustomizable
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("iscustomizable");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("IsCustomizable", "iscustomizable", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator szablonu artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("kbarticletemplateid")]
		public System.Nullable<System.Guid> KbArticleTemplateId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("kbarticletemplateid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("KbArticleTemplateId", "kbarticletemplateid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("kbarticletemplateid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.KbArticleTemplateId = value;
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("kbarticletemplateidunique")]
		public System.Nullable<System.Guid> KbArticleTemplateIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("kbarticletemplateidunique");
			}
		}
		
		/// <summary>
		/// Język szablonu artykułu
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("languagecode")]
		public System.Nullable<int> LanguageCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("languagecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("LanguageCode", "languagecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował szablon artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji szablonu artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który jako ostatni zmodyfikował szablon artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z szablonem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// Struktura XML artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("structurexml")]
		public string StructureXml
		{
			get
			{
				return this.GetAttributeValue<string>("structurexml");
			}
			set
			{
				this.SetAttributeValue<string>("StructureXml", "structurexml", value);
			}
		}
		
		/// <summary>
		/// Tytuł szablonu artykułu z bazy wiedzy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("title")]
		public string Title
		{
			get
			{
				return this.GetAttributeValue<string>("title");
			}
			set
			{
				this.SetAttributeValue<string>("Title", "title", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N kb_article_template_kb_articles
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("kb_article_template_kb_articles")]
		public System.Collections.Generic.IEnumerable<Xrm.KbArticle> kb_article_template_kb_articles
		{
			get
			{
				return this.GetRelatedEntities<Xrm.KbArticle>("kb_article_template_kb_articles", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.KbArticle>("kb_article_template_kb_articles", "kb_article_template_kb_articles", null, value);
			}
		}
		
		/// <summary>
		/// 1:N KbArticleTemplate_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("KbArticleTemplate_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> KbArticleTemplate_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("KbArticleTemplate_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("KbArticleTemplate_AsyncOperations", "KbArticleTemplate_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N KbArticleTemplate_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("KbArticleTemplate_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> KbArticleTemplate_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("KbArticleTemplate_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("KbArticleTemplate_BulkDeleteFailures", "KbArticleTemplate_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N KbArticleTemplate_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("KbArticleTemplate_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> KbArticleTemplate_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("KbArticleTemplate_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("KbArticleTemplate_ProcessSessions", "KbArticleTemplate_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_kbarticletemplate
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_kbarticletemplate")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_kbarticletemplate
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_kbarticletemplate", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_kbarticletemplate", "userentityinstancedata_kbarticletemplate", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_kbarticletemplate_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_kbarticletemplate_createdonbehalfby")]
		public Xrm.SystemUser lk_kbarticletemplate_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_kbarticletemplate_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_kbarticletemplate_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_kbarticletemplate_modifiedonbehalfby")]
		public Xrm.SystemUser lk_kbarticletemplate_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_kbarticletemplate_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_kbarticletemplatebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_kbarticletemplatebase_createdby")]
		public Xrm.SystemUser lk_kbarticletemplatebase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_kbarticletemplatebase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_kbarticletemplatebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_kbarticletemplatebase_modifiedby")]
		public Xrm.SystemUser lk_kbarticletemplatebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_kbarticletemplatebase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_kb_article_templates
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_kb_article_templates")]
		public Xrm.Organization organization_kb_article_templates
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_kb_article_templates", null);
			}
		}
	}
	
	/// <summary>
	/// Potencjalni klienci lub potencjalne szanse sprzedaży. Zakwalifikowani potencjalni klienci są konwertowani na klientów, kontakty lub szanse sprzedaży. W innych sytuacjach są usuwani lub archiwizowani.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("lead")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("LeadSet")]
	public partial class Lead : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Lead() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "lead";
		
		public const int EntityTypeCode = 4;
		
		/// <summary>
		/// Unikatowy identyfikator klienta, z którym jest skojarzony potencjalny klient.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("accountid")]
		public Microsoft.Xrm.Client.CrmEntityReference AccountId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("accountid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_addressid")]
		public System.Nullable<System.Guid> Address1_AddressId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("address1_addressid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("Address1_AddressId", "address1_addressid", value);
			}
		}
		
		/// <summary>
		/// Typ adresu 1, np. adres na fakturze, adres wysyłkowy lub adres podstawowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_addresstypecode")]
		public System.Nullable<int> Address1_AddressTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address1_addresstypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address1_AddressTypeCode", "address1_addresstypecode", value);
			}
		}
		
		/// <summary>
		/// Nazwa miasta dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_city")]
		public string Address1_City
		{
			get
			{
				return this.GetAttributeValue<string>("address1_city");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_City", "address1_city", value);
			}
		}
		
		/// <summary>
		/// Nazwa kraju/regionu w adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_country")]
		public string Address1_Country
		{
			get
			{
				return this.GetAttributeValue<string>("address1_country");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Country", "address1_country", value);
			}
		}
		
		/// <summary>
		/// Nazwa powiatu dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_county")]
		public string Address1_County
		{
			get
			{
				return this.GetAttributeValue<string>("address1_county");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_County", "address1_county", value);
			}
		}
		
		/// <summary>
		/// Numer faksu dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_fax")]
		public string Address1_Fax
		{
			get
			{
				return this.GetAttributeValue<string>("address1_fax");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Fax", "address1_fax", value);
			}
		}
		
		/// <summary>
		/// Szerokość geograficzna dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_latitude")]
		public System.Nullable<double> Address1_Latitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address1_latitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address1_Latitude", "address1_latitude", value);
			}
		}
		
		/// <summary>
		/// Pierwszy wiersz do wprowadzenia informacji o adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_line1")]
		public string Address1_Line1
		{
			get
			{
				return this.GetAttributeValue<string>("address1_line1");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Line1", "address1_line1", value);
			}
		}
		
		/// <summary>
		/// Drugi wiersz do wprowadzenia informacji o adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_line2")]
		public string Address1_Line2
		{
			get
			{
				return this.GetAttributeValue<string>("address1_line2");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Line2", "address1_line2", value);
			}
		}
		
		/// <summary>
		/// Trzeci wiersz do wprowadzenia informacji o adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_line3")]
		public string Address1_Line3
		{
			get
			{
				return this.GetAttributeValue<string>("address1_line3");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Line3", "address1_line3", value);
			}
		}
		
		/// <summary>
		/// Długość geograficzna dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_longitude")]
		public System.Nullable<double> Address1_Longitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address1_longitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address1_Longitude", "address1_longitude", value);
			}
		}
		
		/// <summary>
		/// Nazwa do wprowadzenia dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_name")]
		public string Address1_Name
		{
			get
			{
				return this.GetAttributeValue<string>("address1_name");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Name", "address1_name", value);
			}
		}
		
		/// <summary>
		/// Kod pocztowy adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_postalcode")]
		public string Address1_PostalCode
		{
			get
			{
				return this.GetAttributeValue<string>("address1_postalcode");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_PostalCode", "address1_postalcode", value);
			}
		}
		
		/// <summary>
		/// Numer skrytki pocztowej dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_postofficebox")]
		public string Address1_PostOfficeBox
		{
			get
			{
				return this.GetAttributeValue<string>("address1_postofficebox");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_PostOfficeBox", "address1_postofficebox", value);
			}
		}
		
		/// <summary>
		/// Metoda wysyłki dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_shippingmethodcode")]
		public System.Nullable<int> Address1_ShippingMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address1_shippingmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address1_ShippingMethodCode", "address1_shippingmethodcode", value);
			}
		}
		
		/// <summary>
		/// Województwo adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_stateorprovince")]
		public string Address1_StateOrProvince
		{
			get
			{
				return this.GetAttributeValue<string>("address1_stateorprovince");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_StateOrProvince", "address1_stateorprovince", value);
			}
		}
		
		/// <summary>
		/// Pierwszy numer telefonu skojarzony z adresem 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_telephone1")]
		public string Address1_Telephone1
		{
			get
			{
				return this.GetAttributeValue<string>("address1_telephone1");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Telephone1", "address1_telephone1", value);
			}
		}
		
		/// <summary>
		/// Drugi numer telefonu skojarzony z adresem 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_telephone2")]
		public string Address1_Telephone2
		{
			get
			{
				return this.GetAttributeValue<string>("address1_telephone2");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Telephone2", "address1_telephone2", value);
			}
		}
		
		/// <summary>
		/// Trzeci numer telefonu skojarzony z adresem 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_telephone3")]
		public string Address1_Telephone3
		{
			get
			{
				return this.GetAttributeValue<string>("address1_telephone3");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Telephone3", "address1_telephone3", value);
			}
		}
		
		/// <summary>
		/// Strefa firmy United Parcel Service (UPS) dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_upszone")]
		public string Address1_UPSZone
		{
			get
			{
				return this.GetAttributeValue<string>("address1_upszone");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_UPSZone", "address1_upszone", value);
			}
		}
		
		/// <summary>
		/// Przesunięcie czasu UTC dla adresu 1. Jest to różnica między czasem lokalnym a standardowym uniwersalnym czasem koordynowanym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_utcoffset")]
		public System.Nullable<int> Address1_UTCOffset
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address1_utcoffset");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Address1_UTCOffset", "address1_utcoffset", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_addressid")]
		public System.Nullable<System.Guid> Address2_AddressId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("address2_addressid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("Address2_AddressId", "address2_addressid", value);
			}
		}
		
		/// <summary>
		/// Typ adresu 2, np. adres na fakturze, adres wysyłkowy lub adres podstawowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_addresstypecode")]
		public System.Nullable<int> Address2_AddressTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address2_addresstypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address2_AddressTypeCode", "address2_addresstypecode", value);
			}
		}
		
		/// <summary>
		/// Nazwa miasta dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_city")]
		public string Address2_City
		{
			get
			{
				return this.GetAttributeValue<string>("address2_city");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_City", "address2_city", value);
			}
		}
		
		/// <summary>
		/// Nazwa kraju/regionu w adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_country")]
		public string Address2_Country
		{
			get
			{
				return this.GetAttributeValue<string>("address2_country");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Country", "address2_country", value);
			}
		}
		
		/// <summary>
		/// Nazwa powiatu dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_county")]
		public string Address2_County
		{
			get
			{
				return this.GetAttributeValue<string>("address2_county");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_County", "address2_county", value);
			}
		}
		
		/// <summary>
		/// Numer faksu dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_fax")]
		public string Address2_Fax
		{
			get
			{
				return this.GetAttributeValue<string>("address2_fax");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Fax", "address2_fax", value);
			}
		}
		
		/// <summary>
		/// Szerokość geograficzna dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_latitude")]
		public System.Nullable<double> Address2_Latitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address2_latitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address2_Latitude", "address2_latitude", value);
			}
		}
		
		/// <summary>
		/// Pierwszy wiersz do wprowadzenia informacji o adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_line1")]
		public string Address2_Line1
		{
			get
			{
				return this.GetAttributeValue<string>("address2_line1");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Line1", "address2_line1", value);
			}
		}
		
		/// <summary>
		/// Drugi wiersz do wprowadzenia informacji o adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_line2")]
		public string Address2_Line2
		{
			get
			{
				return this.GetAttributeValue<string>("address2_line2");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Line2", "address2_line2", value);
			}
		}
		
		/// <summary>
		/// Trzeci wiersz do wprowadzenia informacji o adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_line3")]
		public string Address2_Line3
		{
			get
			{
				return this.GetAttributeValue<string>("address2_line3");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Line3", "address2_line3", value);
			}
		}
		
		/// <summary>
		/// Długość geograficzna dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_longitude")]
		public System.Nullable<double> Address2_Longitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address2_longitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address2_Longitude", "address2_longitude", value);
			}
		}
		
		/// <summary>
		/// Nazwa do wprowadzenia dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_name")]
		public string Address2_Name
		{
			get
			{
				return this.GetAttributeValue<string>("address2_name");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Name", "address2_name", value);
			}
		}
		
		/// <summary>
		/// Kod pocztowy adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_postalcode")]
		public string Address2_PostalCode
		{
			get
			{
				return this.GetAttributeValue<string>("address2_postalcode");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_PostalCode", "address2_postalcode", value);
			}
		}
		
		/// <summary>
		/// Numer skrytki pocztowej dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_postofficebox")]
		public string Address2_PostOfficeBox
		{
			get
			{
				return this.GetAttributeValue<string>("address2_postofficebox");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_PostOfficeBox", "address2_postofficebox", value);
			}
		}
		
		/// <summary>
		/// Metoda wysyłki dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_shippingmethodcode")]
		public System.Nullable<int> Address2_ShippingMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address2_shippingmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address2_ShippingMethodCode", "address2_shippingmethodcode", value);
			}
		}
		
		/// <summary>
		/// Województwo adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_stateorprovince")]
		public string Address2_StateOrProvince
		{
			get
			{
				return this.GetAttributeValue<string>("address2_stateorprovince");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_StateOrProvince", "address2_stateorprovince", value);
			}
		}
		
		/// <summary>
		/// Pierwszy numer telefonu skojarzony z adresem 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_telephone1")]
		public string Address2_Telephone1
		{
			get
			{
				return this.GetAttributeValue<string>("address2_telephone1");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Telephone1", "address2_telephone1", value);
			}
		}
		
		/// <summary>
		/// Drugi numer telefonu skojarzony z adresem 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_telephone2")]
		public string Address2_Telephone2
		{
			get
			{
				return this.GetAttributeValue<string>("address2_telephone2");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Telephone2", "address2_telephone2", value);
			}
		}
		
		/// <summary>
		/// Trzeci numer telefonu skojarzony z adresem 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_telephone3")]
		public string Address2_Telephone3
		{
			get
			{
				return this.GetAttributeValue<string>("address2_telephone3");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Telephone3", "address2_telephone3", value);
			}
		}
		
		/// <summary>
		/// Strefa firmy United Parcel Service (UPS) dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_upszone")]
		public string Address2_UPSZone
		{
			get
			{
				return this.GetAttributeValue<string>("address2_upszone");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_UPSZone", "address2_upszone", value);
			}
		}
		
		/// <summary>
		/// Przesunięcie czasu UTC dla adresu 2. Jest to różnica między czasem lokalnym a standardowym uniwersalnym czasem koordynowanym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_utcoffset")]
		public System.Nullable<int> Address2_UTCOffset
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address2_utcoffset");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Address2_UTCOffset", "address2_utcoffset", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kampanii źródłowej skojarzonej z potencjalnym klientem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("campaignid")]
		public Microsoft.Xrm.Client.CrmEntityReference CampaignId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("campaignid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("CampaignId", "campaignid", value);
			}
		}
		
		/// <summary>
		/// Nazwa firmy, z którą jest skojarzony potencjalny klient.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("companyname")]
		public string CompanyName
		{
			get
			{
				return this.GetAttributeValue<string>("companyname");
			}
			set
			{
				this.SetAttributeValue<string>("CompanyName", "companyname", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kontaktu, z którym jest skojarzony potencjalny klient.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contactid")]
		public Microsoft.Xrm.Client.CrmEntityReference ContactId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("contactid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator klienta lub kontaktu skojarzonego z potencjalnym klientem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		public Microsoft.Xrm.Client.CrmEntityReference CustomerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("customerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("CustomerId", "customerid", value);
			}
		}
		
		/// <summary>
		/// Opis potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy wysyłanie bezpośredniej poczty e-mail do potencjalnego klienta jest dozwolone.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("donotbulkemail")]
		public System.Nullable<bool> DoNotBulkEMail
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("donotbulkemail");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DoNotBulkEMail", "donotbulkemail", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, wysyłanie poczty e-mail do potencjalnego klienta jest dozwolone.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("donotemail")]
		public System.Nullable<bool> DoNotEMail
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("donotemail");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DoNotEMail", "donotemail", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy wysyłanie faksów do potencjalnego klienta jest dozwolone.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("donotfax")]
		public System.Nullable<bool> DoNotFax
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("donotfax");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DoNotFax", "donotfax", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy zezwalać na rozmowy telefoniczne z potencjalnym klientem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("donotphone")]
		public System.Nullable<bool> DoNotPhone
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("donotphone");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DoNotPhone", "donotphone", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy zezwalać na wysyłanie poczty tradycyjnej do potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("donotpostalmail")]
		public System.Nullable<bool> DoNotPostalMail
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("donotpostalmail");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DoNotPostalMail", "donotpostalmail", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy zezwolić na wysyłanie poczty marketingowej do potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("donotsendmm")]
		public System.Nullable<bool> DoNotSendMM
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("donotsendmm");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DoNotSendMM", "donotsendmm", value);
			}
		}
		
		/// <summary>
		/// Pierwszy adres e-mail dla potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("emailaddress1")]
		public string EMailAddress1
		{
			get
			{
				return this.GetAttributeValue<string>("emailaddress1");
			}
			set
			{
				this.SetAttributeValue<string>("EMailAddress1", "emailaddress1", value);
			}
		}
		
		/// <summary>
		/// Drugi adres e-mail dla potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("emailaddress2")]
		public string EMailAddress2
		{
			get
			{
				return this.GetAttributeValue<string>("emailaddress2");
			}
			set
			{
				this.SetAttributeValue<string>("EMailAddress2", "emailaddress2", value);
			}
		}
		
		/// <summary>
		/// Trzeci adres e-mail dla potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("emailaddress3")]
		public string EMailAddress3
		{
			get
			{
				return this.GetAttributeValue<string>("emailaddress3");
			}
			set
			{
				this.SetAttributeValue<string>("EMailAddress3", "emailaddress3", value);
			}
		}
		
		/// <summary>
		/// Szacowana wartość szansy sprzedaży wygenerowanej na podstawie potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("estimatedamount")]
		public System.Nullable<decimal> EstimatedAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("estimatedamount");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("EstimatedAmount", "estimatedamount", value);
			}
		}
		
		/// <summary>
		/// Waluta podstawowa szacowanej wartości szansy sprzedaży wygenerowanej na podstawie potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("estimatedamount_base")]
		public System.Nullable<decimal> EstimatedAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("estimatedamount_base");
			}
		}
		
		/// <summary>
		/// Przewidywana data oczekiwanego zamknięcia szansy sprzedaży wygenerowanej na podstawie danego potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("estimatedclosedate")]
		public System.Nullable<System.DateTime> EstimatedCloseDate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("estimatedclosedate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("EstimatedCloseDate", "estimatedclosedate", value);
			}
		}
		
		/// <summary>
		/// Szacowana wartość szansy sprzedaży wygenerowanej na podstawie potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("estimatedvalue")]
		public System.Nullable<double> EstimatedValue
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("estimatedvalue");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("EstimatedValue", "estimatedvalue", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z potencjalnym klientem w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Numer faksu potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fax")]
		public string Fax
		{
			get
			{
				return this.GetAttributeValue<string>("fax");
			}
			set
			{
				this.SetAttributeValue<string>("Fax", "fax", value);
			}
		}
		
		/// <summary>
		/// Pierwsze imię potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("firstname")]
		public string FirstName
		{
			get
			{
				return this.GetAttributeValue<string>("firstname");
			}
			set
			{
				this.SetAttributeValue<string>("FirstName", "firstname", value);
			}
		}
		
		/// <summary>
		/// Imię i nazwisko potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fullname")]
		public string FullName
		{
			get
			{
				return this.GetAttributeValue<string>("fullname");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Typ branży, z którą jest skojarzona firma lub organizacja potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("industrycode")]
		public System.Nullable<int> IndustryCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("industrycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("IndustryCode", "industrycode", value);
			}
		}
		
		/// <summary>
		/// Stanowisko potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("jobtitle")]
		public string JobTitle
		{
			get
			{
				return this.GetAttributeValue<string>("jobtitle");
			}
			set
			{
				this.SetAttributeValue<string>("JobTitle", "jobtitle", value);
			}
		}
		
		/// <summary>
		/// Nazwisko potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("lastname")]
		public string LastName
		{
			get
			{
				return this.GetAttributeValue<string>("lastname");
			}
			set
			{
				this.SetAttributeValue<string>("LastName", "lastname", value);
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniego kontaktu z potencjalnym klientem w ramach kampanii marketingowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("lastusedincampaign")]
		public System.Nullable<System.DateTime> LastUsedInCampaign
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("lastusedincampaign");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("LastUsedInCampaign", "lastusedincampaign", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("leadid")]
		public System.Nullable<System.Guid> LeadId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("leadid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("LeadId", "leadid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("leadid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.LeadId = value;
			}
		}
		
		/// <summary>
		/// Jakość potencjalnego klienta, określona na przykład jako duże zainteresowanie, średnie zainteresowanie lub brak zainteresowania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("leadqualitycode")]
		public System.Nullable<int> LeadQualityCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("leadqualitycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("LeadQualityCode", "leadqualitycode", value);
			}
		}
		
		/// <summary>
		/// Źródło potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("leadsourcecode")]
		public System.Nullable<int> LeadSourceCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("leadsourcecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("LeadSourceCode", "leadsourcecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator głównego potencjalnego klienta do scalania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("masterid")]
		public Microsoft.Xrm.Client.CrmEntityReference MasterId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("masterid");
			}
		}
		
		/// <summary>
		/// Informacja, czy konto zostało scalone z głównym potencjalnym klientem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("merged")]
		public System.Nullable<bool> Merged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("merged");
			}
		}
		
		/// <summary>
		/// Drugie imię potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("middlename")]
		public string MiddleName
		{
			get
			{
				return this.GetAttributeValue<string>("middlename");
			}
			set
			{
				this.SetAttributeValue<string>("MiddleName", "middlename", value);
			}
		}
		
		/// <summary>
		/// Numer telefonu komórkowego potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("mobilephone")]
		public string MobilePhone
		{
			get
			{
				return this.GetAttributeValue<string>("mobilephone");
			}
			set
			{
				this.SetAttributeValue<string>("MobilePhone", "mobilephone", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Liczba pracowników w firmie potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("numberofemployees")]
		public System.Nullable<int> NumberOfEmployees
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("numberofemployees");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("NumberOfEmployees", "numberofemployees", value);
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem rekordu potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej będącej właścicielem potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu będącego właścicielem potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika będącego właścicielem potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Numer pagera potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pager")]
		public string Pager
		{
			get
			{
				return this.GetAttributeValue<string>("pager");
			}
			set
			{
				this.SetAttributeValue<string>("Pager", "pager", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy potencjalny klient uczestniczy w regułach przepływu pracy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("participatesinworkflow")]
		public System.Nullable<bool> ParticipatesInWorkflow
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("participatesinworkflow");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("ParticipatesInWorkflow", "participatesinworkflow", value);
			}
		}
		
		/// <summary>
		/// Preferowana metoda kontaktu dotycząca potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("preferredcontactmethodcode")]
		public System.Nullable<int> PreferredContactMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("preferredcontactmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PreferredContactMethodCode", "preferredcontactmethodcode", value);
			}
		}
		
		/// <summary>
		/// Priorytet potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("prioritycode")]
		public System.Nullable<int> PriorityCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("prioritycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PriorityCode", "prioritycode", value);
			}
		}
		
		/// <summary>
		/// Kwota przychodu dotycząca potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("revenue")]
		public System.Nullable<decimal> Revenue
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("revenue");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Revenue", "revenue", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej kwoty przychodu dla potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("revenue_base")]
		public System.Nullable<decimal> Revenue_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("revenue_base");
			}
		}
		
		/// <summary>
		/// Bieżący etap procesu sprzedaży dotyczący potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salesstagecode")]
		public System.Nullable<int> SalesStageCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("salesstagecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("SalesStageCode", "salesstagecode", value);
			}
		}
		
		/// <summary>
		/// Zwrot grzecznościowy w korespondencji z potencjalnym klientem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salutation")]
		public string Salutation
		{
			get
			{
				return this.GetAttributeValue<string>("salutation");
			}
			set
			{
				this.SetAttributeValue<string>("Salutation", "salutation", value);
			}
		}
		
		/// <summary>
		/// Kod PKD (kod Polskiej Klasyfikacji Działalności) dotyczący potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sic")]
		public string SIC
		{
			get
			{
				return this.GetAttributeValue<string>("sic");
			}
			set
			{
				this.SetAttributeValue<string>("SIC", "sic", value);
			}
		}
		
		/// <summary>
		/// Stan potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Temat skojarzony z potencjalnym klientem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subject")]
		public string Subject
		{
			get
			{
				return this.GetAttributeValue<string>("subject");
			}
			set
			{
				this.SetAttributeValue<string>("Subject", "subject", value);
			}
		}
		
		/// <summary>
		/// Pierwszy numer telefonu potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("telephone1")]
		public string Telephone1
		{
			get
			{
				return this.GetAttributeValue<string>("telephone1");
			}
			set
			{
				this.SetAttributeValue<string>("Telephone1", "telephone1", value);
			}
		}
		
		/// <summary>
		/// Drugi numer telefonu potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("telephone2")]
		public string Telephone2
		{
			get
			{
				return this.GetAttributeValue<string>("telephone2");
			}
			set
			{
				this.SetAttributeValue<string>("Telephone2", "telephone2", value);
			}
		}
		
		/// <summary>
		/// Trzeci numer telefonu potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("telephone3")]
		public string Telephone3
		{
			get
			{
				return this.GetAttributeValue<string>("telephone3");
			}
			set
			{
				this.SetAttributeValue<string>("Telephone3", "telephone3", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z potencjalnym klientem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// Adres URL witryny sieci Web potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("websiteurl")]
		public string WebSiteUrl
		{
			get
			{
				return this.GetAttributeValue<string>("websiteurl");
			}
			set
			{
				this.SetAttributeValue<string>("WebSiteUrl", "websiteurl", value);
			}
		}
		
		/// <summary>
		/// Nazwa firmy, z którą jest skojarzony potencjalny klient.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("yomicompanyname")]
		public string YomiCompanyName
		{
			get
			{
				return this.GetAttributeValue<string>("yomicompanyname");
			}
			set
			{
				this.SetAttributeValue<string>("YomiCompanyName", "yomicompanyname", value);
			}
		}
		
		/// <summary>
		/// Przewodnik fonetyczny Hiragana lub Katakana dotyczący imienia potencjalnego klienta, używany do sortowania Yomi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("yomifirstname")]
		public string YomiFirstName
		{
			get
			{
				return this.GetAttributeValue<string>("yomifirstname");
			}
			set
			{
				this.SetAttributeValue<string>("YomiFirstName", "yomifirstname", value);
			}
		}
		
		/// <summary>
		/// Przewodnik fonetyczny Hiragana lub Katakana dotyczący imienia i nazwiska potencjalnego klienta, używany do sortowania Yomi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("yomifullname")]
		public string YomiFullName
		{
			get
			{
				return this.GetAttributeValue<string>("yomifullname");
			}
		}
		
		/// <summary>
		/// Przewodnik fonetyczny Hiragana lub Katakana dotyczący nazwiska potencjalnego klienta, używany do sortowania Yomi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("yomilastname")]
		public string YomiLastName
		{
			get
			{
				return this.GetAttributeValue<string>("yomilastname");
			}
			set
			{
				this.SetAttributeValue<string>("YomiLastName", "yomilastname", value);
			}
		}
		
		/// <summary>
		/// Przewodnik fonetyczny Hiragana lub Katakana dotyczący drugiego imienia potencjalnego klienta, używany do sortowania Yomi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("yomimiddlename")]
		public string YomiMiddleName
		{
			get
			{
				return this.GetAttributeValue<string>("yomimiddlename");
			}
			set
			{
				this.SetAttributeValue<string>("YomiMiddleName", "yomimiddlename", value);
			}
		}
		
		/// <summary>
		/// 1:N account_originating_lead
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("account_originating_lead")]
		public System.Collections.Generic.IEnumerable<Xrm.Account> account_originating_lead
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Account>("account_originating_lead", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Account>("account_originating_lead", "account_originating_lead", null, value);
			}
		}
		
		/// <summary>
		/// 1:N contact_originating_lead
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contact_originating_lead")]
		public System.Collections.Generic.IEnumerable<Xrm.Contact> contact_originating_lead
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contact>("contact_originating_lead", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contact>("contact_originating_lead", "contact_originating_lead", null, value);
			}
		}
		
		/// <summary>
		/// 1:N CreatedLead_BulkOperationLogs
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CreatedLead_BulkOperationLogs")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkOperationLog> CreatedLead_BulkOperationLogs
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkOperationLog>("CreatedLead_BulkOperationLogs", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkOperationLog>("CreatedLead_BulkOperationLogs", "CreatedLead_BulkOperationLogs", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lead_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lead_activity_parties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> lead_activity_parties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("lead_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("lead_activity_parties", "lead_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Lead_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_ActivityPointers")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityPointer> Lead_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityPointer>("Lead_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityPointer>("Lead_ActivityPointers", "Lead_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lead_addresses
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lead_addresses")]
		public System.Collections.Generic.IEnumerable<Xrm.LeadAddress> lead_addresses
		{
			get
			{
				return this.GetRelatedEntities<Xrm.LeadAddress>("lead_addresses", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.LeadAddress>("lead_addresses", "lead_addresses", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Lead_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> Lead_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("Lead_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("Lead_Annotation", "Lead_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Lead_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_Appointments")]
		public System.Collections.Generic.IEnumerable<Xrm.Appointment> Lead_Appointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Appointment>("Lead_Appointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Appointment>("Lead_Appointments", "Lead_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Lead_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Lead_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Lead_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Lead_AsyncOperations", "Lead_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Lead_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Lead_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Lead_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Lead_BulkDeleteFailures", "Lead_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lead_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lead_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> lead_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("lead_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("lead_connections1", "lead_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lead_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lead_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> lead_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("lead_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("lead_connections2", "lead_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Lead_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Lead_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Lead_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Lead_DuplicateBaseRecord", "Lead_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Lead_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Lead_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Lead_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Lead_DuplicateMatchingRecord", "Lead_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Lead_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_Emails")]
		public System.Collections.Generic.IEnumerable<Xrm.Email> Lead_Emails
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Email>("Lead_Emails", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Email>("Lead_Emails", "Lead_Emails", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Lead_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_Faxes")]
		public System.Collections.Generic.IEnumerable<Xrm.Fax> Lead_Faxes
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Fax>("Lead_Faxes", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Fax>("Lead_Faxes", "Lead_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Lead_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_Letters")]
		public System.Collections.Generic.IEnumerable<Xrm.Letter> Lead_Letters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Letter>("Lead_Letters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Letter>("Lead_Letters", "Lead_Letters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lead_master_lead
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lead_master_lead", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.Lead> Referencedlead_master_lead
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Lead>("lead_master_lead", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Lead>("Referencedlead_master_lead", "lead_master_lead", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// 1:N Lead_Phonecalls
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_Phonecalls")]
		public System.Collections.Generic.IEnumerable<Xrm.PhoneCall> Lead_Phonecalls
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PhoneCall>("Lead_Phonecalls", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PhoneCall>("Lead_Phonecalls", "Lead_Phonecalls", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lead_PostFollows
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lead_PostFollows")]
		public System.Collections.Generic.IEnumerable<Xrm.PostFollow> lead_PostFollows
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PostFollow>("lead_PostFollows", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PostFollow>("lead_PostFollows", "lead_PostFollows", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lead_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lead_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> lead_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("lead_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("lead_principalobjectattributeaccess", "lead_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Lead_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Lead_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Lead_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Lead_ProcessSessions", "Lead_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Lead_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_RecurringAppointmentMasters")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurringAppointmentMaster> Lead_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurringAppointmentMaster>("Lead_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurringAppointmentMaster>("Lead_RecurringAppointmentMasters", "Lead_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Lead_ServiceAppointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_ServiceAppointments")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceAppointment> Lead_ServiceAppointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceAppointment>("Lead_ServiceAppointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceAppointment>("Lead_ServiceAppointments", "Lead_ServiceAppointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Lead_SharepointDocumentLocation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_SharepointDocumentLocation")]
		public System.Collections.Generic.IEnumerable<Xrm.SharePointDocumentLocation> Lead_SharepointDocumentLocation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SharePointDocumentLocation>("Lead_SharepointDocumentLocation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SharePointDocumentLocation>("Lead_SharepointDocumentLocation", "Lead_SharepointDocumentLocation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Lead_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_Tasks")]
		public System.Collections.Generic.IEnumerable<Xrm.Task> Lead_Tasks
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Task>("Lead_Tasks", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Task>("Lead_Tasks", "Lead_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// 1:N opportunity_originating_lead
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunity_originating_lead")]
		public System.Collections.Generic.IEnumerable<Xrm.Opportunity> opportunity_originating_lead
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Opportunity>("opportunity_originating_lead", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Opportunity>("opportunity_originating_lead", "opportunity_originating_lead", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SourceLead_BulkOperationLogs
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SourceLead_BulkOperationLogs")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkOperationLog> SourceLead_BulkOperationLogs
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkOperationLog>("SourceLead_BulkOperationLogs", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkOperationLog>("SourceLead_BulkOperationLogs", "SourceLead_BulkOperationLogs", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_lead
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_lead")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_lead
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_lead", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_lead", "userentityinstancedata_lead", null, value);
			}
		}
		
		/// <summary>
		/// N:N accountleads_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("accountleads_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Account> accountleads_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Account>("accountleads_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Account>("accountleads_association", "accountleads_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N contactleads_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contactleads_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Contact> contactleads_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contact>("contactleads_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contact>("contactleads_association", "contactleads_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N leadcompetitors_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("leadcompetitors_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Competitor> leadcompetitors_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Competitor>("leadcompetitors_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Competitor>("leadcompetitors_association", "leadcompetitors_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N leadproduct_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("leadproduct_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Product> leadproduct_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Product>("leadproduct_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Product>("leadproduct_association", "leadproduct_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N listlead_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("listlead_association")]
		public System.Collections.Generic.IEnumerable<Xrm.List> listlead_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.List>("listlead_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.List>("listlead_association", "listlead_association", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_leads
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_leads")]
		public Xrm.BusinessUnit business_unit_leads
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_leads", null);
			}
		}
		
		/// <summary>
		/// N:1 campaign_leads
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("campaignid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaign_leads")]
		public Xrm.Campaign campaign_leads
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Campaign>("campaign_leads", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Campaign>("campaign_leads", "campaign_leads", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lead_customer_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lead_customer_accounts")]
		public Xrm.Account lead_customer_accounts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("lead_customer_accounts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("lead_customer_accounts", "lead_customer_accounts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lead_customer_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lead_customer_contacts")]
		public Xrm.Contact lead_customer_contacts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("lead_customer_contacts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("lead_customer_contacts", "lead_customer_contacts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lead_master_lead
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("masterid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lead_master_lead", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.Lead Referencinglead_master_lead
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Lead>("lead_master_lead", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
		}
		
		/// <summary>
		/// N:1 lead_owning_team
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lead_owning_team")]
		public Xrm.Team lead_owning_team
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("lead_owning_team", null);
			}
		}
		
		/// <summary>
		/// N:1 lead_owning_user
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lead_owning_user")]
		public Xrm.SystemUser lead_owning_user
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lead_owning_user", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_lead_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_lead_createdonbehalfby")]
		public Xrm.SystemUser lk_lead_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_lead_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_lead_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_lead_modifiedonbehalfby")]
		public Xrm.SystemUser lk_lead_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_lead_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_leadbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_leadbase_createdby")]
		public Xrm.SystemUser lk_leadbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_leadbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_leadbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_leadbase_modifiedby")]
		public Xrm.SystemUser lk_leadbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_leadbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 transactioncurrency_lead
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_lead")]
		public Xrm.TransactionCurrency transactioncurrency_lead
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_lead", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_lead", "transactioncurrency_lead", null, value);
			}
		}
	}
	
	/// <summary>
	/// Informacje o adresie potencjalnego klienta.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("leadaddress")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("LeadAddressSet")]
	public partial class LeadAddress : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public LeadAddress() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "leadaddress";
		
		public const int EntityTypeCode = 1017;
		
		/// <summary>
		/// Informacje dotyczące adresu potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("addressnumber")]
		public System.Nullable<int> AddressNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("addressnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("AddressNumber", "addressnumber", value);
			}
		}
		
		/// <summary>
		/// Typ adresu dla adresu potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("addresstypecode")]
		public System.Nullable<int> AddressTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("addresstypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("AddressTypeCode", "addresstypecode", value);
			}
		}
		
		/// <summary>
		/// Nazwa miasta dla adresu potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("city")]
		public string City
		{
			get
			{
				return this.GetAttributeValue<string>("city");
			}
			set
			{
				this.SetAttributeValue<string>("City", "city", value);
			}
		}
		
		/// <summary>
		/// Nazwa kraju/regionu w adresie potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("country")]
		public string Country
		{
			get
			{
				return this.GetAttributeValue<string>("country");
			}
			set
			{
				this.SetAttributeValue<string>("Country", "country", value);
			}
		}
		
		/// <summary>
		/// Nazwa powiatu w adresie potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("county")]
		public string County
		{
			get
			{
				return this.GetAttributeValue<string>("county");
			}
			set
			{
				this.SetAttributeValue<string>("County", "county", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył adres potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia adresu potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który utworzył adres potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z adresem potencjalnego klienta względem waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Numer faksu w adresie potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fax")]
		public string Fax
		{
			get
			{
				return this.GetAttributeValue<string>("fax");
			}
			set
			{
				this.SetAttributeValue<string>("Fax", "fax", value);
			}
		}
		
		/// <summary>
		/// Szerokość geograficzna w adresie potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("latitude")]
		public System.Nullable<double> Latitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("latitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Latitude", "latitude", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator adresu potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("leadaddressid")]
		public System.Nullable<System.Guid> LeadAddressId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("leadaddressid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("LeadAddressId", "leadaddressid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("leadaddressid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.LeadAddressId = value;
			}
		}
		
		/// <summary>
		/// Pierwszy wiersz do wprowadzenia informacji o adresie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("line1")]
		public string Line1
		{
			get
			{
				return this.GetAttributeValue<string>("line1");
			}
			set
			{
				this.SetAttributeValue<string>("Line1", "line1", value);
			}
		}
		
		/// <summary>
		/// Drugi wiersz do wprowadzenia informacji o adresie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("line2")]
		public string Line2
		{
			get
			{
				return this.GetAttributeValue<string>("line2");
			}
			set
			{
				this.SetAttributeValue<string>("Line2", "line2", value);
			}
		}
		
		/// <summary>
		/// Trzeci wiersz do wprowadzenia informacji o adresie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("line3")]
		public string Line3
		{
			get
			{
				return this.GetAttributeValue<string>("line3");
			}
			set
			{
				this.SetAttributeValue<string>("Line3", "line3", value);
			}
		}
		
		/// <summary>
		/// Długość geograficzna w adresie potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("longitude")]
		public System.Nullable<double> Longitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("longitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Longitude", "longitude", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował adres potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji adresu potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który jako ostatni zmodyfikował adres potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa używana do identyfikowania adresu potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obiektu nadrzędnego, z którym jest skojarzony adres potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentid")]
		public Microsoft.Xrm.Client.CrmEntityReference ParentId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("parentid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ParentId", "parentid", value);
			}
		}
		
		/// <summary>
		/// Kod pocztowy w adresie potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("postalcode")]
		public string PostalCode
		{
			get
			{
				return this.GetAttributeValue<string>("postalcode");
			}
			set
			{
				this.SetAttributeValue<string>("PostalCode", "postalcode", value);
			}
		}
		
		/// <summary>
		/// Numer skrytki pocztowej w adresie potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("postofficebox")]
		public string PostOfficeBox
		{
			get
			{
				return this.GetAttributeValue<string>("postofficebox");
			}
			set
			{
				this.SetAttributeValue<string>("PostOfficeBox", "postofficebox", value);
			}
		}
		
		/// <summary>
		/// Metoda wysyłki dotycząca potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shippingmethodcode")]
		public System.Nullable<int> ShippingMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("shippingmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ShippingMethodCode", "shippingmethodcode", value);
			}
		}
		
		/// <summary>
		/// Województwo w adresie potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("stateorprovince")]
		public string StateOrProvince
		{
			get
			{
				return this.GetAttributeValue<string>("stateorprovince");
			}
			set
			{
				this.SetAttributeValue<string>("StateOrProvince", "stateorprovince", value);
			}
		}
		
		/// <summary>
		/// Pierwszy numer telefonu w adresie potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("telephone1")]
		public string Telephone1
		{
			get
			{
				return this.GetAttributeValue<string>("telephone1");
			}
			set
			{
				this.SetAttributeValue<string>("Telephone1", "telephone1", value);
			}
		}
		
		/// <summary>
		/// Drugi numer telefonu w adresie potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("telephone2")]
		public string Telephone2
		{
			get
			{
				return this.GetAttributeValue<string>("telephone2");
			}
			set
			{
				this.SetAttributeValue<string>("Telephone2", "telephone2", value);
			}
		}
		
		/// <summary>
		/// Trzeci numer telefonu w adresie potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("telephone3")]
		public string Telephone3
		{
			get
			{
				return this.GetAttributeValue<string>("telephone3");
			}
			set
			{
				this.SetAttributeValue<string>("Telephone3", "telephone3", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z adresem potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Strefa UPS dotycząca adresu potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("upszone")]
		public string UPSZone
		{
			get
			{
				return this.GetAttributeValue<string>("upszone");
			}
			set
			{
				this.SetAttributeValue<string>("UPSZone", "upszone", value);
			}
		}
		
		/// <summary>
		/// Przesunięcie czasu UTC dotyczące adresu potencjalnego klienta. Jest to różnica między czasem lokalnym i standardowym Uniwersalnym czasem koordynowanym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcoffset")]
		public System.Nullable<int> UTCOffset
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcoffset");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCOffset", "utcoffset", value);
			}
		}
		
		/// <summary>
		/// Numer wersji adresu potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_leadaddress
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_leadaddress")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_leadaddress
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_leadaddress", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_leadaddress", "userentityinstancedata_leadaddress", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lead_addresses
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lead_addresses")]
		public Xrm.Lead lead_addresses
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Lead>("lead_addresses", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Lead>("lead_addresses", "lead_addresses", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_leadaddress_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_leadaddress_createdonbehalfby")]
		public Xrm.SystemUser lk_leadaddress_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_leadaddress_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_leadaddress_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_leadaddress_modifiedonbehalfby")]
		public Xrm.SystemUser lk_leadaddress_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_leadaddress_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_leadaddressbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_leadaddressbase_createdby")]
		public Xrm.SystemUser lk_leadaddressbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_leadaddressbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_leadaddressbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_leadaddressbase_modifiedby")]
		public Xrm.SystemUser lk_leadaddressbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_leadaddressbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_LeadAddress
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_LeadAddress")]
		public Xrm.TransactionCurrency TransactionCurrency_LeadAddress
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_LeadAddress", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_LeadAddress", "TransactionCurrency_LeadAddress", null, value);
			}
		}
	}
	
	/// <summary>
	/// 
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("leadcompetitors")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("LeadCompetitorsSet")]
	public partial class LeadCompetitors : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public LeadCompetitors() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "leadcompetitors";
		
		public const int EntityTypeCode = 24;
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("competitorid")]
		public System.Nullable<System.Guid> CompetitorId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("competitorid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator konkurenta potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("leadcompetitorid")]
		public System.Nullable<System.Guid> LeadCompetitorId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("leadcompetitorid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("LeadCompetitorId", "leadcompetitorid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("leadcompetitorid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.LeadCompetitorId = value;
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("leadid")]
		public System.Nullable<System.Guid> LeadId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("leadid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// N:N leadcompetitors_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("leadcompetitors_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Lead> leadcompetitors_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Lead>("leadcompetitors_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Lead>("leadcompetitors_association", "leadcompetitors_association", null, value);
			}
		}
	}
	
	/// <summary>
	/// 
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("leadproduct")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("LeadProductSet")]
	public partial class LeadProduct : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public LeadProduct() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "leadproduct";
		
		public const int EntityTypeCode = 27;
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("leadid")]
		public System.Nullable<System.Guid> LeadId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("leadid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator produktu potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("leadproductid")]
		public System.Nullable<System.Guid> LeadProductId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("leadproductid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("LeadProductId", "leadproductid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("leadproductid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.LeadProductId = value;
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productid")]
		public System.Nullable<System.Guid> ProductId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("productid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_leadproduct
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_leadproduct")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_leadproduct
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_leadproduct", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_leadproduct", "userentityinstancedata_leadproduct", null, value);
			}
		}
		
		/// <summary>
		/// N:N leadproduct_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("leadproduct_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Lead> leadproduct_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Lead>("leadproduct_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Lead>("leadproduct_association", "leadproduct_association", null, value);
			}
		}
	}
	
	/// <summary>
	/// Działanie umożliwiające śledzenie dostarczenia listu. Działanie może zawierać elektroniczną kopię tego listu.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("letter")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("LetterSet")]
	public partial class Letter : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Letter() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "letter";
		
		public const int EntityTypeCode = 4207;
		
		/// <summary>
		/// Unikatowy identyfikator działania przy użyciu listu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public System.Nullable<System.Guid> ActivityId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("activityid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ActivityId", "activityid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ActivityId = value;
			}
		}
		
		/// <summary>
		/// Typ działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activitytypecode")]
		public string ActivityTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("activitytypecode");
			}
		}
		
		/// <summary>
		/// Rzeczywisty czas trwania działania przy użyciu listu w minutach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualdurationminutes")]
		public System.Nullable<int> ActualDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("actualdurationminutes");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ActualDurationMinutes", "actualdurationminutes", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista godzina zakończenia działania przy użyciu listu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualend")]
		public System.Nullable<System.DateTime> ActualEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualEnd", "actualend", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista godzina rozpoczęcia działania przy użyciu listu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualstart")]
		public System.Nullable<System.DateTime> ActualStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualStart", "actualstart", value);
			}
		}
		
		/// <summary>
		/// Adres listu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address")]
		public string Address
		{
			get
			{
				return this.GetAttributeValue<string>("address");
			}
			set
			{
				this.SetAttributeValue<string>("Address", "address", value);
			}
		}
		
		/// <summary>
		/// Ukryty adresat otrzymujący kopię listu (UDW).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("bcc")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> Bcc
		{
			get
			{
				return this.GetAttributeCollectionValue<Xrm.ActivityParty>("bcc");
			}
			set
			{
				this.SetAttributeCollectionValue<Xrm.ActivityParty>("Bcc", "bcc", value);
			}
		}
		
		/// <summary>
		/// Kategoria listu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("category")]
		public string Category
		{
			get
			{
				return this.GetAttributeValue<string>("category");
			}
			set
			{
				this.SetAttributeValue<string>("Category", "category", value);
			}
		}
		
		/// <summary>
		/// Adresat otrzymujący kopię listu (DW).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("cc")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> Cc
		{
			get
			{
				return this.GetAttributeCollectionValue<Xrm.ActivityParty>("cc");
			}
			set
			{
				this.SetAttributeCollectionValue<Xrm.ActivityParty>("Cc", "cc", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył działanie przy użyciu listu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia działania przy użyciu listu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który utworzył list.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis działania przy użyciu listu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Kierunek listu; przychodzący lub wychodzący.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("directioncode")]
		public System.Nullable<bool> DirectionCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("directioncode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DirectionCode", "directioncode", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z listem względem waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Osoba będąca nadawcą listu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("from")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> From
		{
			get
			{
				return this.GetAttributeCollectionValue<Xrm.ActivityParty>("from");
			}
			set
			{
				this.SetAttributeCollectionValue<Xrm.ActivityParty>("From", "from", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy działanie przy użyciu listu zostało zafakturowane jako element obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isbilled")]
		public System.Nullable<bool> IsBilled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isbilled");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsBilled", "isbilled", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy działanie ma charakter regularny, czy też jest zdarzeniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isregularactivity")]
		public System.Nullable<bool> IsRegularActivity
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isregularactivity");
			}
		}
		
		/// <summary>
		/// Wskazanie, czy działanie przy użyciu listu zostało utworzone przy użyciu reguły przepływu pracy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isworkflowcreated")]
		public System.Nullable<bool> IsWorkflowCreated
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isworkflowcreated");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsWorkflowCreated", "isworkflowcreated", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni modyfikował działanie przy użyciu listu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji działania przy użyciu listu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który jako ostatni zmodyfikował list.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem działania przy użyciu listu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem działania przy użyciu listu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu będącego właścicielem działania związanego z listem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika będącego właścicielem działania związanego z listem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Kod priorytetu listu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("prioritycode")]
		public System.Nullable<int> PriorityCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("prioritycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PriorityCode", "prioritycode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obiektu, z którym jest skojarzone działanie przy użyciu listu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		public Microsoft.Xrm.Client.CrmEntityReference RegardingObjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("regardingobjectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RegardingObjectId", "regardingobjectid", value);
			}
		}
		
		/// <summary>
		/// Zaplanowany czas trwania działania przy użyciu listu wyrażony w minutach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduleddurationminutes")]
		public System.Nullable<int> ScheduledDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("scheduleddurationminutes");
			}
		}
		
		/// <summary>
		/// Zaplanowana godzina zakończenia działania przy użyciu listu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledend")]
		public System.Nullable<System.DateTime> ScheduledEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ScheduledEnd", "scheduledend", value);
			}
		}
		
		/// <summary>
		/// Zaplanowana godzina rozpoczęcia działania przy użyciu listu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledstart")]
		public System.Nullable<System.DateTime> ScheduledStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ScheduledStart", "scheduledstart", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonej usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		public Microsoft.Xrm.Client.CrmEntityReference ServiceId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("serviceid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ServiceId", "serviceid", value);
			}
		}
		
		/// <summary>
		/// Stan działania przy użyciu listu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu działania przy użyciu listu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Podkategoria działania przy użyciu listu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subcategory")]
		public string Subcategory
		{
			get
			{
				return this.GetAttributeValue<string>("subcategory");
			}
			set
			{
				this.SetAttributeValue<string>("Subcategory", "subcategory", value);
			}
		}
		
		/// <summary>
		/// Temat skojarzony z działaniem przy użyciu listu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subject")]
		public string Subject
		{
			get
			{
				return this.GetAttributeValue<string>("subject");
			}
			set
			{
				this.SetAttributeValue<string>("Subject", "subject", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subscriptionid")]
		public System.Nullable<System.Guid> SubscriptionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("subscriptionid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("SubscriptionId", "subscriptionid", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Osoba, która jest odbiorcą listu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("to")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> To
		{
			get
			{
				return this.GetAttributeCollectionValue<Xrm.ActivityParty>("to");
			}
			set
			{
				this.SetAttributeCollectionValue<Xrm.ActivityParty>("To", "to", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z listem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji listu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N letter_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("letter_activity_parties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> letter_activity_parties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("letter_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("letter_activity_parties", "letter_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Letter_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Letter_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> Letter_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("Letter_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("Letter_Annotation", "Letter_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Letter_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Letter_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Letter_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Letter_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Letter_AsyncOperations", "Letter_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Letter_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Letter_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Letter_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Letter_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Letter_BulkDeleteFailures", "Letter_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N letter_campaignresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("letter_campaignresponse")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignResponse> letter_campaignresponse
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignResponse>("letter_campaignresponse", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignResponse>("letter_campaignresponse", "letter_campaignresponse", null, value);
			}
		}
		
		/// <summary>
		/// 1:N letter_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("letter_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> letter_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("letter_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("letter_connections1", "letter_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N letter_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("letter_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> letter_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("letter_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("letter_connections2", "letter_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Letter_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Letter_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Letter_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Letter_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Letter_DuplicateBaseRecord", "Letter_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Letter_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Letter_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Letter_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Letter_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Letter_DuplicateMatchingRecord", "Letter_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N letter_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("letter_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> letter_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("letter_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("letter_principalobjectattributeaccess", "letter_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Letter_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Letter_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Letter_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Letter_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Letter_ProcessSessions", "Letter_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Letter_QueueItem
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Letter_QueueItem")]
		public System.Collections.Generic.IEnumerable<Xrm.QueueItem> Letter_QueueItem
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QueueItem>("Letter_QueueItem", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QueueItem>("Letter_QueueItem", "Letter_QueueItem", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_letter
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_letter")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_letter
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_letter", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_letter", "userentityinstancedata_letter", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Account_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_Letters")]
		public Xrm.Account Account_Letters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("Account_Letters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("Account_Letters", "Account_Letters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 activity_pointer_letter
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_letter")]
		public Xrm.ActivityPointer activity_pointer_letter
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_letter", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_letter", "activity_pointer_letter", null, value);
			}
		}
		
		/// <summary>
		/// N:1 BulkOperation_Letter
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkOperation_Letter")]
		public Xrm.BulkOperation BulkOperation_Letter
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BulkOperation>("BulkOperation_Letter", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BulkOperation>("BulkOperation_Letter", "BulkOperation_Letter", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_letter_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_letter_activities")]
		public Xrm.BusinessUnit business_unit_letter_activities
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_letter_activities", null);
			}
		}
		
		/// <summary>
		/// N:1 Campaign_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_Letters")]
		public Xrm.Campaign Campaign_Letters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Campaign>("Campaign_Letters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Campaign>("Campaign_Letters", "Campaign_Letters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 CampaignActivity_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignActivity_Letters")]
		public Xrm.CampaignActivity CampaignActivity_Letters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignActivity>("CampaignActivity_Letters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CampaignActivity>("CampaignActivity_Letters", "CampaignActivity_Letters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Contact_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_Letters")]
		public Xrm.Contact Contact_Letters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("Contact_Letters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("Contact_Letters", "Contact_Letters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Contract_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_Letters")]
		public Xrm.Contract Contract_Letters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contract>("Contract_Letters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contract>("Contract_Letters", "Contract_Letters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Incident_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_Letters")]
		public Xrm.Incident Incident_Letters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Incident>("Incident_Letters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Incident>("Incident_Letters", "Incident_Letters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Invoice_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Invoice_Letters")]
		public Xrm.Invoice Invoice_Letters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Invoice>("Invoice_Letters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Invoice>("Invoice_Letters", "Invoice_Letters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Lead_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_Letters")]
		public Xrm.Lead Lead_Letters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Lead>("Lead_Letters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Lead>("Lead_Letters", "Lead_Letters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_letter_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_letter_createdby")]
		public Xrm.SystemUser lk_letter_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_letter_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_letter_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_letter_createdonbehalfby")]
		public Xrm.SystemUser lk_letter_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_letter_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_letter_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_letter_modifiedby")]
		public Xrm.SystemUser lk_letter_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_letter_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_letter_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_letter_modifiedonbehalfby")]
		public Xrm.SystemUser lk_letter_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_letter_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postalbum_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_Letters")]
		public Xrm.msdyn_PostAlbum msdyn_postalbum_Letters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_Letters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_Letters", "msdyn_postalbum_Letters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownicy_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_Letters")]
		public Xrm.new_uzytkownicy new_uzytkownicy_Letters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_Letters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_Letters", "new_uzytkownicy_Letters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownikkontakty_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_Letters")]
		public Xrm.new_uzytkownikkontakty new_uzytkownikkontakty_Letters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_Letters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_Letters", "new_uzytkownikkontakty_Letters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_zainteresowanie_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_Letters")]
		public Xrm.new_zainteresowanie new_zainteresowanie_Letters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_Letters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_Letters", "new_zainteresowanie_Letters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Opportunity_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_Letters")]
		public Xrm.Opportunity Opportunity_Letters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Opportunity>("Opportunity_Letters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Opportunity>("Opportunity_Letters", "Opportunity_Letters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Quote_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_Letters")]
		public Xrm.Quote Quote_Letters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Quote>("Quote_Letters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Quote>("Quote_Letters", "Quote_Letters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SalesOrder_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrder_Letters")]
		public Xrm.SalesOrder SalesOrder_Letters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesOrder>("SalesOrder_Letters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesOrder>("SalesOrder_Letters", "SalesOrder_Letters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 service_letters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_letters")]
		public Xrm.Service service_letters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Service>("service_letters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Service>("service_letters", "service_letters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_letter
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_letter")]
		public Xrm.Team team_letter
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_letter", null);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_Letter
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_Letter")]
		public Xrm.TransactionCurrency TransactionCurrency_Letter
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_Letter", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_Letter", "TransactionCurrency_Letter", null, value);
			}
		}
		
		/// <summary>
		/// N:1 user_letter
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_letter")]
		public Xrm.SystemUser user_letter
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_letter", null);
			}
		}
	}
	
	/// <summary>
	/// Przechowuje informacje o licencji programu Microsoft CRM.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("license")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("LicenseSet")]
	public partial class License : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public License() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "license";
		
		public const int EntityTypeCode = 2027;
		
		/// <summary>
		/// Data i godzina zainstalowania licencji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("installedon")]
		public System.Nullable<System.DateTime> InstalledOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("installedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("InstalledOn", "installedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator licencji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("licenseid")]
		public System.Nullable<System.Guid> LicenseId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("licenseid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("LicenseId", "licenseid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("licenseid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.LicenseId = value;
			}
		}
		
		/// <summary>
		/// Klucz licencji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("licensekey")]
		public string LicenseKey
		{
			get
			{
				return this.GetAttributeValue<string>("licensekey");
			}
			set
			{
				this.SetAttributeValue<string>("LicenseKey", "licensekey", value);
			}
		}
		
		/// <summary>
		/// Typ licencji, np. Professional, Standard lub Suite.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("licensetype")]
		public System.Nullable<System.Guid> LicenseType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("licensetype");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("LicenseType", "licensetype", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z licencją.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_license
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_license")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_license
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_license", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_license", "userentityinstancedata_license", null, value);
			}
		}
		
		/// <summary>
		/// N:1 organization_licenses
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_licenses")]
		public Xrm.Organization organization_licenses
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_licenses", null);
			}
		}
	}
	
	/// <summary>
	/// Grupa istniejących lub potencjalnych klientów utworzona na potrzeby kampanii marketingowej lub do innych celów handlowych.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("list")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ListSet")]
	public partial class List : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public List() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "list";
		
		public const int EntityTypeCode = 4300;
		
		/// <summary>
		/// Koszt listy marketingowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("cost")]
		public System.Nullable<decimal> Cost
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("cost");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Cost", "cost", value);
			}
		}
		
		/// <summary>
		/// Równowartość kosztu listy marketingowej w walucie podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("cost_base")]
		public System.Nullable<decimal> Cost_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("cost_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył listę marketingową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Informacja dotycząca sposobu utworzenia listy marketingowej. Parametr ogranicza typ obiektów, które można dodawać do listy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdfromcode")]
		public System.Nullable<int> CreatedFromCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("createdfromcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("CreatedFromCode", "createdfromcode", value);
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia listy marketingowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który utworzył listę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis listy marketingowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy wysyłać materiały marketingowe do członków listy, którzy nie zezwolili na wysyłanie materiałów marketingowych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("donotsendonoptout")]
		public System.Nullable<bool> DoNotSendOnOptOut
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("donotsendonoptout");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DoNotSendOnOptOut", "donotsendonoptout", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z listą względem waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy ignorować nieaktywnych członków listy marketingowej podczas propagowania/wykonywania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ignoreinactivelistmembers")]
		public System.Nullable<bool> IgnoreInactiveListMembers
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ignoreinactivelistmembers");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IgnoreInactiveListMembers", "ignoreinactivelistmembers", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu danych lub migracji danych, w wyniku której ten rekord został utworzony.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniego użycia listy w kampanii, w celu utworzenia działań lub szans sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("lastusedon")]
		public System.Nullable<System.DateTime> LastUsedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("lastusedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator listy marketingowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("listid")]
		public System.Nullable<System.Guid> ListId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("listid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ListId", "listid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("listid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ListId = value;
			}
		}
		
		/// <summary>
		/// Zdefiniowana przez użytkownika nazwa listy marketingowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("listname")]
		public string ListName
		{
			get
			{
				return this.GetAttributeValue<string>("listname");
			}
			set
			{
				this.SetAttributeValue<string>("ListName", "listname", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy lista marketingowa jest zablokowana.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("lockstatus")]
		public System.Nullable<bool> LockStatus
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("lockstatus");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("LockStatus", "lockstatus", value);
			}
		}
		
		/// <summary>
		/// Łączna liczba członków listy marketingowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("membercount")]
		public System.Nullable<int> MemberCount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("membercount");
			}
		}
		
		/// <summary>
		/// Typ członków, którzy mogą być przechowywani na liście marketingowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("membertype")]
		public System.Nullable<int> MemberType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("membertype");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("MemberType", "membertype", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował listę marketingową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji listy marketingowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który jako ostatni zmodyfikował listę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem listy marketingowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej będącej właścicielem listy marketingowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu będącego właścicielem listy marketingowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika będącego właścicielem listy marketingowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Przyczyna utworzenia listy marketingowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("purpose")]
		public string Purpose
		{
			get
			{
				return this.GetAttributeValue<string>("purpose");
			}
			set
			{
				this.SetAttributeValue<string>("Purpose", "purpose", value);
			}
		}
		
		/// <summary>
		/// Zapytanie używane do pobierania członków listy marketingowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("query")]
		public string Query
		{
			get
			{
				return this.GetAttributeValue<string>("query");
			}
			set
			{
				this.SetAttributeValue<string>("Query", "query", value);
			}
		}
		
		/// <summary>
		/// Źródło listy marketingowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("source")]
		public string Source
		{
			get
			{
				return this.GetAttributeValue<string>("source");
			}
			set
			{
				this.SetAttributeValue<string>("Source", "source", value);
			}
		}
		
		/// <summary>
		/// Stan listy marketingowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu listy marketingowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z listą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Typ listy marketingowej (statyczna lub dynamiczna).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("type")]
		public System.Nullable<bool> Type
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("type");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("Type", "type", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji listy marketingowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N List_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("List_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> List_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("List_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("List_Annotation", "List_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N List_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("List_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> List_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("List_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("List_AsyncOperations", "List_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N List_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("List_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> List_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("List_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("List_BulkDeleteFailures", "List_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N List_BulkOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("List_BulkOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkOperation> List_BulkOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkOperation>("List_BulkOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkOperation>("List_BulkOperations", "List_BulkOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N list_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("list_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> list_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("list_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("list_connections1", "list_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N list_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("list_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> list_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("list_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("list_connections2", "list_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N List_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("List_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> List_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("List_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("List_DuplicateBaseRecord", "List_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N List_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("List_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> List_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("List_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("List_DuplicateMatchingRecord", "List_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N list_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("list_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> list_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("list_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("list_principalobjectattributeaccess", "list_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N List_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("List_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> List_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("List_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("List_ProcessSessions", "List_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_list
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_list")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_list
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_list", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_list", "userentityinstancedata_list", null, value);
			}
		}
		
		/// <summary>
		/// N:N campaignactivitylist_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaignactivitylist_association")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignActivity> campaignactivitylist_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignActivity>("campaignactivitylist_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignActivity>("campaignactivitylist_association", "campaignactivitylist_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N campaignlist_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaignlist_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Campaign> campaignlist_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Campaign>("campaignlist_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Campaign>("campaignlist_association", "campaignlist_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N listaccount_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("listaccount_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Account> listaccount_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Account>("listaccount_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Account>("listaccount_association", "listaccount_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N listcontact_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("listcontact_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Contact> listcontact_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contact>("listcontact_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contact>("listcontact_association", "listcontact_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N listlead_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("listlead_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Lead> listlead_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Lead>("listlead_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Lead>("listlead_association", "listlead_association", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_list
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_list")]
		public Xrm.BusinessUnit business_unit_list
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_list", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_list_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_list_createdby")]
		public Xrm.SystemUser lk_list_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_list_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_list_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_list_createdonbehalfby")]
		public Xrm.SystemUser lk_list_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_list_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_list_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_list_modifiedby")]
		public Xrm.SystemUser lk_list_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_list_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_list_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_list_modifiedonbehalfby")]
		public Xrm.SystemUser lk_list_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_list_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 team_list
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_list")]
		public Xrm.Team team_list
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_list", null);
			}
		}
		
		/// <summary>
		/// N:1 transactioncurrency_list
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_list")]
		public Xrm.TransactionCurrency transactioncurrency_list
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_list", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_list", "transactioncurrency_list", null, value);
			}
		}
		
		/// <summary>
		/// N:1 user_list
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_list")]
		public Xrm.SystemUser user_list
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_list", null);
			}
		}
	}
	
	/// <summary>
	/// Element listy marketingowej.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("listmember")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ListMemberSet")]
	public partial class ListMember : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ListMember() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "listmember";
		
		public const int EntityTypeCode = 4301;
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("entityid")]
		public Microsoft.Xrm.Client.CrmEntityReference EntityId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("entityid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("EntityId", "entityid", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("entitytype")]
		public string EntityType
		{
			get
			{
				return this.GetAttributeValue<string>("entitytype");
			}
			set
			{
				this.SetAttributeValue<string>("EntityType", "entitytype", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("listid")]
		public Microsoft.Xrm.Client.CrmEntityReference ListId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("listid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ListId", "listid", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("listmemberid")]
		public System.Nullable<System.Guid> ListMemberId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("listmemberid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ListMemberId", "listmemberid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("listmemberid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ListMemberId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który ostatni dokonał modyfikacji członka listy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji członka listy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który jako ostatni zmodyfikował członka listy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem członka listy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public System.Nullable<System.Guid> OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public System.Nullable<System.Guid> OwningUser
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owninguser");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_listmember
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_listmember")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_listmember
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_listmember", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_listmember", "userentityinstancedata_listmember", null, value);
			}
		}
		
		/// <summary>
		/// N:N listaccount_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("listaccount_association")]
		public System.Collections.Generic.IEnumerable<Xrm.List> listaccount_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.List>("listaccount_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.List>("listaccount_association", "listaccount_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N listcontact_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("listcontact_association")]
		public System.Collections.Generic.IEnumerable<Xrm.List> listcontact_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.List>("listcontact_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.List>("listcontact_association", "listcontact_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N listlead_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("listlead_association")]
		public System.Collections.Generic.IEnumerable<Xrm.List> listlead_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.List>("listlead_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.List>("listlead_association", "listlead_association", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_listmember_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_listmember_createdby")]
		public Xrm.SystemUser lk_listmember_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_listmember_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_listmember_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_listmember_createdonbehalfby")]
		public Xrm.SystemUser lk_listmember_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_listmember_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_listmember_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_listmember_modifiedby")]
		public Xrm.SystemUser lk_listmember_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_listmember_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_listmember_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_listmember_modifiedonbehalfby")]
		public Xrm.SystemUser lk_listmember_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_listmember_modifiedonbehalfby", null);
			}
		}
	}
	
	/// <summary>
	/// Mapowanie atrybutu z pliku źródłowego w mapowaniu danych do programu Microsoft Dynamics CRM.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("lookupmapping")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("LookUpMappingSet")]
	public partial class LookUpMapping : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public LookUpMapping() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "lookupmapping";
		
		public const int EntityTypeCode = 4419;
		
		/// <summary>
		/// Unikatowy identyfikator mapowania kolumny, z którym jest skojarzone mapowanie wyszukiwania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("columnmappingid")]
		public Microsoft.Xrm.Client.CrmEntityReference ColumnMappingId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("columnmappingid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ColumnMappingId", "columnmappingid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył mapowanie wyszukiwania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia mapowania wyszukiwania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który utworzył mapowanie wyszukiwania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa pola, z którym jest skojarzone wyszukiwanie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("lookupattributename")]
		public string LookUpAttributeName
		{
			get
			{
				return this.GetAttributeValue<string>("lookupattributename");
			}
			set
			{
				this.SetAttributeValue<string>("LookUpAttributeName", "lookupattributename", value);
			}
		}
		
		/// <summary>
		/// Nazwa encji, z którą jest skojarzone wyszukiwanie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("lookupentityname")]
		public string LookUpEntityName
		{
			get
			{
				return this.GetAttributeValue<string>("lookupentityname");
			}
			set
			{
				this.SetAttributeValue<string>("LookUpEntityName", "lookupentityname", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator mapowania wyszukiwania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("lookupmappingid")]
		public System.Nullable<System.Guid> LookUpMappingId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("lookupmappingid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("LookUpMappingId", "lookupmappingid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("lookupmappingid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.LookUpMappingId = value;
			}
		}
		
		/// <summary>
		/// Kod źródła wyszukiwania dla mapowania wyszukiwania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("lookupsourcecode")]
		public System.Nullable<int> LookUpSourceCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("lookupsourcecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("LookUpSourceCode", "lookupsourcecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował mapowanie wyszukiwania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji mapowania wyszukiwania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który jako ostatni zmodyfikował mapowanie wyszukiwania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy mapowanie wyszukiwania wymaga przetworzenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("processcode")]
		public System.Nullable<int> ProcessCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("processcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ProcessCode", "processcode", value);
			}
		}
		
		/// <summary>
		/// Stan mapowania wyszukiwania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu mapowania wyszukiwania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator mapowania parametru przekształcenia, z którym jest skojarzone mapowanie wyszukiwania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transformationparametermappingid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransformationParameterMappingId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transformationparametermappingid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransformationParameterMappingId", "transformationparametermappingid", value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_lookupmapping
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_lookupmapping")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_lookupmapping
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_lookupmapping", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_lookupmapping", "userentityinstancedata_lookupmapping", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_lookupmapping_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_lookupmapping_createdby")]
		public Xrm.SystemUser lk_lookupmapping_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_lookupmapping_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_lookupmapping_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_lookupmapping_createdonbehalfby")]
		public Xrm.SystemUser lk_lookupmapping_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_lookupmapping_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_lookupmapping_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_lookupmapping_modifiedby")]
		public Xrm.SystemUser lk_lookupmapping_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_lookupmapping_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_lookupmapping_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_lookupmapping_modifiedonbehalfby")]
		public Xrm.SystemUser lk_lookupmapping_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_lookupmapping_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 LookUpMapping_ColumnMapping
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("columnmappingid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("LookUpMapping_ColumnMapping")]
		public Xrm.ColumnMapping LookUpMapping_ColumnMapping
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ColumnMapping>("LookUpMapping_ColumnMapping", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ColumnMapping>("LookUpMapping_ColumnMapping", "LookUpMapping_ColumnMapping", null, value);
			}
		}
		
		/// <summary>
		/// N:1 LookUpMapping_TransformationParameterMapping
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transformationparametermappingid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("LookUpMapping_TransformationParameterMapping")]
		public Xrm.TransformationParameterMapping LookUpMapping_TransformationParameterMapping
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransformationParameterMapping>("LookUpMapping_TransformationParameterMapping", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransformationParameterMapping>("LookUpMapping_TransformationParameterMapping", "LookUpMapping_TransformationParameterMapping", null, value);
			}
		}
	}
	
	/// <summary>
	/// Szablon dokumentu korespondencji seryjnej zawierający standardowe atrybuty tego dokumentu.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("mailmergetemplate")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("MailMergeTemplateSet")]
	public partial class MailMergeTemplate : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public MailMergeTemplate() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "mailmergetemplate";
		
		public const int EntityTypeCode = 9106;
		
		/// <summary>
		/// Tekst podstawowy szablonu korespondencji seryjnej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("body")]
		public string Body
		{
			get
			{
				return this.GetAttributeValue<string>("body");
			}
			set
			{
				this.SetAttributeValue<string>("Body", "body", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył szablon korespondencji seryjnej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia szablonu korespondencji seryjnej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył szablon korespondencji seryjnej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Domyślne pola danych skojarzone z szablonem korespondencji seryjnej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("defaultfilter")]
		public string DefaultFilter
		{
			get
			{
				return this.GetAttributeValue<string>("defaultfilter");
			}
			set
			{
				this.SetAttributeValue<string>("DefaultFilter", "defaultfilter", value);
			}
		}
		
		/// <summary>
		/// Opis szablonu korespondencji seryjnej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Wersja formatu XML programu Microsoft Office Word używanego w szablonie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("documentformat")]
		public System.Nullable<int> DocumentFormat
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("documentformat");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("DocumentFormat", "documentformat", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z szablonem korespondencji seryjnej w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Nazwa pliku szablonu korespondencji seryjnej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("filename")]
		public string FileName
		{
			get
			{
				return this.GetAttributeValue<string>("filename");
			}
			set
			{
				this.SetAttributeValue<string>("FileName", "filename", value);
			}
		}
		
		/// <summary>
		/// Rozmiar pliku szablonu korespondencji seryjnej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("filesize")]
		public System.Nullable<int> FileSize
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("filesize");
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy można dostosować ten składnik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomizable")]
		public Microsoft.Xrm.Sdk.BooleanManagedProperty IsCustomizable
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("iscustomizable");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("IsCustomizable", "iscustomizable", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy składnik rozwiązania jest częścią rozwiązania zarządzanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Informacja, czy szablon korespondencji seryjnej jest prywatny czy dostępny dla wszystkich użytkowników.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ispersonal")]
		public System.Nullable<bool> IsPersonal
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ispersonal");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsPersonal", "ispersonal", value);
			}
		}
		
		/// <summary>
		/// Język szablonu korespondencji seryjnej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("languagecode")]
		public System.Nullable<int> LanguageCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("languagecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("LanguageCode", "languagecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator szablonu korespondencji seryjnej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("mailmergetemplateid")]
		public System.Nullable<System.Guid> MailMergeTemplateId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("mailmergetemplateid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("MailMergeTemplateId", "mailmergetemplateid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("mailmergetemplateid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.MailMergeTemplateId = value;
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("mailmergetemplateidunique")]
		public System.Nullable<System.Guid> MailMergeTemplateIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("mailmergetemplateidunique");
			}
		}
		
		/// <summary>
		/// Lista rozwijana umożliwiająca wybranie rodzaju korespondencji seryjnej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("mailmergetype")]
		public System.Nullable<int> MailMergeType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("mailmergetype");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("MailMergeType", "mailmergetype", value);
			}
		}
		
		/// <summary>
		/// Typ MIME szablonu korespondencji seryjnej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("mimetype")]
		public string MimeType
		{
			get
			{
				return this.GetAttributeValue<string>("mimetype");
			}
			set
			{
				this.SetAttributeValue<string>("MimeType", "mimetype", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował szablon korespondencji seryjnej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji szablonu korespondencji seryjnej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował szablon korespondencji seryjnej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa szablonu korespondencji seryjnej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem szablonu korespondencji seryjnej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem szablonu korespondencji seryjnej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, który jest właścicielem szablonu korespondencji seryjnej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem szablonu korespondencji seryjnej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Kod XML parametru.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parameterxml")]
		public string ParameterXml
		{
			get
			{
				return this.GetAttributeValue<string>("parameterxml");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// Stan szablonu korespondencji seryjnej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu szablonu korespondencji seryjnej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Typ szablonu korespondencji seryjnej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("templatetypecode")]
		public string TemplateTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("templatetypecode");
			}
			set
			{
				this.SetAttributeValue<string>("TemplateTypeCode", "templatetypecode", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzony z szablonem korespondencji seryjnej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji szablonu korespondencji seryjnej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N MailMergeTemplate_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("MailMergeTemplate_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> MailMergeTemplate_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("MailMergeTemplate_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("MailMergeTemplate_AsyncOperations", "MailMergeTemplate_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N mailmergetemplate_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("mailmergetemplate_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> mailmergetemplate_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("mailmergetemplate_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("mailmergetemplate_principalobjectattributeaccess", "mailmergetemplate_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N MailMergeTemplate_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("MailMergeTemplate_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> MailMergeTemplate_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("MailMergeTemplate_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("MailMergeTemplate_ProcessSessions", "MailMergeTemplate_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_mailmergetemplate
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_mailmergetemplate")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_mailmergetemplate
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_mailmergetemplate", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_mailmergetemplate", "userentityinstancedata_mailmergetemplate", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_mailmergetemplates
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_mailmergetemplates")]
		public Xrm.BusinessUnit business_unit_mailmergetemplates
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_mailmergetemplates", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_mailmergetemplate_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_mailmergetemplate_createdonbehalfby")]
		public Xrm.SystemUser lk_mailmergetemplate_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_mailmergetemplate_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_mailmergetemplate_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_mailmergetemplate_modifiedonbehalfby")]
		public Xrm.SystemUser lk_mailmergetemplate_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_mailmergetemplate_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_mailmergetemplatebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_mailmergetemplatebase_createdby")]
		public Xrm.SystemUser lk_mailmergetemplatebase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_mailmergetemplatebase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_mailmergetemplatebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_mailmergetemplatebase_modifiedby")]
		public Xrm.SystemUser lk_mailmergetemplatebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_mailmergetemplatebase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_MailMergeTemplate
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_MailMergeTemplate")]
		public Xrm.TransactionCurrency TransactionCurrency_MailMergeTemplate
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_MailMergeTemplate", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_MailMergeTemplate", "TransactionCurrency_MailMergeTemplate", null, value);
			}
		}
	}
	
	/// <summary>
	/// Typ miary dotyczącej celu, na przykład kwota pieniężna lub liczba.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("metric")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("MetricSet")]
	public partial class Metric : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Metric() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "metric";
		
		public const int EntityTypeCode = 9603;
		
		/// <summary>
		/// Typ danych dotyczący kwoty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("amountdatatype")]
		public System.Nullable<int> AmountDataType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("amountdatatype");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("AmountDataType", "amountdatatype", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis metryki celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Numer sekwencji operacji importu, w wyniku której ten rekord został utworzony.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja wskazująca, czy typem metryki jest Liczba, czy Kwota.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isamount")]
		public System.Nullable<bool> IsAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isamount");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsAmount", "isamount", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy metryka celu śledzi cele ambitne.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isstretchtracked")]
		public System.Nullable<bool> IsStretchTracked
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isstretchtracked");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsStretchTracked", "isstretchtracked", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator metryki celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("metricid")]
		public System.Nullable<System.Guid> MetricId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("metricid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("MetricId", "metricid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("metricid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.MetricId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który zmodyfikował rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina modyfikacji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który zmodyfikował rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa metryki celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Stan metryki celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu metryki celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji metryki celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N metric_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("metric_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> metric_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("metric_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("metric_AsyncOperations", "metric_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N metric_goal
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("metric_goal")]
		public System.Collections.Generic.IEnumerable<Xrm.Goal> metric_goal
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Goal>("metric_goal", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Goal>("metric_goal", "metric_goal", null, value);
			}
		}
		
		/// <summary>
		/// 1:N metric_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("metric_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> metric_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("metric_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("metric_ProcessSessions", "metric_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N metric_rollupfield
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("metric_rollupfield")]
		public System.Collections.Generic.IEnumerable<Xrm.RollupField> metric_rollupfield
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RollupField>("metric_rollupfield", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RollupField>("metric_rollupfield", "metric_rollupfield", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_metric
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_metric")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_metric
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_metric", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_metric", "userentityinstancedata_metric", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_metric_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_metric_createdby")]
		public Xrm.SystemUser lk_metric_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_metric_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_metric_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_metric_createdonbehalfby")]
		public Xrm.SystemUser lk_metric_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_metric_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_metric_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_metric_modifiedby")]
		public Xrm.SystemUser lk_metric_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_metric_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_metric_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_metric_modifiedonbehalfby")]
		public Xrm.SystemUser lk_metric_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_metric_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_metric
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_metric")]
		public Xrm.Organization organization_metric
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_metric", null);
			}
		}
	}
	
	/// <summary>
	/// Miesięczny kalendarz obrachunkowy organizacji. Okres, w którym są obliczane działania finansowe organizacji.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("monthlyfiscalcalendar")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("MonthlyFiscalCalendarSet")]
	public partial class MonthlyFiscalCalendar : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public MonthlyFiscalCalendar() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "monthlyfiscalcalendar";
		
		public const int EntityTypeCode = 2003;
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		public Microsoft.Xrm.Client.CrmEntityReference BusinessUnitId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("businessunitid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył kalendarz obrachunkowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina modyfikacji normy związanej z miesięcznym kalendarzem obrachunkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który utworzył miesięczny kalendarz obrachunkowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Data i godzina wejścia w życie normy sprzedaży związanej z miesięcznym kalendarzem obrachunkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("effectiveon")]
		public System.Nullable<System.DateTime> EffectiveOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("effectiveon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("EffectiveOn", "effectiveon", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z miesięcznym kalendarzem obrachunkowym w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Typ okresu obrachunkowego używanego w normie sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fiscalperiodtype")]
		public System.Nullable<int> FiscalPeriodType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("fiscalperiodtype");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował normę związaną z miesięcznym kalendarzem obrachunkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji normy związanej z miesięcznym kalendarzem obrachunkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który jako ostatni zmodyfikował miesięczny kalendarz obrachunkowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dotycząca pierwszego miesiąca w roku obrachunkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("month1")]
		public System.Nullable<decimal> Month1
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("month1");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Month1", "month1", value);
			}
		}
		
		/// <summary>
		/// Norma sprzedaży na pierwszy miesiąc roku obrachunkowego w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("month1_base")]
		public System.Nullable<decimal> Month1_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("month1_base");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dotycząca dziesiątego miesiąca w roku obrachunkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("month10")]
		public System.Nullable<decimal> Month10
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("month10");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Month10", "month10", value);
			}
		}
		
		/// <summary>
		/// Norma sprzedaży na dziesiąty miesiąc roku obrachunkowego w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("month10_base")]
		public System.Nullable<decimal> Month10_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("month10_base");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dotycząca jedenastego miesiąca w roku obrachunkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("month11")]
		public System.Nullable<decimal> Month11
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("month11");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Month11", "month11", value);
			}
		}
		
		/// <summary>
		/// Norma sprzedaży na jedenasty miesiąc roku obrachunkowego w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("month11_base")]
		public System.Nullable<decimal> Month11_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("month11_base");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dotycząca dwunastego miesiąca w roku obrachunkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("month12")]
		public System.Nullable<decimal> Month12
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("month12");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Month12", "month12", value);
			}
		}
		
		/// <summary>
		/// Norma sprzedaży na dwunasty miesiąc roku obrachunkowego w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("month12_base")]
		public System.Nullable<decimal> Month12_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("month12_base");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dotycząca drugiego miesiąca w roku obrachunkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("month2")]
		public System.Nullable<decimal> Month2
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("month2");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Month2", "month2", value);
			}
		}
		
		/// <summary>
		/// Norma sprzedaży na drugi miesiąc roku obrachunkowego w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("month2_base")]
		public System.Nullable<decimal> Month2_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("month2_base");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dotycząca trzeciego miesiąca w roku obrachunkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("month3")]
		public System.Nullable<decimal> Month3
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("month3");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Month3", "month3", value);
			}
		}
		
		/// <summary>
		/// Norma sprzedaży na trzeci miesiąc roku obrachunkowego w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("month3_base")]
		public System.Nullable<decimal> Month3_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("month3_base");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dotycząca czwartego miesiąca w roku obrachunkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("month4")]
		public System.Nullable<decimal> Month4
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("month4");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Month4", "month4", value);
			}
		}
		
		/// <summary>
		/// Norma sprzedaży na czwarty miesiąc roku obrachunkowego w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("month4_base")]
		public System.Nullable<decimal> Month4_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("month4_base");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dotycząca piątego miesiąca w roku obrachunkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("month5")]
		public System.Nullable<decimal> Month5
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("month5");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Month5", "month5", value);
			}
		}
		
		/// <summary>
		/// Norma sprzedaży na piąty miesiąc roku obrachunkowego w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("month5_base")]
		public System.Nullable<decimal> Month5_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("month5_base");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dotycząca szóstego miesiąca w roku obrachunkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("month6")]
		public System.Nullable<decimal> Month6
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("month6");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Month6", "month6", value);
			}
		}
		
		/// <summary>
		/// Norma sprzedaży na szósty miesiąc roku obrachunkowego w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("month6_base")]
		public System.Nullable<decimal> Month6_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("month6_base");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dotycząca siódmego miesiąca w roku obrachunkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("month7")]
		public System.Nullable<decimal> Month7
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("month7");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Month7", "month7", value);
			}
		}
		
		/// <summary>
		/// Norma sprzedaży na siódmy miesiąc roku obrachunkowego w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("month7_base")]
		public System.Nullable<decimal> Month7_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("month7_base");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dotycząca ósmego miesiąca w roku obrachunkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("month8")]
		public System.Nullable<decimal> Month8
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("month8");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Month8", "month8", value);
			}
		}
		
		/// <summary>
		/// Norma sprzedaży na ósmy miesiąc roku obrachunkowego w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("month8_base")]
		public System.Nullable<decimal> Month8_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("month8_base");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dotycząca dziewiątego miesiąca w roku obrachunkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("month9")]
		public System.Nullable<decimal> Month9
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("month9");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Month9", "month9", value);
			}
		}
		
		/// <summary>
		/// Norma sprzedaży na dziewiąty miesiąc roku obrachunkowego w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("month9_base")]
		public System.Nullable<decimal> Month9_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("month9_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego sprzedawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salespersonid")]
		public Microsoft.Xrm.Client.CrmEntityReference SalesPersonId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("salespersonid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("SalesPersonId", "salespersonid", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z miesięcznym kalendarzem obrachunkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator miesięcznego kalendarza obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userfiscalcalendarid")]
		public System.Nullable<System.Guid> UserFiscalCalendarId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("userfiscalcalendarid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("UserFiscalCalendarId", "userfiscalcalendarid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userfiscalcalendarid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.UserFiscalCalendarId = value;
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// 1:N MonthlyFiscalCalendar_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("MonthlyFiscalCalendar_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> MonthlyFiscalCalendar_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("MonthlyFiscalCalendar_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("MonthlyFiscalCalendar_AsyncOperations", "MonthlyFiscalCalendar_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N MonthlyFiscalCalendar_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("MonthlyFiscalCalendar_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> MonthlyFiscalCalendar_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("MonthlyFiscalCalendar_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("MonthlyFiscalCalendar_BulkDeleteFailures", "MonthlyFiscalCalendar_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_monthlyfiscalcalendar_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_monthlyfiscalcalendar_createdby")]
		public Xrm.SystemUser lk_monthlyfiscalcalendar_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_monthlyfiscalcalendar_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_monthlyfiscalcalendar_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_monthlyfiscalcalendar_createdonbehalfby")]
		public Xrm.SystemUser lk_monthlyfiscalcalendar_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_monthlyfiscalcalendar_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_monthlyfiscalcalendar_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_monthlyfiscalcalendar_modifiedby")]
		public Xrm.SystemUser lk_monthlyfiscalcalendar_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_monthlyfiscalcalendar_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_monthlyfiscalcalendar_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_monthlyfiscalcalendar_modifiedonbehalfby")]
		public Xrm.SystemUser lk_monthlyfiscalcalendar_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_monthlyfiscalcalendar_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_monthlyfiscalcalendar_salespersonid
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salespersonid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_monthlyfiscalcalendar_salespersonid")]
		public Xrm.SystemUser lk_monthlyfiscalcalendar_salespersonid
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_monthlyfiscalcalendar_salespersonid", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("lk_monthlyfiscalcalendar_salespersonid", "lk_monthlyfiscalcalendar_salespersonid", null, value);
			}
		}
		
		/// <summary>
		/// N:1 transactioncurrency_monthlyfiscalcalendar
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_monthlyfiscalcalendar")]
		public Xrm.TransactionCurrency transactioncurrency_monthlyfiscalcalendar
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_monthlyfiscalcalendar", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_monthlyfiscalcalendar", "transactioncurrency_monthlyfiscalcalendar", null, value);
			}
		}
	}
	
	/// <summary>
	/// 
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("msdyn_postalbum")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("msdyn_PostAlbumSet")]
	public partial class msdyn_PostAlbum : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public msdyn_PostAlbum() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "msdyn_postalbum";
		
		public const int EntityTypeCode = 10000;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Numer sekwencji operacji importu, w wyniku której ten rekord został utworzony.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który zmodyfikował rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina modyfikacji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który zmodyfikował rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa encji niestandardowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("msdyn_name")]
		public string msdyn_name
		{
			get
			{
				return this.GetAttributeValue<string>("msdyn_name");
			}
			set
			{
				this.SetAttributeValue<string>("msdyn_name", "msdyn_name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator wystąpień encji
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("msdyn_postalbumid")]
		public System.Nullable<System.Guid> msdyn_PostAlbumId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("msdyn_postalbumid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("msdyn_PostAlbumId", "msdyn_postalbumid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("msdyn_postalbumid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.msdyn_PostAlbumId = value;
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Identyfikator właściciela
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem rekordu
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, do którego należy dany rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Stan albumu profili
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> statecode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu albumu profili
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> statuscode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("statuscode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postalbum_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_ActivityPointers")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityPointer> msdyn_postalbum_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityPointer>("msdyn_postalbum_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityPointer>("msdyn_postalbum_ActivityPointers", "msdyn_postalbum_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postalbum_Annotations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_Annotations")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> msdyn_postalbum_Annotations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("msdyn_postalbum_Annotations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("msdyn_postalbum_Annotations", "msdyn_postalbum_Annotations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postalbum_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_Appointments")]
		public System.Collections.Generic.IEnumerable<Xrm.Appointment> msdyn_postalbum_Appointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Appointment>("msdyn_postalbum_Appointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Appointment>("msdyn_postalbum_Appointments", "msdyn_postalbum_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postalbum_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> msdyn_postalbum_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("msdyn_postalbum_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("msdyn_postalbum_AsyncOperations", "msdyn_postalbum_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postalbum_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> msdyn_postalbum_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("msdyn_postalbum_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("msdyn_postalbum_BulkDeleteFailures", "msdyn_postalbum_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postalbum_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> msdyn_postalbum_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("msdyn_postalbum_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("msdyn_postalbum_connections1", "msdyn_postalbum_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postalbum_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> msdyn_postalbum_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("msdyn_postalbum_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("msdyn_postalbum_connections2", "msdyn_postalbum_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postalbum_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> msdyn_postalbum_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("msdyn_postalbum_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("msdyn_postalbum_DuplicateBaseRecord", "msdyn_postalbum_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postalbum_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> msdyn_postalbum_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("msdyn_postalbum_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("msdyn_postalbum_DuplicateMatchingRecord", "msdyn_postalbum_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postalbum_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_Emails")]
		public System.Collections.Generic.IEnumerable<Xrm.Email> msdyn_postalbum_Emails
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Email>("msdyn_postalbum_Emails", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Email>("msdyn_postalbum_Emails", "msdyn_postalbum_Emails", null, value);
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postalbum_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_Faxes")]
		public System.Collections.Generic.IEnumerable<Xrm.Fax> msdyn_postalbum_Faxes
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Fax>("msdyn_postalbum_Faxes", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Fax>("msdyn_postalbum_Faxes", "msdyn_postalbum_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postalbum_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_Letters")]
		public System.Collections.Generic.IEnumerable<Xrm.Letter> msdyn_postalbum_Letters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Letter>("msdyn_postalbum_Letters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Letter>("msdyn_postalbum_Letters", "msdyn_postalbum_Letters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postalbum_PhoneCalls
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_PhoneCalls")]
		public System.Collections.Generic.IEnumerable<Xrm.PhoneCall> msdyn_postalbum_PhoneCalls
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PhoneCall>("msdyn_postalbum_PhoneCalls", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PhoneCall>("msdyn_postalbum_PhoneCalls", "msdyn_postalbum_PhoneCalls", null, value);
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postalbum_PrincipalObjectAttributeAccesses
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_PrincipalObjectAttributeAccesses")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> msdyn_postalbum_PrincipalObjectAttributeAccesses
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("msdyn_postalbum_PrincipalObjectAttributeAccesses", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("msdyn_postalbum_PrincipalObjectAttributeAccesses", "msdyn_postalbum_PrincipalObjectAttributeAccesses", null, value);
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postalbum_ProcessSession
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_ProcessSession")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> msdyn_postalbum_ProcessSession
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("msdyn_postalbum_ProcessSession", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("msdyn_postalbum_ProcessSession", "msdyn_postalbum_ProcessSession", null, value);
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postalbum_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_RecurringAppointmentMasters")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurringAppointmentMaster> msdyn_postalbum_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurringAppointmentMaster>("msdyn_postalbum_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurringAppointmentMaster>("msdyn_postalbum_RecurringAppointmentMasters", "msdyn_postalbum_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postalbum_ServiceAppointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_ServiceAppointments")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceAppointment> msdyn_postalbum_ServiceAppointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceAppointment>("msdyn_postalbum_ServiceAppointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceAppointment>("msdyn_postalbum_ServiceAppointments", "msdyn_postalbum_ServiceAppointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postalbum_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_Tasks")]
		public System.Collections.Generic.IEnumerable<Xrm.Task> msdyn_postalbum_Tasks
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Task>("msdyn_postalbum_Tasks", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Task>("msdyn_postalbum_Tasks", "msdyn_postalbum_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postalbum_UserEntityInstanceDatas
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_UserEntityInstanceDatas")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> msdyn_postalbum_UserEntityInstanceDatas
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("msdyn_postalbum_UserEntityInstanceDatas", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("msdyn_postalbum_UserEntityInstanceDatas", "msdyn_postalbum_UserEntityInstanceDatas", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_msdyn_postalbum
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_msdyn_postalbum")]
		public Xrm.BusinessUnit business_unit_msdyn_postalbum
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_msdyn_postalbum", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_msdyn_postalbum_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_msdyn_postalbum_createdby")]
		public Xrm.SystemUser lk_msdyn_postalbum_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_msdyn_postalbum_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_msdyn_postalbum_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_msdyn_postalbum_createdonbehalfby")]
		public Xrm.SystemUser lk_msdyn_postalbum_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_msdyn_postalbum_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_msdyn_postalbum_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_msdyn_postalbum_modifiedby")]
		public Xrm.SystemUser lk_msdyn_postalbum_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_msdyn_postalbum_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_msdyn_postalbum_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_msdyn_postalbum_modifiedonbehalfby")]
		public Xrm.SystemUser lk_msdyn_postalbum_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_msdyn_postalbum_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 team_msdyn_postalbum
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_msdyn_postalbum")]
		public Xrm.Team team_msdyn_postalbum
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_msdyn_postalbum", null);
			}
		}
		
		/// <summary>
		/// N:1 user_msdyn_postalbum
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_msdyn_postalbum")]
		public Xrm.SystemUser user_msdyn_postalbum
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_msdyn_postalbum", null);
			}
		}
	}
	
	/// <summary>
	/// Zawiera informacje na temat konfiguracji źródła działań dla encji.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("msdyn_postconfig")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("msdyn_PostConfigSet")]
	public partial class msdyn_PostConfig : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public msdyn_PostConfig() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "msdyn_postconfig";
		
		public const int EntityTypeCode = 10001;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Numer sekwencji operacji importu, w wyniku której ten rekord został utworzony.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który zmodyfikował rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina modyfikacji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który zmodyfikował rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Włącza lub wyłącza tablicę w formularzu encji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("msdyn_configurewall")]
		public System.Nullable<bool> msdyn_ConfigureWall
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("msdyn_configurewall");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("msdyn_ConfigureWall", "msdyn_configurewall", value);
			}
		}
		
		/// <summary>
		/// Wyświetlana nazwa encji konfigurowanej przez ten obiekt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("msdyn_entitydisplayname")]
		public string msdyn_EntityDisplayName
		{
			get
			{
				return this.GetAttributeValue<string>("msdyn_entitydisplayname");
			}
			set
			{
				this.SetAttributeValue<string>("msdyn_EntityDisplayName", "msdyn_entitydisplayname", value);
			}
		}
		
		/// <summary>
		/// Nazwa logiczna encji konfigurowanej przez ten obiekt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("msdyn_entityname")]
		public string msdyn_EntityName
		{
			get
			{
				return this.GetAttributeValue<string>("msdyn_entityname");
			}
			set
			{
				this.SetAttributeValue<string>("msdyn_EntityName", "msdyn_entityname", value);
			}
		}
		
		/// <summary>
		/// Identyfikator widoku przedstawiającego rekordy obserwowane przez użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("msdyn_followingviewid")]
		public string msdyn_FollowingViewId
		{
			get
			{
				return this.GetAttributeValue<string>("msdyn_followingviewid");
			}
			set
			{
				this.SetAttributeValue<string>("msdyn_FollowingViewId", "msdyn_followingviewid", value);
			}
		}
		
		/// <summary>
		/// Identyfikator widoku przedstawiającego rekordy obserwowane przez użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("msdyn_followingviewid2")]
		public string msdyn_FollowingViewId2
		{
			get
			{
				return this.GetAttributeValue<string>("msdyn_followingviewid2");
			}
			set
			{
				this.SetAttributeValue<string>("msdyn_FollowingViewId2", "msdyn_followingviewid2", value);
			}
		}
		
		/// <summary>
		/// Kod typu obiektu encji
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("msdyn_otc")]
		public System.Nullable<int> msdyn_Otc
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("msdyn_otc");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("msdyn_Otc", "msdyn_otc", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator konfiguracji wpisu dla tej reguły.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("msdyn_postconfigid")]
		public System.Nullable<System.Guid> msdyn_PostConfigId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("msdyn_postconfigid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("msdyn_PostConfigId", "msdyn_postconfigid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("msdyn_postconfigid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.msdyn_PostConfigId = value;
			}
		}
		
		/// <summary>
		/// Informacje o powodzeniu lub niepowodzeniu konfiguracji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("msdyn_status")]
		public string msdyn_Status
		{
			get
			{
				return this.GetAttributeValue<string>("msdyn_status");
			}
			set
			{
				this.SetAttributeValue<string>("msdyn_Status", "msdyn_status", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Stan konfiguracji wpisu
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> statecode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu konfiguracji wpisu
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> statuscode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("statuscode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postconfig_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postconfig_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> msdyn_postconfig_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("msdyn_postconfig_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("msdyn_postconfig_AsyncOperations", "msdyn_postconfig_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postconfig_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postconfig_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> msdyn_postconfig_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("msdyn_postconfig_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("msdyn_postconfig_BulkDeleteFailures", "msdyn_postconfig_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postconfig_msdyn_postruleconfig
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postconfig_msdyn_postruleconfig")]
		public System.Collections.Generic.IEnumerable<Xrm.msdyn_PostRuleConfig> msdyn_postconfig_msdyn_postruleconfig
		{
			get
			{
				return this.GetRelatedEntities<Xrm.msdyn_PostRuleConfig>("msdyn_postconfig_msdyn_postruleconfig", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.msdyn_PostRuleConfig>("msdyn_postconfig_msdyn_postruleconfig", "msdyn_postconfig_msdyn_postruleconfig", null, value);
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postconfig_PrincipalObjectAttributeAccesses
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postconfig_PrincipalObjectAttributeAccesses")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> msdyn_postconfig_PrincipalObjectAttributeAccesses
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("msdyn_postconfig_PrincipalObjectAttributeAccesses", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("msdyn_postconfig_PrincipalObjectAttributeAccesses", "msdyn_postconfig_PrincipalObjectAttributeAccesses", null, value);
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postconfig_ProcessSession
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postconfig_ProcessSession")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> msdyn_postconfig_ProcessSession
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("msdyn_postconfig_ProcessSession", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("msdyn_postconfig_ProcessSession", "msdyn_postconfig_ProcessSession", null, value);
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postconfig_UserEntityInstanceDatas
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postconfig_UserEntityInstanceDatas")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> msdyn_postconfig_UserEntityInstanceDatas
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("msdyn_postconfig_UserEntityInstanceDatas", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("msdyn_postconfig_UserEntityInstanceDatas", "msdyn_postconfig_UserEntityInstanceDatas", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_msdyn_postconfig_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_msdyn_postconfig_createdby")]
		public Xrm.SystemUser lk_msdyn_postconfig_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_msdyn_postconfig_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_msdyn_postconfig_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_msdyn_postconfig_createdonbehalfby")]
		public Xrm.SystemUser lk_msdyn_postconfig_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_msdyn_postconfig_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_msdyn_postconfig_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_msdyn_postconfig_modifiedby")]
		public Xrm.SystemUser lk_msdyn_postconfig_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_msdyn_postconfig_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_msdyn_postconfig_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_msdyn_postconfig_modifiedonbehalfby")]
		public Xrm.SystemUser lk_msdyn_postconfig_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_msdyn_postconfig_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_msdyn_postconfig
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_msdyn_postconfig")]
		public Xrm.Organization organization_msdyn_postconfig
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_msdyn_postconfig", null);
			}
		}
	}
	
	/// <summary>
	/// Zawiera informacje na temat konfiguracji reguły źródła działań dla encji.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("msdyn_postruleconfig")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("msdyn_PostRuleConfigSet")]
	public partial class msdyn_PostRuleConfig : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public msdyn_PostRuleConfig() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "msdyn_postruleconfig";
		
		public const int EntityTypeCode = 10002;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Numer sekwencji operacji importu, w wyniku której ten rekord został utworzony.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który zmodyfikował rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina modyfikacji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który zmodyfikował rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("msdyn_formatid")]
		public string msdyn_FormatId
		{
			get
			{
				return this.GetAttributeValue<string>("msdyn_formatid");
			}
			set
			{
				this.SetAttributeValue<string>("msdyn_FormatId", "msdyn_formatid", value);
			}
		}
		
		/// <summary>
		/// Nazwa reguły.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("msdyn_name")]
		public string msdyn_name
		{
			get
			{
				return this.GetAttributeValue<string>("msdyn_name");
			}
			set
			{
				this.SetAttributeValue<string>("msdyn_name", "msdyn_name", value);
			}
		}
		
		/// <summary>
		/// Encja włączona dla źródeł działań.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("msdyn_postconfigid")]
		public Microsoft.Xrm.Client.CrmEntityReference msdyn_PostConfigId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("msdyn_postconfigid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("msdyn_PostConfigId", "msdyn_postconfigid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator konfiguracji reguły wpisu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("msdyn_postruleconfigid")]
		public System.Nullable<System.Guid> msdyn_PostRuleConfigId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("msdyn_postruleconfigid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("msdyn_PostRuleConfigId", "msdyn_postruleconfigid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("msdyn_postruleconfigid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.msdyn_PostRuleConfigId = value;
			}
		}
		
		/// <summary>
		/// Identyfikator definicji reguły w formacie NazwaZasobuSieciWeb:NazwaSchematu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("msdyn_ruleid")]
		public string msdyn_RuleId
		{
			get
			{
				return this.GetAttributeValue<string>("msdyn_ruleid");
			}
			set
			{
				this.SetAttributeValue<string>("msdyn_RuleId", "msdyn_ruleid", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("msdyn_rulesource")]
		public string msdyn_RuleSource
		{
			get
			{
				return this.GetAttributeValue<string>("msdyn_rulesource");
			}
			set
			{
				this.SetAttributeValue<string>("msdyn_RuleSource", "msdyn_rulesource", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kroku przetwarzania komunikatu SDK dla tej reguły.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("msdyn_stepid")]
		public string msdyn_StepId
		{
			get
			{
				return this.GetAttributeValue<string>("msdyn_stepid");
			}
			set
			{
				this.SetAttributeValue<string>("msdyn_StepId", "msdyn_stepid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Stan konfiguracji reguły wpisu
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> statecode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu konfiguracji reguły wpisu
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> statuscode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("statuscode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postruleconfig_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postruleconfig_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> msdyn_postruleconfig_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("msdyn_postruleconfig_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("msdyn_postruleconfig_AsyncOperations", "msdyn_postruleconfig_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postruleconfig_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postruleconfig_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> msdyn_postruleconfig_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("msdyn_postruleconfig_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("msdyn_postruleconfig_BulkDeleteFailures", "msdyn_postruleconfig_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postruleconfig_PrincipalObjectAttributeAccesses
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postruleconfig_PrincipalObjectAttributeAccesses")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> msdyn_postruleconfig_PrincipalObjectAttributeAccesses
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("msdyn_postruleconfig_PrincipalObjectAttributeAccesses", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("msdyn_postruleconfig_PrincipalObjectAttributeAccesses", "msdyn_postruleconfig_PrincipalObjectAttributeAccesses", null, value);
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postruleconfig_ProcessSession
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postruleconfig_ProcessSession")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> msdyn_postruleconfig_ProcessSession
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("msdyn_postruleconfig_ProcessSession", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("msdyn_postruleconfig_ProcessSession", "msdyn_postruleconfig_ProcessSession", null, value);
			}
		}
		
		/// <summary>
		/// 1:N msdyn_postruleconfig_UserEntityInstanceDatas
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postruleconfig_UserEntityInstanceDatas")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> msdyn_postruleconfig_UserEntityInstanceDatas
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("msdyn_postruleconfig_UserEntityInstanceDatas", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("msdyn_postruleconfig_UserEntityInstanceDatas", "msdyn_postruleconfig_UserEntityInstanceDatas", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_msdyn_postruleconfig_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_msdyn_postruleconfig_createdby")]
		public Xrm.SystemUser lk_msdyn_postruleconfig_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_msdyn_postruleconfig_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_msdyn_postruleconfig_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_msdyn_postruleconfig_createdonbehalfby")]
		public Xrm.SystemUser lk_msdyn_postruleconfig_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_msdyn_postruleconfig_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_msdyn_postruleconfig_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_msdyn_postruleconfig_modifiedby")]
		public Xrm.SystemUser lk_msdyn_postruleconfig_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_msdyn_postruleconfig_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_msdyn_postruleconfig_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_msdyn_postruleconfig_modifiedonbehalfby")]
		public Xrm.SystemUser lk_msdyn_postruleconfig_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_msdyn_postruleconfig_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postconfig_msdyn_postruleconfig
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("msdyn_postconfigid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postconfig_msdyn_postruleconfig")]
		public Xrm.msdyn_PostConfig msdyn_postconfig_msdyn_postruleconfig
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostConfig>("msdyn_postconfig_msdyn_postruleconfig", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.msdyn_PostConfig>("msdyn_postconfig_msdyn_postruleconfig", "msdyn_postconfig_msdyn_postruleconfig", null, value);
			}
		}
		
		/// <summary>
		/// N:1 organization_msdyn_postruleconfig
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_msdyn_postruleconfig")]
		public Xrm.Organization organization_msdyn_postruleconfig
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_msdyn_postruleconfig", null);
			}
		}
	}
	
	/// <summary>
	/// 
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("new_new_uzytkownicy_contact")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("new_new_uzytkownicy_contactSet")]
	public partial class new_new_uzytkownicy_contact : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public new_new_uzytkownicy_contact() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "new_new_uzytkownicy_contact";
		
		public const int EntityTypeCode = 10008;
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contactid")]
		public System.Nullable<System.Guid> contactid
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("contactid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("new_new_uzytkownicy_contactid")]
		public System.Nullable<System.Guid> new_new_uzytkownicy_contactId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("new_new_uzytkownicy_contactid");
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("new_new_uzytkownicy_contactid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				base.Id = value;
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("new_uzytkownicyid")]
		public System.Nullable<System.Guid> new_uzytkownicyid
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("new_uzytkownicyid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// N:N new_new_uzytkownicy_contact
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_new_uzytkownicy_contact")]
		public System.Collections.Generic.IEnumerable<Xrm.new_uzytkownicy> new_new_uzytkownicy_contact1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.new_uzytkownicy>("new_new_uzytkownicy_contact", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.new_uzytkownicy>("new_new_uzytkownicy_contact1", "new_new_uzytkownicy_contact", null, value);
			}
		}
	}
	
	/// <summary>
	/// 
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("new_uzytkownicy")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("new_uzytkownicySet")]
	public partial class new_uzytkownicy : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public new_uzytkownicy() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "new_uzytkownicy";
		
		public const int EntityTypeCode = 10007;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Numer sekwencji operacji importu, w wyniku której ten rekord został utworzony.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który zmodyfikował rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina modyfikacji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który zmodyfikował rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("new_haslo")]
		public string new_haslo
		{
			get
			{
				return this.GetAttributeValue<string>("new_haslo");
			}
			set
			{
				this.SetAttributeValue<string>("new_haslo", "new_haslo", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("new_imie")]
		public string new_imie
		{
			get
			{
				return this.GetAttributeValue<string>("new_imie");
			}
			set
			{
				this.SetAttributeValue<string>("new_imie", "new_imie", value);
			}
		}
		
		/// <summary>
		/// The name of the custom entity.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("new_name")]
		public string new_name
		{
			get
			{
				return this.GetAttributeValue<string>("new_name");
			}
			set
			{
				this.SetAttributeValue<string>("new_name", "new_name", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("new_nazwisko")]
		public string new_nazwisko
		{
			get
			{
				return this.GetAttributeValue<string>("new_nazwisko");
			}
			set
			{
				this.SetAttributeValue<string>("new_nazwisko", "new_nazwisko", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator wystąpień encji
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("new_uzytkownicyid")]
		public System.Nullable<System.Guid> new_uzytkownicyId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("new_uzytkownicyid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("new_uzytkownicyId", "new_uzytkownicyid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("new_uzytkownicyid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.new_uzytkownicyId = value;
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Identyfikator właściciela
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem rekordu
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, do którego należy dany rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Stan elementu/elementów Uzytkownicy
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> statecode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu elementu/elementów Uzytkownicy
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> statuscode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("statuscode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej podczas tworzenia rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N new_kontakt_Uzytkownik
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_kontakt_Uzytkownik")]
		public System.Collections.Generic.IEnumerable<Xrm.new_uzytkownikkontakty> new_kontakt_Uzytkownik
		{
			get
			{
				return this.GetRelatedEntities<Xrm.new_uzytkownikkontakty>("new_kontakt_Uzytkownik", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.new_uzytkownikkontakty>("new_kontakt_Uzytkownik", "new_kontakt_Uzytkownik", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownicy_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_ActivityPointers")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityPointer> new_uzytkownicy_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityPointer>("new_uzytkownicy_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityPointer>("new_uzytkownicy_ActivityPointers", "new_uzytkownicy_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownicy_Annotations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_Annotations")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> new_uzytkownicy_Annotations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("new_uzytkownicy_Annotations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("new_uzytkownicy_Annotations", "new_uzytkownicy_Annotations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownicy_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_Appointments")]
		public System.Collections.Generic.IEnumerable<Xrm.Appointment> new_uzytkownicy_Appointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Appointment>("new_uzytkownicy_Appointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Appointment>("new_uzytkownicy_Appointments", "new_uzytkownicy_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownicy_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> new_uzytkownicy_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("new_uzytkownicy_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("new_uzytkownicy_AsyncOperations", "new_uzytkownicy_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownicy_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> new_uzytkownicy_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("new_uzytkownicy_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("new_uzytkownicy_BulkDeleteFailures", "new_uzytkownicy_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownicy_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> new_uzytkownicy_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("new_uzytkownicy_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("new_uzytkownicy_connections1", "new_uzytkownicy_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownicy_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> new_uzytkownicy_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("new_uzytkownicy_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("new_uzytkownicy_connections2", "new_uzytkownicy_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownicy_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> new_uzytkownicy_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("new_uzytkownicy_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("new_uzytkownicy_DuplicateBaseRecord", "new_uzytkownicy_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownicy_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> new_uzytkownicy_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("new_uzytkownicy_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("new_uzytkownicy_DuplicateMatchingRecord", "new_uzytkownicy_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownicy_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_Emails")]
		public System.Collections.Generic.IEnumerable<Xrm.Email> new_uzytkownicy_Emails
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Email>("new_uzytkownicy_Emails", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Email>("new_uzytkownicy_Emails", "new_uzytkownicy_Emails", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownicy_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_Faxes")]
		public System.Collections.Generic.IEnumerable<Xrm.Fax> new_uzytkownicy_Faxes
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Fax>("new_uzytkownicy_Faxes", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Fax>("new_uzytkownicy_Faxes", "new_uzytkownicy_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownicy_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_Letters")]
		public System.Collections.Generic.IEnumerable<Xrm.Letter> new_uzytkownicy_Letters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Letter>("new_uzytkownicy_Letters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Letter>("new_uzytkownicy_Letters", "new_uzytkownicy_Letters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownicy_PhoneCalls
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_PhoneCalls")]
		public System.Collections.Generic.IEnumerable<Xrm.PhoneCall> new_uzytkownicy_PhoneCalls
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PhoneCall>("new_uzytkownicy_PhoneCalls", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PhoneCall>("new_uzytkownicy_PhoneCalls", "new_uzytkownicy_PhoneCalls", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownicy_PrincipalObjectAttributeAccesses
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_PrincipalObjectAttributeAccesses")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> new_uzytkownicy_PrincipalObjectAttributeAccesses
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("new_uzytkownicy_PrincipalObjectAttributeAccesses", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("new_uzytkownicy_PrincipalObjectAttributeAccesses", "new_uzytkownicy_PrincipalObjectAttributeAccesses", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownicy_ProcessSession
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_ProcessSession")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> new_uzytkownicy_ProcessSession
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("new_uzytkownicy_ProcessSession", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("new_uzytkownicy_ProcessSession", "new_uzytkownicy_ProcessSession", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownicy_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_RecurringAppointmentMasters")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurringAppointmentMaster> new_uzytkownicy_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurringAppointmentMaster>("new_uzytkownicy_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurringAppointmentMaster>("new_uzytkownicy_RecurringAppointmentMasters", "new_uzytkownicy_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownicy_ServiceAppointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_ServiceAppointments")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceAppointment> new_uzytkownicy_ServiceAppointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceAppointment>("new_uzytkownicy_ServiceAppointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceAppointment>("new_uzytkownicy_ServiceAppointments", "new_uzytkownicy_ServiceAppointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownicy_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_Tasks")]
		public System.Collections.Generic.IEnumerable<Xrm.Task> new_uzytkownicy_Tasks
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Task>("new_uzytkownicy_Tasks", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Task>("new_uzytkownicy_Tasks", "new_uzytkownicy_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownicy_UserEntityInstanceDatas
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_UserEntityInstanceDatas")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> new_uzytkownicy_UserEntityInstanceDatas
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("new_uzytkownicy_UserEntityInstanceDatas", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("new_uzytkownicy_UserEntityInstanceDatas", "new_uzytkownicy_UserEntityInstanceDatas", null, value);
			}
		}
		
		/// <summary>
		/// N:N new_new_uzytkownicy_contact
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_new_uzytkownicy_contact")]
		public System.Collections.Generic.IEnumerable<Xrm.Contact> new_new_uzytkownicy_contact
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contact>("new_new_uzytkownicy_contact", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contact>("new_new_uzytkownicy_contact", "new_new_uzytkownicy_contact", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_new_uzytkownicy
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_new_uzytkownicy")]
		public Xrm.BusinessUnit business_unit_new_uzytkownicy
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_new_uzytkownicy", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_new_uzytkownicy_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_new_uzytkownicy_createdby")]
		public Xrm.SystemUser lk_new_uzytkownicy_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_new_uzytkownicy_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_new_uzytkownicy_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_new_uzytkownicy_createdonbehalfby")]
		public Xrm.SystemUser lk_new_uzytkownicy_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_new_uzytkownicy_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_new_uzytkownicy_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_new_uzytkownicy_modifiedby")]
		public Xrm.SystemUser lk_new_uzytkownicy_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_new_uzytkownicy_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_new_uzytkownicy_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_new_uzytkownicy_modifiedonbehalfby")]
		public Xrm.SystemUser lk_new_uzytkownicy_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_new_uzytkownicy_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 team_new_uzytkownicy
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_new_uzytkownicy")]
		public Xrm.Team team_new_uzytkownicy
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_new_uzytkownicy", null);
			}
		}
		
		/// <summary>
		/// N:1 user_new_uzytkownicy
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_new_uzytkownicy")]
		public Xrm.SystemUser user_new_uzytkownicy
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_new_uzytkownicy", null);
			}
		}
	}
	
	/// <summary>
	/// 
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("new_uzytkownikkontakty")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("new_uzytkownikkontaktySet")]
	public partial class new_uzytkownikkontakty : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public new_uzytkownikkontakty() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "new_uzytkownikkontakty";
		
		public const int EntityTypeCode = 10009;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Numer sekwencji operacji importu, w wyniku której ten rekord został utworzony.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który zmodyfikował rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina modyfikacji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który zmodyfikował rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator dla elementu Kontakt skojarzony z elementem Uzytkownik-kontakty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("new_kontakt")]
		public Microsoft.Xrm.Client.CrmEntityReference new_Kontakt
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("new_kontakt");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("new_Kontakt", "new_kontakt", value);
			}
		}
		
		/// <summary>
		/// The name of the custom entity.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("new_name")]
		public string new_name
		{
			get
			{
				return this.GetAttributeValue<string>("new_name");
			}
			set
			{
				this.SetAttributeValue<string>("new_name", "new_name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator dla elementu Uzytkownicy skojarzony z elementem Uzytkownik-kontakty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("new_uzytkownik")]
		public Microsoft.Xrm.Client.CrmEntityReference new_Uzytkownik
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("new_uzytkownik");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("new_Uzytkownik", "new_uzytkownik", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator wystąpień encji
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("new_uzytkownikkontaktyid")]
		public System.Nullable<System.Guid> new_uzytkownikkontaktyId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("new_uzytkownikkontaktyid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("new_uzytkownikkontaktyId", "new_uzytkownikkontaktyid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("new_uzytkownikkontaktyid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.new_uzytkownikkontaktyId = value;
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Identyfikator właściciela
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem rekordu
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, do którego należy dany rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Stan elementu/elementów Uzytkownik-kontakty
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> statecode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu elementu/elementów Uzytkownik-kontakty
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> statuscode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("statuscode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej podczas tworzenia rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownikkontakty_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_ActivityPointers")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityPointer> new_uzytkownikkontakty_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityPointer>("new_uzytkownikkontakty_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityPointer>("new_uzytkownikkontakty_ActivityPointers", "new_uzytkownikkontakty_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownikkontakty_Annotations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_Annotations")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> new_uzytkownikkontakty_Annotations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("new_uzytkownikkontakty_Annotations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("new_uzytkownikkontakty_Annotations", "new_uzytkownikkontakty_Annotations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownikkontakty_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_Appointments")]
		public System.Collections.Generic.IEnumerable<Xrm.Appointment> new_uzytkownikkontakty_Appointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Appointment>("new_uzytkownikkontakty_Appointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Appointment>("new_uzytkownikkontakty_Appointments", "new_uzytkownikkontakty_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownikkontakty_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> new_uzytkownikkontakty_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("new_uzytkownikkontakty_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("new_uzytkownikkontakty_AsyncOperations", "new_uzytkownikkontakty_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownikkontakty_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> new_uzytkownikkontakty_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("new_uzytkownikkontakty_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("new_uzytkownikkontakty_BulkDeleteFailures", "new_uzytkownikkontakty_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownikkontakty_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> new_uzytkownikkontakty_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("new_uzytkownikkontakty_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("new_uzytkownikkontakty_connections1", "new_uzytkownikkontakty_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownikkontakty_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> new_uzytkownikkontakty_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("new_uzytkownikkontakty_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("new_uzytkownikkontakty_connections2", "new_uzytkownikkontakty_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownikkontakty_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> new_uzytkownikkontakty_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("new_uzytkownikkontakty_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("new_uzytkownikkontakty_DuplicateBaseRecord", "new_uzytkownikkontakty_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownikkontakty_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> new_uzytkownikkontakty_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("new_uzytkownikkontakty_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("new_uzytkownikkontakty_DuplicateMatchingRecord", "new_uzytkownikkontakty_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownikkontakty_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_Emails")]
		public System.Collections.Generic.IEnumerable<Xrm.Email> new_uzytkownikkontakty_Emails
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Email>("new_uzytkownikkontakty_Emails", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Email>("new_uzytkownikkontakty_Emails", "new_uzytkownikkontakty_Emails", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownikkontakty_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_Faxes")]
		public System.Collections.Generic.IEnumerable<Xrm.Fax> new_uzytkownikkontakty_Faxes
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Fax>("new_uzytkownikkontakty_Faxes", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Fax>("new_uzytkownikkontakty_Faxes", "new_uzytkownikkontakty_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownikkontakty_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_Letters")]
		public System.Collections.Generic.IEnumerable<Xrm.Letter> new_uzytkownikkontakty_Letters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Letter>("new_uzytkownikkontakty_Letters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Letter>("new_uzytkownikkontakty_Letters", "new_uzytkownikkontakty_Letters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownikkontakty_PhoneCalls
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_PhoneCalls")]
		public System.Collections.Generic.IEnumerable<Xrm.PhoneCall> new_uzytkownikkontakty_PhoneCalls
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PhoneCall>("new_uzytkownikkontakty_PhoneCalls", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PhoneCall>("new_uzytkownikkontakty_PhoneCalls", "new_uzytkownikkontakty_PhoneCalls", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownikkontakty_PrincipalObjectAttributeAccesses
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_PrincipalObjectAttributeAccesses")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> new_uzytkownikkontakty_PrincipalObjectAttributeAccesses
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("new_uzytkownikkontakty_PrincipalObjectAttributeAccesses", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("new_uzytkownikkontakty_PrincipalObjectAttributeAccesses", "new_uzytkownikkontakty_PrincipalObjectAttributeAccesses", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownikkontakty_ProcessSession
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_ProcessSession")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> new_uzytkownikkontakty_ProcessSession
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("new_uzytkownikkontakty_ProcessSession", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("new_uzytkownikkontakty_ProcessSession", "new_uzytkownikkontakty_ProcessSession", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownikkontakty_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_RecurringAppointmentMasters")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurringAppointmentMaster> new_uzytkownikkontakty_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurringAppointmentMaster>("new_uzytkownikkontakty_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurringAppointmentMaster>("new_uzytkownikkontakty_RecurringAppointmentMasters", "new_uzytkownikkontakty_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownikkontakty_ServiceAppointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_ServiceAppointments")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceAppointment> new_uzytkownikkontakty_ServiceAppointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceAppointment>("new_uzytkownikkontakty_ServiceAppointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceAppointment>("new_uzytkownikkontakty_ServiceAppointments", "new_uzytkownikkontakty_ServiceAppointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownikkontakty_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_Tasks")]
		public System.Collections.Generic.IEnumerable<Xrm.Task> new_uzytkownikkontakty_Tasks
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Task>("new_uzytkownikkontakty_Tasks", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Task>("new_uzytkownikkontakty_Tasks", "new_uzytkownikkontakty_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_uzytkownikkontakty_UserEntityInstanceDatas
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_UserEntityInstanceDatas")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> new_uzytkownikkontakty_UserEntityInstanceDatas
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("new_uzytkownikkontakty_UserEntityInstanceDatas", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("new_uzytkownikkontakty_UserEntityInstanceDatas", "new_uzytkownikkontakty_UserEntityInstanceDatas", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_new_uzytkownikkontakty
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_new_uzytkownikkontakty")]
		public Xrm.BusinessUnit business_unit_new_uzytkownikkontakty
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_new_uzytkownikkontakty", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_new_uzytkownikkontakty_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_new_uzytkownikkontakty_createdby")]
		public Xrm.SystemUser lk_new_uzytkownikkontakty_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_new_uzytkownikkontakty_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_new_uzytkownikkontakty_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_new_uzytkownikkontakty_createdonbehalfby")]
		public Xrm.SystemUser lk_new_uzytkownikkontakty_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_new_uzytkownikkontakty_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_new_uzytkownikkontakty_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_new_uzytkownikkontakty_modifiedby")]
		public Xrm.SystemUser lk_new_uzytkownikkontakty_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_new_uzytkownikkontakty_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_new_uzytkownikkontakty_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_new_uzytkownikkontakty_modifiedonbehalfby")]
		public Xrm.SystemUser lk_new_uzytkownikkontakty_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_new_uzytkownikkontakty_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 new_kontakt_Uzytkownik
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("new_uzytkownik")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_kontakt_Uzytkownik")]
		public Xrm.new_uzytkownicy new_kontakt_Uzytkownik
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownicy>("new_kontakt_Uzytkownik", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownicy>("new_kontakt_Uzytkownik", "new_kontakt_Uzytkownik", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownik_Kontakt
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("new_kontakt")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownik_Kontakt")]
		public Xrm.Contact new_uzytkownik_Kontakt
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("new_uzytkownik_Kontakt", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("new_uzytkownik_Kontakt", "new_uzytkownik_Kontakt", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_new_uzytkownikkontakty
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_new_uzytkownikkontakty")]
		public Xrm.Team team_new_uzytkownikkontakty
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_new_uzytkownikkontakty", null);
			}
		}
		
		/// <summary>
		/// N:1 user_new_uzytkownikkontakty
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_new_uzytkownikkontakty")]
		public Xrm.SystemUser user_new_uzytkownikkontakty
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_new_uzytkownikkontakty", null);
			}
		}
	}
	
	/// <summary>
	/// 
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("new_zainteresowanie")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("new_zainteresowanieSet")]
	public partial class new_zainteresowanie : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public new_zainteresowanie() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "new_zainteresowanie";
		
		public const int EntityTypeCode = 10003;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Numer sekwencji operacji importu, w wyniku której ten rekord został utworzony.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który zmodyfikował rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina modyfikacji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który zmodyfikował rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// The name of the custom entity.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("new_zainteresowanie")]
		public string new_zainteresowanie1
		{
			get
			{
				return this.GetAttributeValue<string>("new_zainteresowanie");
			}
			set
			{
				this.SetAttributeValue<string>("new_zainteresowanie1", "new_zainteresowanie", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator wystąpień encji
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("new_zainteresowanieid")]
		public System.Nullable<System.Guid> new_zainteresowanieId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("new_zainteresowanieid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("new_zainteresowanieId", "new_zainteresowanieid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("new_zainteresowanieid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.new_zainteresowanieId = value;
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Identyfikator właściciela
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem rekordu
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, do którego należy dany rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Stan elementu/elementów Zainteresowanie
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> statecode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu elementu/elementów Zainteresowanie
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> statuscode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("statuscode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej podczas tworzenia rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N new_zainteresowanie_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_ActivityPointers")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityPointer> new_zainteresowanie_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityPointer>("new_zainteresowanie_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityPointer>("new_zainteresowanie_ActivityPointers", "new_zainteresowanie_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_zainteresowanie_Annotations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_Annotations")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> new_zainteresowanie_Annotations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("new_zainteresowanie_Annotations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("new_zainteresowanie_Annotations", "new_zainteresowanie_Annotations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_zainteresowanie_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_Appointments")]
		public System.Collections.Generic.IEnumerable<Xrm.Appointment> new_zainteresowanie_Appointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Appointment>("new_zainteresowanie_Appointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Appointment>("new_zainteresowanie_Appointments", "new_zainteresowanie_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_zainteresowanie_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> new_zainteresowanie_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("new_zainteresowanie_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("new_zainteresowanie_AsyncOperations", "new_zainteresowanie_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_zainteresowanie_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> new_zainteresowanie_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("new_zainteresowanie_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("new_zainteresowanie_BulkDeleteFailures", "new_zainteresowanie_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_zainteresowanie_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> new_zainteresowanie_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("new_zainteresowanie_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("new_zainteresowanie_connections1", "new_zainteresowanie_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_zainteresowanie_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> new_zainteresowanie_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("new_zainteresowanie_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("new_zainteresowanie_connections2", "new_zainteresowanie_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_zainteresowanie_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> new_zainteresowanie_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("new_zainteresowanie_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("new_zainteresowanie_DuplicateBaseRecord", "new_zainteresowanie_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_zainteresowanie_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> new_zainteresowanie_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("new_zainteresowanie_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("new_zainteresowanie_DuplicateMatchingRecord", "new_zainteresowanie_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_zainteresowanie_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_Emails")]
		public System.Collections.Generic.IEnumerable<Xrm.Email> new_zainteresowanie_Emails
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Email>("new_zainteresowanie_Emails", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Email>("new_zainteresowanie_Emails", "new_zainteresowanie_Emails", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_zainteresowanie_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_Faxes")]
		public System.Collections.Generic.IEnumerable<Xrm.Fax> new_zainteresowanie_Faxes
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Fax>("new_zainteresowanie_Faxes", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Fax>("new_zainteresowanie_Faxes", "new_zainteresowanie_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_zainteresowanie_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_Letters")]
		public System.Collections.Generic.IEnumerable<Xrm.Letter> new_zainteresowanie_Letters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Letter>("new_zainteresowanie_Letters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Letter>("new_zainteresowanie_Letters", "new_zainteresowanie_Letters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_zainteresowanie_PhoneCalls
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_PhoneCalls")]
		public System.Collections.Generic.IEnumerable<Xrm.PhoneCall> new_zainteresowanie_PhoneCalls
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PhoneCall>("new_zainteresowanie_PhoneCalls", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PhoneCall>("new_zainteresowanie_PhoneCalls", "new_zainteresowanie_PhoneCalls", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_zainteresowanie_PrincipalObjectAttributeAccesses
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_PrincipalObjectAttributeAccesses")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> new_zainteresowanie_PrincipalObjectAttributeAccesses
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("new_zainteresowanie_PrincipalObjectAttributeAccesses", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("new_zainteresowanie_PrincipalObjectAttributeAccesses", "new_zainteresowanie_PrincipalObjectAttributeAccesses", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_zainteresowanie_ProcessSession
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_ProcessSession")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> new_zainteresowanie_ProcessSession
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("new_zainteresowanie_ProcessSession", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("new_zainteresowanie_ProcessSession", "new_zainteresowanie_ProcessSession", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_zainteresowanie_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_RecurringAppointmentMasters")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurringAppointmentMaster> new_zainteresowanie_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurringAppointmentMaster>("new_zainteresowanie_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurringAppointmentMaster>("new_zainteresowanie_RecurringAppointmentMasters", "new_zainteresowanie_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_zainteresowanie_ServiceAppointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_ServiceAppointments")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceAppointment> new_zainteresowanie_ServiceAppointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceAppointment>("new_zainteresowanie_ServiceAppointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceAppointment>("new_zainteresowanie_ServiceAppointments", "new_zainteresowanie_ServiceAppointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_zainteresowanie_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_Tasks")]
		public System.Collections.Generic.IEnumerable<Xrm.Task> new_zainteresowanie_Tasks
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Task>("new_zainteresowanie_Tasks", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Task>("new_zainteresowanie_Tasks", "new_zainteresowanie_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// 1:N new_zainteresowanie_UserEntityInstanceDatas
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_UserEntityInstanceDatas")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> new_zainteresowanie_UserEntityInstanceDatas
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("new_zainteresowanie_UserEntityInstanceDatas", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("new_zainteresowanie_UserEntityInstanceDatas", "new_zainteresowanie_UserEntityInstanceDatas", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_new_zainteresowanie
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_new_zainteresowanie")]
		public Xrm.BusinessUnit business_unit_new_zainteresowanie
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_new_zainteresowanie", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_new_zainteresowanie_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_new_zainteresowanie_createdby")]
		public Xrm.SystemUser lk_new_zainteresowanie_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_new_zainteresowanie_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_new_zainteresowanie_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_new_zainteresowanie_createdonbehalfby")]
		public Xrm.SystemUser lk_new_zainteresowanie_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_new_zainteresowanie_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_new_zainteresowanie_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_new_zainteresowanie_modifiedby")]
		public Xrm.SystemUser lk_new_zainteresowanie_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_new_zainteresowanie_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_new_zainteresowanie_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_new_zainteresowanie_modifiedonbehalfby")]
		public Xrm.SystemUser lk_new_zainteresowanie_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_new_zainteresowanie_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 team_new_zainteresowanie
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_new_zainteresowanie")]
		public Xrm.Team team_new_zainteresowanie
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_new_zainteresowanie", null);
			}
		}
		
		/// <summary>
		/// N:1 user_new_zainteresowanie
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_new_zainteresowanie")]
		public Xrm.SystemUser user_new_zainteresowanie
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_new_zainteresowanie", null);
			}
		}
	}
	
	/// <summary>
	/// Zdarzenie, które może spowodować przychód lub sprzedaż na rzecz klienta i które należy śledzić od zainicjowania do sfinalizowania procesu sprzedaży.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("opportunity")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("OpportunitySet")]
	public partial class Opportunity : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Opportunity() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "opportunity";
		
		public const int EntityTypeCode = 3;
		
		/// <summary>
		/// Unikatowy identyfikator klienta, z którym jest skojarzona szansa sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("accountid")]
		public Microsoft.Xrm.Client.CrmEntityReference AccountId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("accountid");
			}
		}
		
		/// <summary>
		/// Data zamknięcia szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualclosedate")]
		public System.Nullable<System.DateTime> ActualCloseDate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualclosedate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualCloseDate", "actualclosedate", value);
			}
		}
		
		/// <summary>
		/// Rzeczywisty przychód szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualvalue")]
		public System.Nullable<decimal> ActualValue
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("actualvalue");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("ActualValue", "actualvalue", value);
			}
		}
		
		/// <summary>
		/// Rzeczywisty przychód z szansy sprzedaży przeliczony na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualvalue_base")]
		public System.Nullable<decimal> ActualValue_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("actualvalue_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kampanii źródłowej skojarzonej z szansą sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("campaignid")]
		public Microsoft.Xrm.Client.CrmEntityReference CampaignId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("campaignid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("CampaignId", "campaignid", value);
			}
		}
		
		/// <summary>
		/// Prawdopodobieństwo zamknięcia szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("closeprobability")]
		public System.Nullable<int> CloseProbability
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("closeprobability");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("CloseProbability", "closeprobability", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kontaktu skojarzonego z szansą sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contactid")]
		public Microsoft.Xrm.Client.CrmEntityReference ContactId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("contactid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył szansę sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który utworzył szansę sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator klienta lub kontaktu skojarzonego z szansą sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		public Microsoft.Xrm.Client.CrmEntityReference CustomerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("customerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("CustomerId", "customerid", value);
			}
		}
		
		/// <summary>
		/// Opis szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Rabat określony jako kwota pieniężna dotycząca szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("discountamount")]
		public System.Nullable<decimal> DiscountAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("discountamount");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("DiscountAmount", "discountamount", value);
			}
		}
		
		/// <summary>
		/// Równowartość rabatu określona jako kwota pieniężna dotycząca szansy sprzedaży podana w walucie podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("discountamount_base")]
		public System.Nullable<decimal> DiscountAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("discountamount_base");
			}
		}
		
		/// <summary>
		/// Rabat określony jako wartość procentowa dotycząca szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("discountpercentage")]
		public System.Nullable<decimal> DiscountPercentage
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("discountpercentage");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("DiscountPercentage", "discountpercentage", value);
			}
		}
		
		/// <summary>
		/// Przewidywana data oczekiwanego zamknięcia szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("estimatedclosedate")]
		public System.Nullable<System.DateTime> EstimatedCloseDate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("estimatedclosedate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("EstimatedCloseDate", "estimatedclosedate", value);
			}
		}
		
		/// <summary>
		/// Szacowana wartość szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("estimatedvalue")]
		public System.Nullable<decimal> EstimatedValue
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("estimatedvalue");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("EstimatedValue", "estimatedvalue", value);
			}
		}
		
		/// <summary>
		/// Przewidywana wartość szansy sprzedaży przeliczona na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("estimatedvalue_base")]
		public System.Nullable<decimal> EstimatedValue_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("estimatedvalue_base");
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z szansą sprzedaży w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Koszt frachtu dotyczący szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("freightamount")]
		public System.Nullable<decimal> FreightAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("freightamount");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("FreightAmount", "freightamount", value);
			}
		}
		
		/// <summary>
		/// Równowartość kosztu frachtu dotyczącego szansy sprzedaży podany w walucie podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("freightamount_base")]
		public System.Nullable<decimal> FreightAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("freightamount_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Określa, czy szacowany przychód ma być obliczany przez system, czy podawany przez użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isrevenuesystemcalculated")]
		public System.Nullable<bool> IsRevenueSystemCalculated
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isrevenuesystemcalculated");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsRevenueSystemCalculated", "isrevenuesystemcalculated", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował szansę sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który jako ostatni zmodyfikował szansę sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("opportunityid")]
		public System.Nullable<System.Guid> OpportunityId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("opportunityid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("OpportunityId", "opportunityid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("opportunityid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.OpportunityId = value;
			}
		}
		
		/// <summary>
		/// Jakość szansy sprzedaży, określona na przykład jako duże zainteresowanie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("opportunityratingcode")]
		public System.Nullable<int> OpportunityRatingCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("opportunityratingcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("OpportunityRatingCode", "opportunityratingcode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator potencjalnego klienta, z którego wywodzi się szansa sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("originatingleadid")]
		public Microsoft.Xrm.Client.CrmEntityReference OriginatingLeadId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("originatingleadid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OriginatingLeadId", "originatingleadid", value);
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej będącej właścicielem szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu będącego właścicielem szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika będącego właścicielem szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy szansa sprzedaży uczestniczy w regułach przepływu pracy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("participatesinworkflow")]
		public System.Nullable<bool> ParticipatesInWorkflow
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("participatesinworkflow");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("ParticipatesInWorkflow", "participatesinworkflow", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator cennika skojarzonego z szansą sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pricelevelid")]
		public Microsoft.Xrm.Client.CrmEntityReference PriceLevelId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("pricelevelid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("PriceLevelId", "pricelevelid", value);
			}
		}
		
		/// <summary>
		/// Błąd kalkulacji cen dotyczący szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pricingerrorcode")]
		public System.Nullable<int> PricingErrorCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("pricingerrorcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PricingErrorCode", "pricingerrorcode", value);
			}
		}
		
		/// <summary>
		/// Priorytet szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("prioritycode")]
		public System.Nullable<int> PriorityCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("prioritycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PriorityCode", "prioritycode", value);
			}
		}
		
		/// <summary>
		/// Dostosowywany kod reprezentujący bieżący stan szansy sprzedaży w ręcznym procesie sprzedaży. Przeznaczony do obsługi ręcznych procesów sprzedaży uaktualnianych z wcześniejszych wersji programu Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salesstagecode")]
		public System.Nullable<int> SalesStageCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("salesstagecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("SalesStageCode", "salesstagecode", value);
			}
		}
		
		/// <summary>
		/// Stan szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kroku w procesie sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("stepid")]
		public System.Nullable<System.Guid> StepId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("stepid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("StepId", "stepid", value);
			}
		}
		
		/// <summary>
		/// Bieżąca faza prognozy sprzedaży dotyczącej szansy sprzedaży. Atrybut przeznaczony do aktualizacji przy użyciu przepływów pracy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("stepname")]
		public string StepName
		{
			get
			{
				return this.GetAttributeValue<string>("stepname");
			}
			set
			{
				this.SetAttributeValue<string>("StepName", "stepname", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Łączna kwota dotycząca szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totalamount")]
		public System.Nullable<decimal> TotalAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totalamount");
			}
		}
		
		/// <summary>
		/// Równowartość łącznej kwoty dotyczącej szansy sprzedaży podana w walucie podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totalamount_base")]
		public System.Nullable<decimal> TotalAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totalamount_base");
			}
		}
		
		/// <summary>
		/// Łączna kwota minus opłaty frachtowe dotyczące szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totalamountlessfreight")]
		public System.Nullable<decimal> TotalAmountLessFreight
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totalamountlessfreight");
			}
		}
		
		/// <summary>
		/// Równowartość łącznej kwoty minus opłaty frachtowe dotyczące szansy sprzedaży, podana w walucie podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totalamountlessfreight_base")]
		public System.Nullable<decimal> TotalAmountLessFreight_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totalamountlessfreight_base");
			}
		}
		
		/// <summary>
		/// Łączny rabat dotyczący szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totaldiscountamount")]
		public System.Nullable<decimal> TotalDiscountAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totaldiscountamount");
			}
		}
		
		/// <summary>
		/// Równowartość łącznego rabatu dotyczącego szansy sprzedaży podana w walucie podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totaldiscountamount_base")]
		public System.Nullable<decimal> TotalDiscountAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totaldiscountamount_base");
			}
		}
		
		/// <summary>
		/// Łączna kwota dla pozycji dotycząca szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totallineitemamount")]
		public System.Nullable<decimal> TotalLineItemAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totallineitemamount");
			}
		}
		
		/// <summary>
		/// Równowartość łącznej kwoty dla pozycji dotyczącej szansy sprzedaży podana w walucie podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totallineitemamount_base")]
		public System.Nullable<decimal> TotalLineItemAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totallineitemamount_base");
			}
		}
		
		/// <summary>
		/// Łączny rabat dla pozycji dotyczący szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totallineitemdiscountamount")]
		public System.Nullable<decimal> TotalLineItemDiscountAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totallineitemdiscountamount");
			}
		}
		
		/// <summary>
		/// Równowartość łącznego rabatu dla pozycji dotyczącego szansy sprzedaży podana w walucie podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totallineitemdiscountamount_base")]
		public System.Nullable<decimal> TotalLineItemDiscountAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totallineitemdiscountamount_base");
			}
		}
		
		/// <summary>
		/// Łączny podatek dotyczący szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totaltax")]
		public System.Nullable<decimal> TotalTax
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totaltax");
			}
		}
		
		/// <summary>
		/// Równowartość łącznego podatku dotyczącego szansy sprzedaży podana w walucie podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totaltax_base")]
		public System.Nullable<decimal> TotalTax_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totaltax_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z szansą sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N CreatedOpportunity_BulkOperationLogs
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CreatedOpportunity_BulkOperationLogs")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkOperationLog> CreatedOpportunity_BulkOperationLogs
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkOperationLog>("CreatedOpportunity_BulkOperationLogs", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkOperationLog>("CreatedOpportunity_BulkOperationLogs", "CreatedOpportunity_BulkOperationLogs", null, value);
			}
		}
		
		/// <summary>
		/// 1:N opportunity_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunity_activity_parties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> opportunity_activity_parties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("opportunity_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("opportunity_activity_parties", "opportunity_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Opportunity_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_ActivityPointers")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityPointer> Opportunity_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityPointer>("Opportunity_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityPointer>("Opportunity_ActivityPointers", "Opportunity_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Opportunity_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> Opportunity_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("Opportunity_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("Opportunity_Annotation", "Opportunity_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Opportunity_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_Appointments")]
		public System.Collections.Generic.IEnumerable<Xrm.Appointment> Opportunity_Appointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Appointment>("Opportunity_Appointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Appointment>("Opportunity_Appointments", "Opportunity_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Opportunity_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Opportunity_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Opportunity_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Opportunity_AsyncOperations", "Opportunity_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Opportunity_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Opportunity_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Opportunity_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Opportunity_BulkDeleteFailures", "Opportunity_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N opportunity_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunity_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> opportunity_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("opportunity_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("opportunity_connections1", "opportunity_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N opportunity_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunity_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> opportunity_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("opportunity_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("opportunity_connections2", "opportunity_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N opportunity_customer_opportunity_roles
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunity_customer_opportunity_roles")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerOpportunityRole> opportunity_customer_opportunity_roles
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerOpportunityRole>("opportunity_customer_opportunity_roles", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerOpportunityRole>("opportunity_customer_opportunity_roles", "opportunity_customer_opportunity_roles", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Opportunity_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Opportunity_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Opportunity_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Opportunity_DuplicateBaseRecord", "Opportunity_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Opportunity_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Opportunity_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Opportunity_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Opportunity_DuplicateMatchingRecord", "Opportunity_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Opportunity_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_Emails")]
		public System.Collections.Generic.IEnumerable<Xrm.Email> Opportunity_Emails
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Email>("Opportunity_Emails", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Email>("Opportunity_Emails", "Opportunity_Emails", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Opportunity_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_Faxes")]
		public System.Collections.Generic.IEnumerable<Xrm.Fax> Opportunity_Faxes
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Fax>("Opportunity_Faxes", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Fax>("Opportunity_Faxes", "Opportunity_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// 1:N opportunity_invoices
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunity_invoices")]
		public System.Collections.Generic.IEnumerable<Xrm.Invoice> opportunity_invoices
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Invoice>("opportunity_invoices", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Invoice>("opportunity_invoices", "opportunity_invoices", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Opportunity_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_Letters")]
		public System.Collections.Generic.IEnumerable<Xrm.Letter> Opportunity_Letters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Letter>("Opportunity_Letters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Letter>("Opportunity_Letters", "Opportunity_Letters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Opportunity_OpportunityClose
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_OpportunityClose")]
		public System.Collections.Generic.IEnumerable<Xrm.OpportunityClose> Opportunity_OpportunityClose
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OpportunityClose>("Opportunity_OpportunityClose", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OpportunityClose>("Opportunity_OpportunityClose", "Opportunity_OpportunityClose", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Opportunity_Phonecalls
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_Phonecalls")]
		public System.Collections.Generic.IEnumerable<Xrm.PhoneCall> Opportunity_Phonecalls
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PhoneCall>("Opportunity_Phonecalls", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PhoneCall>("Opportunity_Phonecalls", "Opportunity_Phonecalls", null, value);
			}
		}
		
		/// <summary>
		/// 1:N opportunity_PostFollows
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunity_PostFollows")]
		public System.Collections.Generic.IEnumerable<Xrm.PostFollow> opportunity_PostFollows
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PostFollow>("opportunity_PostFollows", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PostFollow>("opportunity_PostFollows", "opportunity_PostFollows", null, value);
			}
		}
		
		/// <summary>
		/// 1:N opportunity_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunity_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> opportunity_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("opportunity_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("opportunity_principalobjectattributeaccess", "opportunity_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Opportunity_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Opportunity_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Opportunity_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Opportunity_ProcessSessions", "Opportunity_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N opportunity_quotes
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunity_quotes")]
		public System.Collections.Generic.IEnumerable<Xrm.Quote> opportunity_quotes
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Quote>("opportunity_quotes", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Quote>("opportunity_quotes", "opportunity_quotes", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Opportunity_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_RecurringAppointmentMasters")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurringAppointmentMaster> Opportunity_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurringAppointmentMaster>("Opportunity_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurringAppointmentMaster>("Opportunity_RecurringAppointmentMasters", "Opportunity_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N opportunity_sales_orders
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunity_sales_orders")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesOrder> opportunity_sales_orders
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesOrder>("opportunity_sales_orders", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesOrder>("opportunity_sales_orders", "opportunity_sales_orders", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Opportunity_ServiceAppointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_ServiceAppointments")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceAppointment> Opportunity_ServiceAppointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceAppointment>("Opportunity_ServiceAppointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceAppointment>("Opportunity_ServiceAppointments", "Opportunity_ServiceAppointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Opportunity_SharepointDocumentLocation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_SharepointDocumentLocation")]
		public System.Collections.Generic.IEnumerable<Xrm.SharePointDocumentLocation> Opportunity_SharepointDocumentLocation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SharePointDocumentLocation>("Opportunity_SharepointDocumentLocation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SharePointDocumentLocation>("Opportunity_SharepointDocumentLocation", "Opportunity_SharepointDocumentLocation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Opportunity_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_Tasks")]
		public System.Collections.Generic.IEnumerable<Xrm.Task> Opportunity_Tasks
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Task>("Opportunity_Tasks", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Task>("Opportunity_Tasks", "Opportunity_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// 1:N product_opportunities
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("product_opportunities")]
		public System.Collections.Generic.IEnumerable<Xrm.OpportunityProduct> product_opportunities
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OpportunityProduct>("product_opportunities", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OpportunityProduct>("product_opportunities", "product_opportunities", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_opportunity
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_opportunity")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_opportunity
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_opportunity", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_opportunity", "userentityinstancedata_opportunity", null, value);
			}
		}
		
		/// <summary>
		/// N:N opportunitycompetitors_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunitycompetitors_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Competitor> opportunitycompetitors_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Competitor>("opportunitycompetitors_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Competitor>("opportunitycompetitors_association", "opportunitycompetitors_association", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_opportunities
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_opportunities")]
		public Xrm.BusinessUnit business_unit_opportunities
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_opportunities", null);
			}
		}
		
		/// <summary>
		/// N:1 campaign_opportunities
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("campaignid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaign_opportunities")]
		public Xrm.Campaign campaign_opportunities
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Campaign>("campaign_opportunities", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Campaign>("campaign_opportunities", "campaign_opportunities", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_opportunity_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_opportunity_createdonbehalfby")]
		public Xrm.SystemUser lk_opportunity_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_opportunity_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_opportunity_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_opportunity_modifiedonbehalfby")]
		public Xrm.SystemUser lk_opportunity_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_opportunity_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_opportunitybase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_opportunitybase_createdby")]
		public Xrm.SystemUser lk_opportunitybase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_opportunitybase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_opportunitybase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_opportunitybase_modifiedby")]
		public Xrm.SystemUser lk_opportunitybase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_opportunitybase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 opportunity_customer_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunity_customer_accounts")]
		public Xrm.Account opportunity_customer_accounts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("opportunity_customer_accounts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("opportunity_customer_accounts", "opportunity_customer_accounts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 opportunity_customer_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunity_customer_contacts")]
		public Xrm.Contact opportunity_customer_contacts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("opportunity_customer_contacts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("opportunity_customer_contacts", "opportunity_customer_contacts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 opportunity_originating_lead
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("originatingleadid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunity_originating_lead")]
		public Xrm.Lead opportunity_originating_lead
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Lead>("opportunity_originating_lead", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Lead>("opportunity_originating_lead", "opportunity_originating_lead", null, value);
			}
		}
		
		/// <summary>
		/// N:1 opportunity_owning_user
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunity_owning_user")]
		public Xrm.SystemUser opportunity_owning_user
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("opportunity_owning_user", null);
			}
		}
		
		/// <summary>
		/// N:1 price_level_opportunties
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pricelevelid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("price_level_opportunties")]
		public Xrm.PriceLevel price_level_opportunties
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PriceLevel>("price_level_opportunties", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PriceLevel>("price_level_opportunties", "price_level_opportunties", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_opportunities
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_opportunities")]
		public Xrm.Team team_opportunities
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_opportunities", null);
			}
		}
		
		/// <summary>
		/// N:1 transactioncurrency_opportunity
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_opportunity")]
		public Xrm.TransactionCurrency transactioncurrency_opportunity
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_opportunity", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_opportunity", "transactioncurrency_opportunity", null, value);
			}
		}
	}
	
	/// <summary>
	/// Działanie tworzone automatycznie podczas zamykania szansy sprzedaży, zawierające takie informacje, jak opis zamknięcia i przychód rzeczywisty.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("opportunityclose")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("OpportunityCloseSet")]
	public partial class OpportunityClose : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public OpportunityClose() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "opportunityclose";
		
		public const int EntityTypeCode = 4208;
		
		/// <summary>
		/// Unikatowy identyfikator działania dotyczącego zamknięcia szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public System.Nullable<System.Guid> ActivityId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("activityid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ActivityId", "activityid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ActivityId = value;
			}
		}
		
		/// <summary>
		/// Typ działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activitytypecode")]
		public string ActivityTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("activitytypecode");
			}
		}
		
		/// <summary>
		/// Rzeczywisty czas trwania działania dotyczącego zamknięcia szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualdurationminutes")]
		public System.Nullable<int> ActualDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("actualdurationminutes");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ActualDurationMinutes", "actualdurationminutes", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista godzina zakończenia działania dotyczącego zamknięcia szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualend")]
		public System.Nullable<System.DateTime> ActualEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualEnd", "actualend", value);
			}
		}
		
		/// <summary>
		/// Rzeczywisty przychód wygenerowany dla szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualrevenue")]
		public System.Nullable<decimal> ActualRevenue
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("actualrevenue");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("ActualRevenue", "actualrevenue", value);
			}
		}
		
		/// <summary>
		/// Rzeczywisty przychód wygenerowany przez szansę sprzedaży przeliczony na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualrevenue_base")]
		public System.Nullable<decimal> ActualRevenue_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("actualrevenue_base");
			}
		}
		
		/// <summary>
		/// Rzeczywista godzina rozpoczęcia działania dotyczącego zamknięcia szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualstart")]
		public System.Nullable<System.DateTime> ActualStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualStart", "actualstart", value);
			}
		}
		
		/// <summary>
		/// Kategoria działania dotyczącego zamknięcia szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("category")]
		public string Category
		{
			get
			{
				return this.GetAttributeValue<string>("category");
			}
			set
			{
				this.SetAttributeValue<string>("Category", "category", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator konkurenta, z którym jest skojarzone działanie dotyczące zamknięcia szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("competitorid")]
		public Microsoft.Xrm.Client.CrmEntityReference CompetitorId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("competitorid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("CompetitorId", "competitorid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył działanie dotyczące zamknięcia szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia działania dotyczącego zamknięcia szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który utworzył zamknięcie szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Działanie tworzone automatycznie po zamknięciu szansy sprzedaży, zawierające takie informacje, jak opis zamknięcia i rzeczywisty przychód.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z działaniem zamknięcia szansy sprzedaży w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy działanie dotyczące zamknięcia szansy sprzedaży zostało zafakturowane jako część obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isbilled")]
		public System.Nullable<bool> IsBilled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isbilled");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsBilled", "isbilled", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy działanie ma charakter regularny, czy też jest zdarzeniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isregularactivity")]
		public System.Nullable<bool> IsRegularActivity
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isregularactivity");
			}
		}
		
		/// <summary>
		/// Informacja, czy działanie dotyczące zamknięcia szansy sprzedaży zostało utworzone na podstawie reguły przepływu pracy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isworkflowcreated")]
		public System.Nullable<bool> IsWorkflowCreated
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isworkflowcreated");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsWorkflowCreated", "isworkflowcreated", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował działanie dotyczące zamknięcia szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji działania dotyczącego zamknięcia szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który jako ostatni zmodyfikował zamknięcie szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zamkniętej szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("opportunityid")]
		public Microsoft.Xrm.Client.CrmEntityReference OpportunityId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("opportunityid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OpportunityId", "opportunityid", value);
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem działania dotyczącego zamknięcia szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem działania dotyczącego szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu będącego właścicielem działania dotyczącego zamknięcia szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika będącego właścicielem działania dotyczącego zamknięcia szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Zaplanowany czas trwania działania dotyczącego zamknięcia szansy sprzedaży w minutach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduleddurationminutes")]
		public System.Nullable<int> ScheduledDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("scheduleddurationminutes");
			}
		}
		
		/// <summary>
		/// Zaplanowana godzina zakończenia działania dotyczącego zamknięcia szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledend")]
		public System.Nullable<System.DateTime> ScheduledEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ScheduledEnd", "scheduledend", value);
			}
		}
		
		/// <summary>
		/// Zaplanowana godzina rozpoczęcia działania dotyczącego zamknięcia szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledstart")]
		public System.Nullable<System.DateTime> ScheduledStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ScheduledStart", "scheduledstart", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator usługi, z którą jest skojarzone działanie dotyczące zamknięcia szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		public Microsoft.Xrm.Client.CrmEntityReference ServiceId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("serviceid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ServiceId", "serviceid", value);
			}
		}
		
		/// <summary>
		/// Stan działania dotyczącego zamknięcia szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu działania dotyczącego zamknięcia szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Podkategoria działania dotyczącego zamknięcia szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subcategory")]
		public string Subcategory
		{
			get
			{
				return this.GetAttributeValue<string>("subcategory");
			}
			set
			{
				this.SetAttributeValue<string>("Subcategory", "subcategory", value);
			}
		}
		
		/// <summary>
		/// Temat skojarzony z działaniem dotyczącym zamknięcia szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subject")]
		public string Subject
		{
			get
			{
				return this.GetAttributeValue<string>("subject");
			}
			set
			{
				this.SetAttributeValue<string>("Subject", "subject", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z zamknięciem szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji działania dotyczącego zamknięcia szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N opportunityclose_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunityclose_activity_parties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> opportunityclose_activity_parties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("opportunityclose_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("opportunityclose_activity_parties", "opportunityclose_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N OpportunityClose_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("OpportunityClose_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> OpportunityClose_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("OpportunityClose_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("OpportunityClose_Annotation", "OpportunityClose_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N OpportunityClose_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("OpportunityClose_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> OpportunityClose_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("OpportunityClose_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("OpportunityClose_AsyncOperations", "OpportunityClose_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N OpportunityClose_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("OpportunityClose_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> OpportunityClose_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("OpportunityClose_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("OpportunityClose_BulkDeleteFailures", "OpportunityClose_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_opportunityclose
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_opportunityclose")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_opportunityclose
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_opportunityclose", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_opportunityclose", "userentityinstancedata_opportunityclose", null, value);
			}
		}
		
		/// <summary>
		/// N:1 activity_pointer_opportunity_close
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_opportunity_close")]
		public Xrm.ActivityPointer activity_pointer_opportunity_close
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_opportunity_close", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_opportunity_close", "activity_pointer_opportunity_close", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_opportunity_close_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_opportunity_close_activities")]
		public Xrm.BusinessUnit business_unit_opportunity_close_activities
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_opportunity_close_activities", null);
			}
		}
		
		/// <summary>
		/// N:1 competitor_opportunity_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("competitorid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("competitor_opportunity_activities")]
		public Xrm.Competitor competitor_opportunity_activities
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Competitor>("competitor_opportunity_activities", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Competitor>("competitor_opportunity_activities", "competitor_opportunity_activities", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_opportunityclose_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_opportunityclose_createdby")]
		public Xrm.SystemUser lk_opportunityclose_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_opportunityclose_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_opportunityclose_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_opportunityclose_createdonbehalfby")]
		public Xrm.SystemUser lk_opportunityclose_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_opportunityclose_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_opportunityclose_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_opportunityclose_modifiedby")]
		public Xrm.SystemUser lk_opportunityclose_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_opportunityclose_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_opportunityclose_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_opportunityclose_modifiedonbehalfby")]
		public Xrm.SystemUser lk_opportunityclose_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_opportunityclose_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 Opportunity_OpportunityClose
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("opportunityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_OpportunityClose")]
		public Xrm.Opportunity Opportunity_OpportunityClose
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Opportunity>("Opportunity_OpportunityClose", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Opportunity>("Opportunity_OpportunityClose", "Opportunity_OpportunityClose", null, value);
			}
		}
		
		/// <summary>
		/// N:1 service_opportunityclose
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_opportunityclose")]
		public Xrm.Service service_opportunityclose
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Service>("service_opportunityclose", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Service>("service_opportunityclose", "service_opportunityclose", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_opportunityclose
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_opportunityclose")]
		public Xrm.Team team_opportunityclose
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_opportunityclose", null);
			}
		}
		
		/// <summary>
		/// N:1 transactioncurrency_opportunityclose
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_opportunityclose")]
		public Xrm.TransactionCurrency transactioncurrency_opportunityclose
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_opportunityclose", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_opportunityclose", "transactioncurrency_opportunityclose", null, value);
			}
		}
		
		/// <summary>
		/// N:1 user_opportunityclose
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_opportunityclose")]
		public Xrm.SystemUser user_opportunityclose
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_opportunityclose", null);
			}
		}
	}
	
	/// <summary>
	/// 
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("opportunitycompetitors")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("OpportunityCompetitorsSet")]
	public partial class OpportunityCompetitors : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public OpportunityCompetitors() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "opportunitycompetitors";
		
		public const int EntityTypeCode = 25;
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("competitorid")]
		public System.Nullable<System.Guid> CompetitorId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("competitorid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator konkurenta szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("opportunitycompetitorid")]
		public System.Nullable<System.Guid> OpportunityCompetitorId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("opportunitycompetitorid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("OpportunityCompetitorId", "opportunitycompetitorid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("opportunitycompetitorid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.OpportunityCompetitorId = value;
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("opportunityid")]
		public System.Nullable<System.Guid> OpportunityId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("opportunityid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// N:N opportunitycompetitors_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunitycompetitors_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Opportunity> opportunitycompetitors_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Opportunity>("opportunitycompetitors_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Opportunity>("opportunitycompetitors_association", "opportunitycompetitors_association", null, value);
			}
		}
	}
	
	/// <summary>
	/// Skojarzenie między szansą sprzedaży i produktem.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("opportunityproduct")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("OpportunityProductSet")]
	public partial class OpportunityProduct : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public OpportunityProduct() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "opportunityproduct";
		
		public const int EntityTypeCode = 1083;
		
		/// <summary>
		/// Suma częściowa dotycząca produktu szansy sprzedaży przed zastosowaniem rabatów i dodaniem podatków.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baseamount")]
		public System.Nullable<decimal> BaseAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("baseamount");
			}
		}
		
		/// <summary>
		/// Suma częściowa produktu objętego szansą sprzedaży przed uwzględnieniem rabatów i podatków w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baseamount_base")]
		public System.Nullable<decimal> BaseAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("baseamount_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył produkt szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia produktu szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który utworzył produkt szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis produktu szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z produktem objętym szansą sprzedaży w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Suma częściowa dotycząca produktu szansy sprzedaży po zastosowaniu rabatów i dodaniu podatków.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("extendedamount")]
		public System.Nullable<decimal> ExtendedAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("extendedamount");
			}
		}
		
		/// <summary>
		/// Suma częściowa produktu objętego szansą sprzedaży z uwzględnieniem rabatów i podatków w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("extendedamount_base")]
		public System.Nullable<decimal> ExtendedAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("extendedamount_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Określa, czy zastąpić kalkulację cen z katalogu produktów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ispriceoverridden")]
		public System.Nullable<bool> IsPriceOverridden
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ispriceoverridden");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsPriceOverridden", "ispriceoverridden", value);
			}
		}
		
		/// <summary>
		/// Określa, czy dany produkt jest produktem dopisanym, czy istniejącym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isproductoverridden")]
		public System.Nullable<bool> IsProductOverridden
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isproductoverridden");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsProductOverridden", "isproductoverridden", value);
			}
		}
		
		/// <summary>
		/// Numer pozycji dotyczący produktu szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("lineitemnumber")]
		public System.Nullable<int> LineItemNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("lineitemnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("LineItemNumber", "lineitemnumber", value);
			}
		}
		
		/// <summary>
		/// Dostosowywana kwota rabatu dotycząca produktu szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("manualdiscountamount")]
		public System.Nullable<decimal> ManualDiscountAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("manualdiscountamount");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("ManualDiscountAmount", "manualdiscountamount", value);
			}
		}
		
		/// <summary>
		/// Kwota rabatu niestandardowego na produkt objęty szansą sprzedaży w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("manualdiscountamount_base")]
		public System.Nullable<decimal> ManualDiscountAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("manualdiscountamount_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował produkt szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji produktu szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który jako ostatni zmodyfikował produkt szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator szansy sprzedaży, z którym jest skojarzony produkt szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("opportunityid")]
		public Microsoft.Xrm.Client.CrmEntityReference OpportunityId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("opportunityid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OpportunityId", "opportunityid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator produktu szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("opportunityproductid")]
		public System.Nullable<System.Guid> OpportunityProductId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("opportunityproductid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("OpportunityProductId", "opportunityproductid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("opportunityproductid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.OpportunityProductId = value;
			}
		}
		
		/// <summary>
		/// Stan produktu szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("opportunitystatecode")]
		public System.Nullable<int> OpportunityStateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("opportunitystatecode");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem produktu szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem produktu objętego szansą sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public System.Nullable<System.Guid> OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem produktu objętego szansą sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public System.Nullable<System.Guid> OwningUser
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owninguser");
			}
		}
		
		/// <summary>
		/// Cena jednostkowa produktu szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("priceperunit")]
		public System.Nullable<decimal> PricePerUnit
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("priceperunit");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("PricePerUnit", "priceperunit", value);
			}
		}
		
		/// <summary>
		/// Cena jednostkowa produktu objętego szansą sprzedaży w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("priceperunit_base")]
		public System.Nullable<decimal> PricePerUnit_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("priceperunit_base");
			}
		}
		
		/// <summary>
		/// Błąd kalkulacji cen dotyczący produktu szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pricingerrorcode")]
		public System.Nullable<int> PricingErrorCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("pricingerrorcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PricingErrorCode", "pricingerrorcode", value);
			}
		}
		
		/// <summary>
		/// Opis produktu szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productdescription")]
		public string ProductDescription
		{
			get
			{
				return this.GetAttributeValue<string>("productdescription");
			}
			set
			{
				this.SetAttributeValue<string>("ProductDescription", "productdescription", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator produktu wymienionego jako produkt szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productid")]
		public Microsoft.Xrm.Client.CrmEntityReference ProductId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("productid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ProductId", "productid", value);
			}
		}
		
		/// <summary>
		/// Ilość produktu określona dla produktu szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quantity")]
		public System.Nullable<decimal> Quantity
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("quantity");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("Quantity", "quantity", value);
			}
		}
		
		/// <summary>
		/// Kwota podatku dotycząca produktu szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("tax")]
		public System.Nullable<decimal> Tax
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("tax");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Tax", "tax", value);
			}
		}
		
		/// <summary>
		/// Kwota podatku dla produktu objętego szansą sprzedaży w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("tax_base")]
		public System.Nullable<decimal> Tax_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("tax_base");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z produktem objętym szansą sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki skojarzonej z produktem szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("uomid")]
		public Microsoft.Xrm.Client.CrmEntityReference UoMId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("uomid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("UoMId", "uomid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji produktu szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// Kwota rabatu hurtowego dotycząca produktu szansy sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("volumediscountamount")]
		public System.Nullable<decimal> VolumeDiscountAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("volumediscountamount");
			}
		}
		
		/// <summary>
		/// Kwota rabatu hurtowego na produkt objęty szansą sprzedaży w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("volumediscountamount_base")]
		public System.Nullable<decimal> VolumeDiscountAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("volumediscountamount_base");
			}
		}
		
		/// <summary>
		/// 1:N OpportunityProduct_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("OpportunityProduct_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> OpportunityProduct_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("OpportunityProduct_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("OpportunityProduct_AsyncOperations", "OpportunityProduct_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N OpportunityProduct_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("OpportunityProduct_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> OpportunityProduct_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("OpportunityProduct_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("OpportunityProduct_BulkDeleteFailures", "OpportunityProduct_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N opportunityproduct_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunityproduct_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> opportunityproduct_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("opportunityproduct_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("opportunityproduct_principalobjectattributeaccess", "opportunityproduct_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N OpportunityProduct_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("OpportunityProduct_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> OpportunityProduct_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("OpportunityProduct_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("OpportunityProduct_ProcessSessions", "OpportunityProduct_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_opportunityproduct
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_opportunityproduct")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_opportunityproduct
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_opportunityproduct", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_opportunityproduct", "userentityinstancedata_opportunityproduct", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_opportunityproduct_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_opportunityproduct_createdonbehalfby")]
		public Xrm.SystemUser lk_opportunityproduct_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_opportunityproduct_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_opportunityproduct_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_opportunityproduct_modifiedonbehalfby")]
		public Xrm.SystemUser lk_opportunityproduct_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_opportunityproduct_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_opportunityproductbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_opportunityproductbase_createdby")]
		public Xrm.SystemUser lk_opportunityproductbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_opportunityproductbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_opportunityproductbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_opportunityproductbase_modifiedby")]
		public Xrm.SystemUser lk_opportunityproductbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_opportunityproductbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 opportunity_products
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunity_products")]
		public Xrm.Product opportunity_products
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Product>("opportunity_products", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Product>("opportunity_products", "opportunity_products", null, value);
			}
		}
		
		/// <summary>
		/// N:1 product_opportunities
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("opportunityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("product_opportunities")]
		public Xrm.Opportunity product_opportunities
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Opportunity>("product_opportunities", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Opportunity>("product_opportunities", "product_opportunities", null, value);
			}
		}
		
		/// <summary>
		/// N:1 transactioncurrency_opportunityproduct
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_opportunityproduct")]
		public Xrm.TransactionCurrency transactioncurrency_opportunityproduct
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_opportunityproduct", null);
			}
		}
		
		/// <summary>
		/// N:1 unit_of_measurement_opportunity_products
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("uomid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("unit_of_measurement_opportunity_products")]
		public Xrm.UoM unit_of_measurement_opportunity_products
		{
			get
			{
				return this.GetRelatedEntity<Xrm.UoM>("unit_of_measurement_opportunity_products", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.UoM>("unit_of_measurement_opportunity_products", "unit_of_measurement_opportunity_products", null, value);
			}
		}
	}
	
	/// <summary>
	/// Działanie generowane automatycznie po zamknięciu zamówienia.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("orderclose")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("OrderCloseSet")]
	public partial class OrderClose : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public OrderClose() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "orderclose";
		
		public const int EntityTypeCode = 4209;
		
		/// <summary>
		/// Unikatowy identyfikator działania dotyczącego zamknięcia zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public System.Nullable<System.Guid> ActivityId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("activityid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ActivityId", "activityid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ActivityId = value;
			}
		}
		
		/// <summary>
		/// Typ działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activitytypecode")]
		public string ActivityTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("activitytypecode");
			}
		}
		
		/// <summary>
		/// Rzeczywisty czas trwania działania dotyczącego zamknięcia zamówienia w minutach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualdurationminutes")]
		public System.Nullable<int> ActualDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("actualdurationminutes");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ActualDurationMinutes", "actualdurationminutes", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista godzina zakończenia działania dotyczącego zamknięcia zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualend")]
		public System.Nullable<System.DateTime> ActualEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualEnd", "actualend", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista godzina rozpoczęcia działania dotyczącego zamknięcia zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualstart")]
		public System.Nullable<System.DateTime> ActualStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualStart", "actualstart", value);
			}
		}
		
		/// <summary>
		/// Kategoria działania dotyczącego zamknięcia zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("category")]
		public string Category
		{
			get
			{
				return this.GetAttributeValue<string>("category");
			}
			set
			{
				this.SetAttributeValue<string>("Category", "category", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył działanie dotyczące zamknięcia zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia działania dotyczącego zamknięcia zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył zamknięcie zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Działanie generowane automatycznie po zamknięciu zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy działanie dotyczące zamknięcia zamówienia zostało zafakturowane jako część obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isbilled")]
		public System.Nullable<bool> IsBilled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isbilled");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsBilled", "isbilled", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy działanie ma charakter regularny, czy też jest zdarzeniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isregularactivity")]
		public System.Nullable<bool> IsRegularActivity
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isregularactivity");
			}
		}
		
		/// <summary>
		/// Informacja, czy działanie dotyczące zamknięcia zamówienia zostało utworzone z reguły przepływu pracy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isworkflowcreated")]
		public System.Nullable<bool> IsWorkflowCreated
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isworkflowcreated");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsWorkflowCreated", "isworkflowcreated", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował działanie dotyczące zamknięcia zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji działania dotyczącego zamknięcia zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował zamknięcie zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Numer zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ordernumber")]
		public string OrderNumber
		{
			get
			{
				return this.GetAttributeValue<string>("ordernumber");
			}
			set
			{
				this.SetAttributeValue<string>("OrderNumber", "ordernumber", value);
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem działania dotyczącego zamknięcia zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem działania dotyczącego zamknięcia zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, który jest właścicielem działania dotyczącego zamknięcia zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem działania dotyczącego zamknięcia zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Numer poprawki zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("revision")]
		public System.Nullable<int> Revision
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("revision");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Revision", "revision", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zamówienia, z którym jest skojarzone działanie dotyczące zamknięcia zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salesorderid")]
		public Microsoft.Xrm.Client.CrmEntityReference SalesOrderId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("salesorderid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("SalesOrderId", "salesorderid", value);
			}
		}
		
		/// <summary>
		/// Zaplanowany czas trwania działania dotyczącego zamknięcia zamówienia w minutach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduleddurationminutes")]
		public System.Nullable<int> ScheduledDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("scheduleddurationminutes");
			}
		}
		
		/// <summary>
		/// Zaplanowana godzina zakończenia działania dotyczącego zamknięcia zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledend")]
		public System.Nullable<System.DateTime> ScheduledEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ScheduledEnd", "scheduledend", value);
			}
		}
		
		/// <summary>
		/// Zaplanowana godzina rozpoczęcia działania dotyczącego zamknięcia zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledstart")]
		public System.Nullable<System.DateTime> ScheduledStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ScheduledStart", "scheduledstart", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator usługi, z którą jest skojarzone działanie dotyczące zamknięcia zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		public Microsoft.Xrm.Client.CrmEntityReference ServiceId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("serviceid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ServiceId", "serviceid", value);
			}
		}
		
		/// <summary>
		/// Stan działania dotyczącego zamknięcia zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu działania dotyczącego zamknięcia zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Podkategoria działania dotyczącego zamknięcia zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subcategory")]
		public string Subcategory
		{
			get
			{
				return this.GetAttributeValue<string>("subcategory");
			}
			set
			{
				this.SetAttributeValue<string>("Subcategory", "subcategory", value);
			}
		}
		
		/// <summary>
		/// Temat skojarzony z działaniem dotyczącym zamknięcia zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subject")]
		public string Subject
		{
			get
			{
				return this.GetAttributeValue<string>("subject");
			}
			set
			{
				this.SetAttributeValue<string>("Subject", "subject", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji działania dotyczącego zamknięcia zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N orderclose_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("orderclose_activity_parties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> orderclose_activity_parties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("orderclose_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("orderclose_activity_parties", "orderclose_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N OrderClose_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("OrderClose_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> OrderClose_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("OrderClose_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("OrderClose_Annotation", "OrderClose_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N OrderClose_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("OrderClose_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> OrderClose_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("OrderClose_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("OrderClose_AsyncOperations", "OrderClose_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N OrderClose_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("OrderClose_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> OrderClose_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("OrderClose_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("OrderClose_BulkDeleteFailures", "OrderClose_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_orderclose
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_orderclose")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_orderclose
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_orderclose", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_orderclose", "userentityinstancedata_orderclose", null, value);
			}
		}
		
		/// <summary>
		/// N:1 activity_pointer_order_close
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_order_close")]
		public Xrm.ActivityPointer activity_pointer_order_close
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_order_close", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_order_close", "activity_pointer_order_close", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_order_close_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_order_close_activities")]
		public Xrm.BusinessUnit business_unit_order_close_activities
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_order_close_activities", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_orderclose_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_orderclose_createdby")]
		public Xrm.SystemUser lk_orderclose_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_orderclose_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_orderclose_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_orderclose_createdonbehalfby")]
		public Xrm.SystemUser lk_orderclose_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_orderclose_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_orderclose_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_orderclose_modifiedby")]
		public Xrm.SystemUser lk_orderclose_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_orderclose_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_orderclose_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_orderclose_modifiedonbehalfby")]
		public Xrm.SystemUser lk_orderclose_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_orderclose_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 SalesOrder_OrderClose
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salesorderid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrder_OrderClose")]
		public Xrm.SalesOrder SalesOrder_OrderClose
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesOrder>("SalesOrder_OrderClose", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesOrder>("SalesOrder_OrderClose", "SalesOrder_OrderClose", null, value);
			}
		}
		
		/// <summary>
		/// N:1 service_orderclose
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_orderclose")]
		public Xrm.Service service_orderclose
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Service>("service_orderclose", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Service>("service_orderclose", "service_orderclose", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_orderclose
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_orderclose")]
		public Xrm.Team team_orderclose
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_orderclose", null);
			}
		}
		
		/// <summary>
		/// N:1 user_orderclose
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_orderclose")]
		public Xrm.SystemUser user_orderclose
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_orderclose", null);
			}
		}
	}
	
	/// <summary>
	/// Najwyższy poziom hierarchii biznesowej programu Microsoft Dynamics CRM. Organizacja może być konkretnym przedsiębiorstwem lub holdingiem.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("organization")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("OrganizationSet")]
	public partial class Organization : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Organization() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "organization";
		
		public const int EntityTypeCode = 1019;
		
		/// <summary>
		/// Unikatowy identyfikator szablonu używanego do potwierdzenia anulowania subskrypcji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("acknowledgementtemplateid")]
		public Microsoft.Xrm.Client.CrmEntityReference AcknowledgementTemplateId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("acknowledgementtemplateid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("AcknowledgementTemplateId", "acknowledgementtemplateid", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy w programie Microsoft Office Outlook jest dozwolona synchronizacja książki adresowej w tle.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("allowaddressbooksyncs")]
		public System.Nullable<bool> AllowAddressBookSyncs
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("allowaddressbooksyncs");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("AllowAddressBookSyncs", "allowaddressbooksyncs", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy jest dozwolone automatyczne tworzenie odpowiedzi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("allowautoresponsecreation")]
		public System.Nullable<bool> AllowAutoResponseCreation
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("allowautoresponsecreation");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("AllowAutoResponseCreation", "allowautoresponsecreation", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy jest dozwolone automatyczne anulowanie subskrypcji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("allowautounsubscribe")]
		public System.Nullable<bool> AllowAutoUnsubscribe
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("allowautounsubscribe");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("AllowAutoUnsubscribe", "allowautounsubscribe", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy jest dozwolone automatyczne wysyłanie wiadomości e-mail z potwierdzeniem anulowania subskrypcji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("allowautounsubscribeacknowledgement")]
		public System.Nullable<bool> AllowAutoUnsubscribeAcknowledgement
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("allowautounsubscribeacknowledgement");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("AllowAutoUnsubscribeAcknowledgement", "allowautounsubscribeacknowledgement", value);
			}
		}
		
		/// <summary>
		/// Flaga służąca do włączania i wyłączania reklamy klienta programu Outlook na pasku komunikatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("allowclientmessagebarad")]
		public System.Nullable<bool> AllowClientMessageBarAd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("allowclientmessagebarad");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("AllowClientMessageBarAd", "allowclientmessagebarad", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy jest dozwolona inspekcja zmian w encji, jeśli nie zmieniono żadnych atrybutów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("allowentityonlyaudit")]
		public System.Nullable<bool> AllowEntityOnlyAudit
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("allowentityonlyaudit");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("AllowEntityOnlyAudit", "allowentityonlyaudit", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy jest dozwolone wysyłanie marketingowych wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("allowmarketingemailexecution")]
		public System.Nullable<bool> AllowMarketingEmailExecution
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("allowmarketingemailexecution");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("AllowMarketingEmailExecution", "allowmarketingemailexecution", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy w programie Microsoft Office Outlook jest dozwolona synchronizacja w trybie offline w tle.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("allowofflinescheduledsyncs")]
		public System.Nullable<bool> AllowOfflineScheduledSyncs
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("allowofflinescheduledsyncs");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("AllowOfflineScheduledSyncs", "allowofflinescheduledsyncs", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy jest dozwolona zaplanowana synchronizacja programu Outlook.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("allowoutlookscheduledsyncs")]
		public System.Nullable<bool> AllowOutlookScheduledSyncs
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("allowoutlookscheduledsyncs");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("AllowOutlookScheduledSyncs", "allowoutlookscheduledsyncs", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy w programie Microsoft Office Outlook jest dozwolone wysyłanie wiadomości e-mail do nierozpoznawanych adresatów (adresaci muszą mieć adresy e-mail).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("allowunresolvedpartiesonemailsend")]
		public System.Nullable<bool> AllowUnresolvedPartiesOnEmailSend
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("allowunresolvedpartiesonemailsend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("AllowUnresolvedPartiesOnEmailSend", "allowunresolvedpartiesonemailsend", value);
			}
		}
		
		/// <summary>
		/// Określa, czy poszczególne osoby mogą wybrać preferowany tryb formularza w swoich opcjach osobistych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("allowuserformmodepreference")]
		public System.Nullable<bool> AllowUserFormModePreference
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("allowuserformmodepreference");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("AllowUserFormModePreference", "allowuserformmodepreference", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy do programu Microsoft Office Excel można eksportować siatki za pośrednictwem sieci Web.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("allowwebexcelexport")]
		public System.Nullable<bool> AllowWebExcelExport
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("allowwebexcelexport");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("AllowWebExcelExport", "allowwebexcelexport", value);
			}
		}
		
		/// <summary>
		/// Określenie godzin przedpołudniowych używane w całym programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("amdesignator")]
		public string AMDesignator
		{
			get
			{
				return this.GetAttributeValue<string>("amdesignator");
			}
			set
			{
				this.SetAttributeValue<string>("AMDesignator", "amdesignator", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty podstawowej używanej w organizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("basecurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference BaseCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("basecurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("BaseCurrencyId", "basecurrencyid", value);
			}
		}
		
		/// <summary>
		/// Liczba cyfr po przecinku, która może być stosowana w zapisie waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("basecurrencyprecision")]
		public System.Nullable<int> BaseCurrencyPrecision
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("basecurrencyprecision");
			}
		}
		
		/// <summary>
		/// Symbol używany w zapisie waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("basecurrencysymbol")]
		public string BaseCurrencySymbol
		{
			get
			{
				return this.GetAttributeValue<string>("basecurrencysymbol");
			}
		}
		
		/// <summary>
		/// Blokowanie możliwości przekazywania i pobierania niektórych rodzajów załączników, które zostaną uznane za niebezpieczne.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("blockedattachments")]
		public string BlockedAttachments
		{
			get
			{
				return this.GetAttributeValue<string>("blockedattachments");
			}
			set
			{
				this.SetAttributeValue<string>("BlockedAttachments", "blockedattachments", value);
			}
		}
		
		/// <summary>
		/// Prefiks używany do numerowania operacji zbiorczych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("bulkoperationprefix")]
		public string BulkOperationPrefix
		{
			get
			{
				return this.GetAttributeValue<string>("bulkoperationprefix");
			}
			set
			{
				this.SetAttributeValue<string>("BulkOperationPrefix", "bulkoperationprefix", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kalendarza dni wolnych od pracy organizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessclosurecalendarid")]
		public System.Nullable<System.Guid> BusinessClosureCalendarId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("businessclosurecalendarid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("BusinessClosureCalendarId", "businessclosurecalendarid", value);
			}
		}
		
		/// <summary>
		/// Typ kalendarza dla systemu — domyślnie ustawiona na Gregoriański (Stany Zjednoczone).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("calendartype")]
		public System.Nullable<int> CalendarType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("calendartype");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("CalendarType", "calendartype", value);
			}
		}
		
		/// <summary>
		/// Prefiks używany do numerowania kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("campaignprefix")]
		public string CampaignPrefix
		{
			get
			{
				return this.GetAttributeValue<string>("campaignprefix");
			}
			set
			{
				this.SetAttributeValue<string>("CampaignPrefix", "campaignprefix", value);
			}
		}
		
		/// <summary>
		/// Prefiks używany we wszystkich sprawach w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("caseprefix")]
		public string CasePrefix
		{
			get
			{
				return this.GetAttributeValue<string>("caseprefix");
			}
			set
			{
				this.SetAttributeValue<string>("CasePrefix", "caseprefix", value);
			}
		}
		
		/// <summary>
		/// Prefiks używany we wszystkich kontraktach w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contractprefix")]
		public string ContractPrefix
		{
			get
			{
				return this.GetAttributeValue<string>("contractprefix");
			}
			set
			{
				this.SetAttributeValue<string>("ContractPrefix", "contractprefix", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył organizację.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia organizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył organizację.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Liczba cyfr po przecinku, która może być stosowana w zapisie waluty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("currencydecimalprecision")]
		public System.Nullable<int> CurrencyDecimalPrecision
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("currencydecimalprecision");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("CurrencyDecimalPrecision", "currencydecimalprecision", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy w polach kwot pieniężnych mają być wyświetlane kody walut czy symbole walut.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("currencydisplayoption")]
		public System.Nullable<int> CurrencyDisplayOption
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("currencydisplayoption");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("CurrencyDisplayOption", "currencydisplayoption", value);
			}
		}
		
		/// <summary>
		/// Informacja dotycząca sposobu umieszczania symboli walut w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("currencyformatcode")]
		public System.Nullable<int> CurrencyFormatCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("currencyformatcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("CurrencyFormatCode", "currencyformatcode", value);
			}
		}
		
		/// <summary>
		/// Symbol waluty używany w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("currencysymbol")]
		public string CurrencySymbol
		{
			get
			{
				return this.GetAttributeValue<string>("currencysymbol");
			}
			set
			{
				this.SetAttributeValue<string>("CurrencySymbol", "currencysymbol", value);
			}
		}
		
		/// <summary>
		/// Numer bieżącej operacji zbiorczej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("currentbulkoperationnumber")]
		public System.Nullable<int> CurrentBulkOperationNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("currentbulkoperationnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("CurrentBulkOperationNumber", "currentbulkoperationnumber", value);
			}
		}
		
		/// <summary>
		/// Numer bieżącej kampanii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("currentcampaignnumber")]
		public System.Nullable<int> CurrentCampaignNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("currentcampaignnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("CurrentCampaignNumber", "currentcampaignnumber", value);
			}
		}
		
		/// <summary>
		/// Pierwszy numer sprawy, który ma zostać użyty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("currentcasenumber")]
		public System.Nullable<int> CurrentCaseNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("currentcasenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("CurrentCaseNumber", "currentcasenumber", value);
			}
		}
		
		/// <summary>
		/// Pierwszy numer kontraktu, który ma zostać użyty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("currentcontractnumber")]
		public System.Nullable<int> CurrentContractNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("currentcontractnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("CurrentContractNumber", "currentcontractnumber", value);
			}
		}
		
		/// <summary>
		/// Sekwencja importu, która ma zostać użyta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("currentimportsequencenumber")]
		public System.Nullable<int> CurrentImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("currentimportsequencenumber");
			}
		}
		
		/// <summary>
		/// Pierwszy numer faktury, który ma zostać użyty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("currentinvoicenumber")]
		public System.Nullable<int> CurrentInvoiceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("currentinvoicenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("CurrentInvoiceNumber", "currentinvoicenumber", value);
			}
		}
		
		/// <summary>
		/// Pierwszy numer artykułu, który ma zostać użyty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("currentkbnumber")]
		public System.Nullable<int> CurrentKbNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("currentkbnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("CurrentKbNumber", "currentkbnumber", value);
			}
		}
		
		/// <summary>
		/// Pierwszy numer zamówienia, który ma zostać użyty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("currentordernumber")]
		public System.Nullable<int> CurrentOrderNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("currentordernumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("CurrentOrderNumber", "currentordernumber", value);
			}
		}
		
		/// <summary>
		/// Numer pierwszej tabeli ze sprawdzoną składnią, która ma zostać użyta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("currentparsedtablenumber")]
		public System.Nullable<int> CurrentParsedTableNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("currentparsedtablenumber");
			}
		}
		
		/// <summary>
		/// Pierwszy numer oferty, który ma zostać użyty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("currentquotenumber")]
		public System.Nullable<int> CurrentQuoteNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("currentquotenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("CurrentQuoteNumber", "currentquotenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja o sposobie wyświetlania daty w programie Microsoft CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("dateformatcode")]
		public System.Nullable<int> DateFormatCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("dateformatcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("DateFormatCode", "dateformatcode", value);
			}
		}
		
		/// <summary>
		/// Ciąg określający sposób wyświetlania dat w całym programie Microsoft CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("dateformatstring")]
		public string DateFormatString
		{
			get
			{
				return this.GetAttributeValue<string>("dateformatstring");
			}
			set
			{
				this.SetAttributeValue<string>("DateFormatString", "dateformatstring", value);
			}
		}
		
		/// <summary>
		/// Znak używany do oddzielania miesiąca, dnia i roku w dacie w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("dateseparator")]
		public string DateSeparator
		{
			get
			{
				return this.GetAttributeValue<string>("dateseparator");
			}
			set
			{
				this.SetAttributeValue<string>("DateSeparator", "dateseparator", value);
			}
		}
		
		/// <summary>
		/// Symbol miejsc dziesiętnych, który będzie używany w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("decimalsymbol")]
		public string DecimalSymbol
		{
			get
			{
				return this.GetAttributeValue<string>("decimalsymbol");
			}
			set
			{
				this.SetAttributeValue<string>("DecimalSymbol", "decimalsymbol", value);
			}
		}
		
		/// <summary>
		/// Typ domyślnej daty zakresu zakończenia cyklu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("defaultrecurrenceendrangetype")]
		public System.Nullable<int> DefaultRecurrenceEndRangeType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("defaultrecurrenceendrangetype");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("DefaultRecurrenceEndRangeType", "defaultrecurrenceendrangetype", value);
			}
		}
		
		/// <summary>
		/// Przyczyna wyłączenia organizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("disabledreason")]
		public string DisabledReason
		{
			get
			{
				return this.GetAttributeValue<string>("disabledreason");
			}
		}
		
		/// <summary>
		/// Normalna częstotliwość sondowania używana przy wysyłaniu wiadomości e-mail w programie Outlook pakietu Microsoft Office.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("emailsendpollingperiod")]
		public System.Nullable<int> EmailSendPollingPeriod
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("emailsendpollingperiod");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("EmailSendPollingPeriod", "emailsendpollingperiod", value);
			}
		}
		
		/// <summary>
		/// Włączanie funkcji kalkulacji cen przy wywołaniu tworzenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("enablepricingoncreate")]
		public System.Nullable<bool> EnablePricingOnCreate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("enablepricingoncreate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("EnablePricingOnCreate", "enablepricingoncreate", value);
			}
		}
		
		/// <summary>
		/// Używaj inteligentnego dopasowywania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("enablesmartmatching")]
		public System.Nullable<bool> EnableSmartMatching
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("enablesmartmatching");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("EnableSmartMatching", "enablesmartmatching", value);
			}
		}
		
		/// <summary>
		/// Maksymalna liczba dni przed usunięciem nieaktywnych subskrypcji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("expiresubscriptionsindays")]
		public System.Nullable<int> ExpireSubscriptionsInDays
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("expiresubscriptionsindays");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ExpireSubscriptionsInDays", "expiresubscriptionsindays", value);
			}
		}
		
		/// <summary>
		/// Funkcje, które mają zostać włączone jako obiekt BLOB XML.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("featureset")]
		public string FeatureSet
		{
			get
			{
				return this.GetAttributeValue<string>("featureset");
			}
			set
			{
				this.SetAttributeValue<string>("FeatureSet", "featureset", value);
			}
		}
		
		/// <summary>
		/// Data rozpoczęcia okresu obrachunkowego używanego w programie Microsoft CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fiscalcalendarstart")]
		public System.Nullable<System.DateTime> FiscalCalendarStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("fiscalcalendarstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("FiscalCalendarStart", "fiscalcalendarstart", value);
			}
		}
		
		/// <summary>
		/// Informacja dotycząca sposobu wyświetlania nazwy okresu obrachunkowego w programie Microsoft CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fiscalperiodformat")]
		public string FiscalPeriodFormat
		{
			get
			{
				return this.GetAttributeValue<string>("fiscalperiodformat");
			}
			set
			{
				this.SetAttributeValue<string>("FiscalPeriodFormat", "fiscalperiodformat", value);
			}
		}
		
		/// <summary>
		/// Format, w którym będzie wyświetlany okres obrachunkowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fiscalperiodformatperiod")]
		public System.Nullable<int> FiscalPeriodFormatPeriod
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("fiscalperiodformatperiod");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("FiscalPeriodFormatPeriod", "fiscalperiodformatperiod", value);
			}
		}
		
		/// <summary>
		/// Typ okresu obrachunkowego używanego w programie Microsoft CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fiscalperiodtype")]
		public System.Nullable<int> FiscalPeriodType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("fiscalperiodtype");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("FiscalPeriodType", "fiscalperiodtype", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy ustawienia obrachunkowe zostały zaktualizowane.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fiscalsettingsupdated")]
		[System.ObsoleteAttribute()]
		public System.Nullable<bool> FiscalSettingsUpdated
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("fiscalsettingsupdated");
			}
		}
		
		/// <summary>
		/// Informacja, czy rok obrachunkowy powinien być wyświetlany na podstawie daty rozpoczęcia czy daty zakończenia roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fiscalyeardisplaycode")]
		public System.Nullable<int> FiscalYearDisplayCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("fiscalyeardisplaycode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("FiscalYearDisplayCode", "fiscalyeardisplaycode", value);
			}
		}
		
		/// <summary>
		/// Informacja dotycząca sposobu wyświetlania nazwy roku obrachunkowego w programie Microsoft CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fiscalyearformat")]
		public string FiscalYearFormat
		{
			get
			{
				return this.GetAttributeValue<string>("fiscalyearformat");
			}
			set
			{
				this.SetAttributeValue<string>("FiscalYearFormat", "fiscalyearformat", value);
			}
		}
		
		/// <summary>
		/// Prefiks wyświetlania roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fiscalyearformatprefix")]
		public System.Nullable<int> FiscalYearFormatPrefix
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("fiscalyearformatprefix");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("FiscalYearFormatPrefix", "fiscalyearformatprefix", value);
			}
		}
		
		/// <summary>
		/// Sufiks wyświetlania roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fiscalyearformatsuffix")]
		public System.Nullable<int> FiscalYearFormatSuffix
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("fiscalyearformatsuffix");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("FiscalYearFormatSuffix", "fiscalyearformatsuffix", value);
			}
		}
		
		/// <summary>
		/// Format roku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fiscalyearformatyear")]
		public System.Nullable<int> FiscalYearFormatYear
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("fiscalyearformatyear");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("FiscalYearFormatYear", "fiscalyearformatyear", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca sposób łączenia nazw roku obrachunkowego i okresu obrachunkowego, gdy są wyświetlane razem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fiscalyearperiodconnect")]
		public string FiscalYearPeriodConnect
		{
			get
			{
				return this.GetAttributeValue<string>("fiscalyearperiodconnect");
			}
			set
			{
				this.SetAttributeValue<string>("FiscalYearPeriodConnect", "fiscalyearperiodconnect", value);
			}
		}
		
		/// <summary>
		/// Kolejność wyświetlania nazw w programie Microsoft CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fullnameconventioncode")]
		public System.Nullable<int> FullNameConventionCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("fullnameconventioncode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("FullNameConventionCode", "fullnameconventioncode", value);
			}
		}
		
		/// <summary>
		/// Określa maksymalną liczbę przyszłych miesięcy, dla których można tworzyć działania cykliczne.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("futureexpansionwindow")]
		public System.Nullable<int> FutureExpansionWindow
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("futureexpansionwindow");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("FutureExpansionWindow", "futureexpansionwindow", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy dla tej organizacji została włączona zawartość okienka Rozpoczynanie pracy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("getstartedpanecontentenabled")]
		public System.Nullable<bool> GetStartedPaneContentEnabled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("getstartedpanecontentenabled");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("GetStartedPaneContentEnabled", "getstartedpanecontentenabled", value);
			}
		}
		
		/// <summary>
		/// Liczba dni po dacie zakończenia celu, po której zestawianie celu zostanie zatrzymane automatycznie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("goalrollupexpirytime")]
		public System.Nullable<int> GoalRollupExpiryTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("goalrollupexpirytime");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("GoalRollupExpiryTime", "goalrollupexpirytime", value);
			}
		}
		
		/// <summary>
		/// Liczba godzin między zadaniami automatycznego zestawiania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("goalrollupfrequency")]
		public System.Nullable<int> GoalRollupFrequency
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("goalrollupfrequency");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("GoalRollupFrequency", "goalrollupfrequency", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("grantaccesstonetworkservice")]
		public System.Nullable<bool> GrantAccessToNetworkService
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("grantaccesstonetworkservice");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("GrantAccessToNetworkService", "grantaccesstonetworkservice", value);
			}
		}
		
		/// <summary>
		/// Maksymalna dozwolona różnica liczby słów kluczowych tematu na potrzeby określania korelacji wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("hashdeltasubjectcount")]
		public System.Nullable<int> HashDeltaSubjectCount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("hashdeltasubjectcount");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("HashDeltaSubjectCount", "hashdeltasubjectcount", value);
			}
		}
		
		/// <summary>
		/// Słowa kluczowe tematu filtru
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("hashfilterkeywords")]
		public string HashFilterKeywords
		{
			get
			{
				return this.GetAttributeValue<string>("hashfilterkeywords");
			}
			set
			{
				this.SetAttributeValue<string>("HashFilterKeywords", "hashfilterkeywords", value);
			}
		}
		
		/// <summary>
		/// Maksymalna liczba słów kluczowych tematu lub adresatów używanych na potrzeby korelacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("hashmaxcount")]
		public System.Nullable<int> HashMaxCount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("hashmaxcount");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("HashMaxCount", "hashmaxcount", value);
			}
		}
		
		/// <summary>
		/// Minimalna liczba adresatów wymagana do określenia korelacji wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("hashminaddresscount")]
		public System.Nullable<int> HashMinAddressCount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("hashminaddresscount");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("HashMinAddressCount", "hashminaddresscount", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy powinny być śledzone przychodzące wiadomości e-mail wysłane przez wewnętrznych użytkowników lub kolejki programu Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ignoreinternalemail")]
		public System.Nullable<bool> IgnoreInternalEmail
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ignoreinternalemail");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IgnoreInternalEmail", "ignoreinternalemail", value);
			}
		}
		
		/// <summary>
		/// Początkowa wersja organizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("initialversion")]
		public string InitialVersion
		{
			get
			{
				return this.GetAttributeValue<string>("initialversion");
			}
			set
			{
				this.SetAttributeValue<string>("InitialVersion", "initialversion", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika integracyjnego w organizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("integrationuserid")]
		public System.Nullable<System.Guid> IntegrationUserId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("integrationuserid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("IntegrationUserId", "integrationuserid", value);
			}
		}
		
		/// <summary>
		/// Prefiks używany we wszystkich numerach faktur w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("invoiceprefix")]
		public string InvoicePrefix
		{
			get
			{
				return this.GetAttributeValue<string>("invoiceprefix");
			}
			set
			{
				this.SetAttributeValue<string>("InvoicePrefix", "invoiceprefix", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy jest włączone ładowanie programu Microsoft Dynamics CRM w oknie przeglądarki pozbawionym pasków adresu, narzędzi i menu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isappmode")]
		public System.Nullable<bool> IsAppMode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isappmode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsAppMode", "isappmode", value);
			}
		}
		
		/// <summary>
		/// Włącz lub wyłącz przeprowadzanie inspekcji zmian.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isauditenabled")]
		public System.Nullable<bool> IsAuditEnabled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isauditenabled");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsAuditEnabled", "isauditenabled", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy organizacja jest wyłączona.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isdisabled")]
		public System.Nullable<bool> IsDisabled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isdisabled");
			}
		}
		
		/// <summary>
		/// Wskazuje, czy jest włączone wykrywanie duplikatów rekordów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isduplicatedetectionenabled")]
		public System.Nullable<bool> IsDuplicateDetectionEnabled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isduplicatedetectionenabled");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsDuplicateDetectionEnabled", "isduplicatedetectionenabled", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy jest włączone wykrywanie duplikatów rekordów podczas importu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isduplicatedetectionenabledforimport")]
		public System.Nullable<bool> IsDuplicateDetectionEnabledForImport
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isduplicatedetectionenabledforimport");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsDuplicateDetectionEnabledForImport", "isduplicatedetectionenabledforimport", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy jest włączone wykrywanie duplikatów rekordów podczas synchronizacji w trybie offline.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isduplicatedetectionenabledforofflinesync")]
		public System.Nullable<bool> IsDuplicateDetectionEnabledForOfflineSync
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isduplicatedetectionenabledforofflinesync");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsDuplicateDetectionEnabledForOfflineSync", "isduplicatedetectionenabledforofflinesync", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy jest włączone wykrywanie duplikatów podczas operacji tworzenia lub aktualizacji w trybie online.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isduplicatedetectionenabledforonlinecreateupdate")]
		public System.Nullable<bool> IsDuplicateDetectionEnabledForOnlineCreateUpdate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isduplicatedetectionenabledforonlinecreateupdate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsDuplicateDetectionEnabledForOnlineCreateUpdate", "isduplicatedetectionenabledforonlinecreateupdate", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy okres obrachunkowy jest wyświetlany jako numer miesiąca.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isfiscalperiodmonthbased")]
		public System.Nullable<bool> IsFiscalPeriodMonthBased
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isfiscalperiodmonthbased");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsFiscalPeriodMonthBased", "isfiscalperiodmonthbased", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy obecność dla wiadomości błyskawicznych jest włączona.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ispresenceenabled")]
		public System.Nullable<bool> IsPresenceEnabled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ispresenceenabled");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsPresenceEnabled", "ispresenceenabled", value);
			}
		}
		
		/// <summary>
		/// Włącz integrację przetwarzania zamówień sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("issopintegrationenabled")]
		public System.Nullable<bool> IsSOPIntegrationEnabled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("issopintegrationenabled");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsSOPIntegrationEnabled", "issopintegrationenabled", value);
			}
		}
		
		/// <summary>
		/// Włączanie lub wyłączanie inspekcji dostępu użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isuseraccessauditenabled")]
		public System.Nullable<bool> IsUserAccessAuditEnabled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isuseraccessauditenabled");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsUserAccessAuditEnabled", "isuseraccessauditenabled", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy jest włączone ładowanie programu Microsoft Dynamics CRM w oknie przeglądarki pozbawionym pasków adresu, narzędzi i menu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isvintegrationcode")]
		[System.ObsoleteAttribute()]
		public System.Nullable<int> ISVIntegrationCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("isvintegrationcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ISVIntegrationCode", "isvintegrationcode", value);
			}
		}
		
		/// <summary>
		/// Prefiks używany dla wszystkich artykułów w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("kbprefix")]
		public string KbPrefix
		{
			get
			{
				return this.GetAttributeValue<string>("kbprefix");
			}
			set
			{
				this.SetAttributeValue<string>("KbPrefix", "kbprefix", value);
			}
		}
		
		/// <summary>
		/// Język preferowany w organizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("languagecode")]
		public System.Nullable<int> LanguageCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("languagecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("LanguageCode", "languagecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator ustawień regionalnych organizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("localeid")]
		public System.Nullable<int> LocaleId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("localeid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("LocaleId", "localeid", value);
			}
		}
		
		/// <summary>
		/// Informacje dotyczące sposobu wyświetlania formatu daty długiej w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("longdateformatcode")]
		public System.Nullable<int> LongDateFormatCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("longdateformatcode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("LongDateFormatCode", "longdateformatcode", value);
			}
		}
		
		/// <summary>
		/// Maksymalny czas trwania terminu wyrażony w dniach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("maxappointmentdurationdays")]
		public System.Nullable<int> MaxAppointmentDurationDays
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("maxappointmentdurationdays");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("MaxAppointmentDurationDays", "maxappointmentdurationdays", value);
			}
		}
		
		/// <summary>
		/// Maksymalny numer śledzenia przed ich ponownym użyciem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("maximumtrackingnumber")]
		public System.Nullable<int> MaximumTrackingNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("maximumtrackingnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("MaximumTrackingNumber", "maximumtrackingnumber", value);
			}
		}
		
		/// <summary>
		/// Maksymalna liczba rekordów, które zostaną wyeksportowane do statycznego arkusza programu Excel pakietu Microsoft Office podczas eksportowania z siatki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("maxrecordsforexporttoexcel")]
		public System.Nullable<int> MaxRecordsForExportToExcel
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("maxrecordsforexporttoexcel");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("MaxRecordsForExportToExcel", "maxrecordsforexporttoexcel", value);
			}
		}
		
		/// <summary>
		/// Maksymalna liczba rekordów wyszukiwania i listy wyboru, które użytkownik może wybrać do filtrowania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("maxrecordsforlookupfilters")]
		public System.Nullable<int> MaxRecordsForLookupFilters
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("maxrecordsforlookupfilters");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("MaxRecordsForLookupFilters", "maxrecordsforlookupfilters", value);
			}
		}
		
		/// <summary>
		/// Maksymalny dozwolony rozmiar załącznika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("maxuploadfilesize")]
		public System.Nullable<int> MaxUploadFileSize
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("maxuploadfilesize");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("MaxUploadFileSize", "maxuploadfilesize", value);
			}
		}
		
		/// <summary>
		/// Normalna częstotliwość sondowania używana przy synchronizacji książki adresowej w programie Outlook pakietu Microsoft Office.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("minaddressbooksyncinterval")]
		public System.Nullable<int> MinAddressBookSyncInterval
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("minaddressbooksyncinterval");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("MinAddressBookSyncInterval", "minaddressbooksyncinterval", value);
			}
		}
		
		/// <summary>
		/// Normalna częstotliwość sondowania używana przy synchronizacji w trybie offline w tle w programie Outlook pakietu Microsoft Office.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("minofflinesyncinterval")]
		public System.Nullable<int> MinOfflineSyncInterval
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("minofflinesyncinterval");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("MinOfflineSyncInterval", "minofflinesyncinterval", value);
			}
		}
		
		/// <summary>
		/// Minimalny dozwolony czas między zaplanowanymi operacjami synchronizacji programu Outlook.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("minoutlooksyncinterval")]
		public System.Nullable<int> MinOutlookSyncInterval
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("minoutlooksyncinterval");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("MinOutlookSyncInterval", "minoutlooksyncinterval", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował organizację.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji organizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował organizację.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa organizacji. Nazwa jest ustawiana podczas instalacji programu Microsoft CRM i nie powinna być zmieniana.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Informacje dotyczące sposobu wyświetlania ujemnych wartości walutowych w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("negativecurrencyformatcode")]
		public System.Nullable<int> NegativeCurrencyFormatCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("negativecurrencyformatcode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("NegativeCurrencyFormatCode", "negativecurrencyformatcode", value);
			}
		}
		
		/// <summary>
		/// Informacja dotycząca sposobu wyświetlania liczb ujemnych w programie Microsoft CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("negativeformatcode")]
		public System.Nullable<int> NegativeFormatCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("negativeformatcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("NegativeFormatCode", "negativeformatcode", value);
			}
		}
		
		/// <summary>
		/// Następny token do umieszczenia w temacie wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("nexttrackingnumber")]
		public System.Nullable<int> NextTrackingNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("nexttrackingnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("NextTrackingNumber", "nexttrackingnumber", value);
			}
		}
		
		/// <summary>
		/// Określenie sposobu wyświetlania liczb w programie Microsoft CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("numberformat")]
		public string NumberFormat
		{
			get
			{
				return this.GetAttributeValue<string>("numberformat");
			}
			set
			{
				this.SetAttributeValue<string>("NumberFormat", "numberformat", value);
			}
		}
		
		/// <summary>
		/// Określa sposób grupowania liczb w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("numbergroupformat")]
		public string NumberGroupFormat
		{
			get
			{
				return this.GetAttributeValue<string>("numbergroupformat");
			}
			set
			{
				this.SetAttributeValue<string>("NumberGroupFormat", "numbergroupformat", value);
			}
		}
		
		/// <summary>
		/// Symbol rozdzielania liczb, który będzie używany w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("numberseparator")]
		public string NumberSeparator
		{
			get
			{
				return this.GetAttributeValue<string>("numberseparator");
			}
			set
			{
				this.SetAttributeValue<string>("NumberSeparator", "numberseparator", value);
			}
		}
		
		/// <summary>
		/// Prefiks używany we wszystkich zamówieniach w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("orderprefix")]
		public string OrderPrefix
		{
			get
			{
				return this.GetAttributeValue<string>("orderprefix");
			}
			set
			{
				this.SetAttributeValue<string>("OrderPrefix", "orderprefix", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public System.Nullable<System.Guid> OrganizationId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("organizationid");
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				base.Id = value;
			}
		}
		
		/// <summary>
		/// Ustawienia organizacji przechowywane w bazie danych organizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("orgdborgsettings")]
		public string OrgDbOrgSettings
		{
			get
			{
				return this.GetAttributeValue<string>("orgdborgsettings");
			}
			set
			{
				this.SetAttributeValue<string>("OrgDbOrgSettings", "orgdborgsettings", value);
			}
		}
		
		/// <summary>
		/// Prefiks stosowany do przeanalizowanych kolumn tabel.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parsedtablecolumnprefix")]
		public string ParsedTableColumnPrefix
		{
			get
			{
				return this.GetAttributeValue<string>("parsedtablecolumnprefix");
			}
		}
		
		/// <summary>
		/// Prefiks stosowany do przeanalizowanych tabel.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parsedtableprefix")]
		public string ParsedTablePrefix
		{
			get
			{
				return this.GetAttributeValue<string>("parsedtableprefix");
			}
		}
		
		/// <summary>
		/// Określa maksymalną liczbę ubiegłych miesięcy, dla których można tworzyć działania cykliczne.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pastexpansionwindow")]
		public System.Nullable<int> PastExpansionWindow
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("pastexpansionwindow");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("PastExpansionWindow", "pastexpansionwindow", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("picture")]
		public string Picture
		{
			get
			{
				return this.GetAttributeValue<string>("picture");
			}
			set
			{
				this.SetAttributeValue<string>("Picture", "picture", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pinpointlanguagecode")]
		public System.Nullable<int> PinpointLanguageCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("pinpointlanguagecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("PinpointLanguageCode", "pinpointlanguagecode", value);
			}
		}
		
		/// <summary>
		/// Określenie godzin popołudniowych używane w całym programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pmdesignator")]
		public string PMDesignator
		{
			get
			{
				return this.GetAttributeValue<string>("pmdesignator");
			}
			set
			{
				this.SetAttributeValue<string>("PMDesignator", "pmdesignator", value);
			}
		}
		
		/// <summary>
		/// Liczba cyfr po przecinku, która może być stosowana w zapisie ceny.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pricingdecimalprecision")]
		public System.Nullable<int> PricingDecimalPrecision
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("pricingdecimalprecision");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("PricingDecimalPrecision", "pricingdecimalprecision", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator domyślnego uprawnienia użytkowników w organizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("privilegeusergroupid")]
		public System.Nullable<System.Guid> PrivilegeUserGroupId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("privilegeusergroupid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("PrivilegeUserGroupId", "privilegeusergroupid", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("privreportinggroupid")]
		public System.Nullable<System.Guid> PrivReportingGroupId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("privreportinggroupid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("PrivReportingGroupId", "privreportinggroupid", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("privreportinggroupname")]
		public string PrivReportingGroupName
		{
			get
			{
				return this.GetAttributeValue<string>("privreportinggroupname");
			}
			set
			{
				this.SetAttributeValue<string>("PrivReportingGroupName", "privreportinggroupname", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy dla tej organizacji powinien być włączony limit szybkiego szukania rekordów (pozwala na szybsze wykonywanie zapytań szybkiego szukania, ale uniemożliwia zbyt szerokie wyszukiwanie).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quickfindrecordlimitenabled")]
		public System.Nullable<bool> QuickFindRecordLimitEnabled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("quickfindrecordlimitenabled");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("QuickFindRecordLimitEnabled", "quickfindrecordlimitenabled", value);
			}
		}
		
		/// <summary>
		/// Prefiks używany we wszystkich ofertach w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quoteprefix")]
		public string QuotePrefix
		{
			get
			{
				return this.GetAttributeValue<string>("quoteprefix");
			}
			set
			{
				this.SetAttributeValue<string>("QuotePrefix", "quoteprefix", value);
			}
		}
		
		/// <summary>
		/// Określa wartość domyślną pola liczby wystąpień w oknie dialogowym wystąpień.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("recurrencedefaultnumberofoccurrences")]
		public System.Nullable<int> RecurrenceDefaultNumberOfOccurrences
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("recurrencedefaultnumberofoccurrences");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("RecurrenceDefaultNumberOfOccurrences", "recurrencedefaultnumberofoccurrences", value);
			}
		}
		
		/// <summary>
		/// Określa interwał (wyrażony w sekundach) wstrzymania zadania rozszerzenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("recurrenceexpansionjobbatchinterval")]
		public System.Nullable<int> RecurrenceExpansionJobBatchInterval
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("recurrenceexpansionjobbatchinterval");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("RecurrenceExpansionJobBatchInterval", "recurrenceexpansionjobbatchinterval", value);
			}
		}
		
		/// <summary>
		/// Określa liczbę wystąpień tworzonych jednorazowo w zadaniu na żądanie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("recurrenceexpansionjobbatchsize")]
		public System.Nullable<int> RecurrenceExpansionJobBatchSize
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("recurrenceexpansionjobbatchsize");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("RecurrenceExpansionJobBatchSize", "recurrenceexpansionjobbatchsize", value);
			}
		}
		
		/// <summary>
		/// Określa maksymalną liczbę wystąpień tworzonych synchronicznie po utworzeniu terminu cyklicznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("recurrenceexpansionsynchcreatemax")]
		public System.Nullable<int> RecurrenceExpansionSynchCreateMax
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("recurrenceexpansionsynchcreatemax");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("RecurrenceExpansionSynchCreateMax", "recurrenceexpansionsynchcreatemax", value);
			}
		}
		
		/// <summary>
		/// Ciąg XML definiujący strukturę nawigacyjną aplikacji. Jest to mapa witryny pochodząca z uaktualnionej wcześniej wersji, używana w 3-kierunkowej operacji scalania w trakcie uaktualniania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("referencesitemapxml")]
		[System.ObsoleteAttribute()]
		public string ReferenceSiteMapXml
		{
			get
			{
				return this.GetAttributeValue<string>("referencesitemapxml");
			}
			set
			{
				this.SetAttributeValue<string>("ReferenceSiteMapXml", "referencesitemapxml", value);
			}
		}
		
		/// <summary>
		/// Flaga powodująca renderowanie treści wiadomości e-mail zawartej w formularzu sieci Web za pomocą tagu IFRAME z ustawionym atrybutem security='restricted'. Jest to zabezpieczenie dodatkowe, ale może powodować wyświetlanie monitu o podanie poświadczeń.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("rendersecureiframeforemail")]
		public System.Nullable<bool> RenderSecureIFrameForEmail
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("rendersecureiframeforemail");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("RenderSecureIFrameForEmail", "rendersecureiframeforemail", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportinggroupid")]
		public System.Nullable<System.Guid> ReportingGroupId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("reportinggroupid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("ReportingGroupId", "reportinggroupid", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportinggroupname")]
		public string ReportingGroupName
		{
			get
			{
				return this.GetAttributeValue<string>("reportinggroupname");
			}
			set
			{
				this.SetAttributeValue<string>("ReportingGroupName", "reportinggroupname", value);
			}
		}
		
		/// <summary>
		/// Lista wyboru preferencji organizacji dotyczących raportowania błędów skryptów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportscripterrors")]
		public System.Nullable<int> ReportScriptErrors
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("reportscripterrors");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ReportScriptErrors", "reportscripterrors", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy jest włączone uprawnienie wysyłania jako inny użytkownik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("requireapprovalforqueueemail")]
		public System.Nullable<bool> RequireApprovalForQueueEmail
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("requireapprovalforqueueemail");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("RequireApprovalForQueueEmail", "requireapprovalforqueueemail", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy jest włączone uprawnienie wysyłania jako inny użytkownik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("requireapprovalforuseremail")]
		public System.Nullable<bool> RequireApprovalForUserEmail
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("requireapprovalforuseremail");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("RequireApprovalForUserEmail", "requireapprovalforuseremail", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zadania importu przykładowych danych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sampledataimportid")]
		public System.Nullable<System.Guid> SampleDataImportId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("sampledataimportid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("SampleDataImportId", "sampledataimportid", value);
			}
		}
		
		/// <summary>
		/// Prefiks encji i atrybutów niestandardowych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("schemanameprefix")]
		public string SchemaNamePrefix
		{
			get
			{
				return this.GetAttributeValue<string>("schemanameprefix");
			}
			set
			{
				this.SetAttributeValue<string>("SchemaNamePrefix", "schemanameprefix", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy przy przypisaniu udostępnić poprzedniemu właścicielowi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sharetopreviousowneronassign")]
		public System.Nullable<bool> ShareToPreviousOwnerOnAssign
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("sharetopreviousowneronassign");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("ShareToPreviousOwnerOnAssign", "sharetopreviousowneronassign", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy w kalendarzach programu Microsoft CRM mają być wyświetlane numery tygodni.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("showweeknumber")]
		public System.Nullable<bool> ShowWeekNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("showweeknumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("ShowWeekNumber", "showweeknumber", value);
			}
		}
		
		/// <summary>
		/// Ciąg XML definiujący strukturę nawigacyjną aplikacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sitemapxml")]
		[System.ObsoleteAttribute()]
		public string SiteMapXml
		{
			get
			{
				return this.GetAttributeValue<string>("sitemapxml");
			}
			set
			{
				this.SetAttributeValue<string>("SiteMapXml", "sitemapxml", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sortid")]
		public System.Nullable<int> SortId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("sortid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("SortId", "sortid", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sqlaccessgroupid")]
		public System.Nullable<System.Guid> SqlAccessGroupId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("sqlaccessgroupid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("SqlAccessGroupId", "sqlaccessgroupid", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sqlaccessgroupname")]
		public string SqlAccessGroupName
		{
			get
			{
				return this.GetAttributeValue<string>("sqlaccessgroupname");
			}
			set
			{
				this.SetAttributeValue<string>("SqlAccessGroupName", "sqlaccessgroupname", value);
			}
		}
		
		/// <summary>
		/// Ustawienie kolekcji danych SQM: 0 - kolekcja wyłączona, 1 - kolekcja włączona.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sqmenabled")]
		public System.Nullable<bool> SQMEnabled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("sqmenabled");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("SQMEnabled", "sqmenabled", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika obsługi organizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("supportuserid")]
		public System.Nullable<System.Guid> SupportUserId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("supportuserid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("SupportUserId", "supportuserid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika systemowego organizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("systemuserid")]
		public System.Nullable<System.Guid> SystemUserId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("systemuserid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("SystemUserId", "systemuserid", value);
			}
		}
		
		/// <summary>
		/// Maksymalna liczba cykli agresywnego sondowania wykonywanych przy automatycznym znakowaniu wiadomości e-mail po otrzymaniu nowej wiadomości.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("tagmaxaggressivecycles")]
		public System.Nullable<int> TagMaxAggressiveCycles
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("tagmaxaggressivecycles");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TagMaxAggressiveCycles", "tagmaxaggressivecycles", value);
			}
		}
		
		/// <summary>
		/// Normalna częstotliwość sondowania używana przy automatycznym znakowaniu odbieranych wiadomości e-mail w programie Outlook.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("tagpollingperiod")]
		public System.Nullable<int> TagPollingPeriod
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("tagpollingperiod");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TagPollingPeriod", "tagpollingperiod", value);
			}
		}
		
		/// <summary>
		/// Informacja dotycząca sposobu wyświetlania godziny w programie Microsoft CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timeformatcode")]
		public System.Nullable<int> TimeFormatCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timeformatcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("TimeFormatCode", "timeformatcode", value);
			}
		}
		
		/// <summary>
		/// Tekst określający sposób wyświetlania godziny w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timeformatstring")]
		public string TimeFormatString
		{
			get
			{
				return this.GetAttributeValue<string>("timeformatstring");
			}
			set
			{
				this.SetAttributeValue<string>("TimeFormatString", "timeformatstring", value);
			}
		}
		
		/// <summary>
		/// Tekst opisujący sposób wyświetlania separatora godziny w całym programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timeseparator")]
		public string TimeSeparator
		{
			get
			{
				return this.GetAttributeValue<string>("timeseparator");
			}
			set
			{
				this.SetAttributeValue<string>("TimeSeparator", "timeseparator", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Czas stosowany przy wygasaniu tokenu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("tokenexpiry")]
		public System.Nullable<int> TokenExpiry
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("tokenexpiry");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TokenExpiry", "tokenexpiry", value);
			}
		}
		
		/// <summary>
		/// Klucz tokenu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("tokenkey")]
		public string TokenKey
		{
			get
			{
				return this.GetAttributeValue<string>("tokenkey");
			}
			set
			{
				this.SetAttributeValue<string>("TokenKey", "tokenkey", value);
			}
		}
		
		/// <summary>
		/// Lista historii śledzenia prefiksów tokenu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("trackingprefix")]
		public string TrackingPrefix
		{
			get
			{
				return this.GetAttributeValue<string>("trackingprefix");
			}
			set
			{
				this.SetAttributeValue<string>("TrackingPrefix", "trackingprefix", value);
			}
		}
		
		/// <summary>
		/// Numer podstawowy używany do przydzielania osobnych identyfikatorów śledzenia użytkownikom należącym do różnych wdrożeń.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("trackingtokenidbase")]
		public System.Nullable<int> TrackingTokenIdBase
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("trackingtokenidbase");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TrackingTokenIdBase", "trackingtokenidbase", value);
			}
		}
		
		/// <summary>
		/// Liczba cyfr stanowiących identyfikator tokenu śledzenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("trackingtokeniddigits")]
		public System.Nullable<int> TrackingTokenIdDigits
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("trackingtokeniddigits");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TrackingTokenIdDigits", "trackingtokeniddigits", value);
			}
		}
		
		/// <summary>
		/// Liczba znaków dołączanych do numerów faktur, ofert i zamówień.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("uniquespecifierlength")]
		public System.Nullable<int> UniqueSpecifierLength
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("uniquespecifierlength");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UniqueSpecifierLength", "uniquespecifierlength", value);
			}
		}
		
		/// <summary>
		/// Interwał sprawdzania dostępu użytkownika w ramach inspekcji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("useraccessauditinginterval")]
		public System.Nullable<int> UserAccessAuditingInterval
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("useraccessauditinginterval");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UserAccessAuditingInterval", "useraccessauditinginterval", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy formularz odczytu powinien być włączony dla tej organizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("usereadform")]
		public System.Nullable<bool> UseReadForm
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("usereadform");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("UseReadForm", "usereadform", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator domyślnej grupy użytkowników w organizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("usergroupid")]
		public System.Nullable<System.Guid> UserGroupId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("usergroupid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("UserGroupId", "usergroupid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Mieszanie pliku konfiguracji objaśnień V3.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("v3calloutconfighash")]
		public string V3CalloutConfigHash
		{
			get
			{
				return this.GetAttributeValue<string>("v3calloutconfighash");
			}
		}
		
		/// <summary>
		/// Numer wersji organizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// Pierwszy dzień tygodnia określony w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("weekstartdaycode")]
		public System.Nullable<int> WeekStartDayCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("weekstartdaycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("WeekStartDayCode", "weekstartdaycode", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca sposób określania pierwszego tygodnia roku w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("yearstartweekcode")]
		public System.Nullable<int> YearStartWeekCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("yearstartweekcode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("YearStartWeekCode", "yearstartweekcode", value);
			}
		}
		
		/// <summary>
		/// 1:N lk_fieldsecurityprofile_organizationid
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fieldsecurityprofile_organizationid")]
		public System.Collections.Generic.IEnumerable<Xrm.FieldSecurityProfile> lk_fieldsecurityprofile_organizationid
		{
			get
			{
				return this.GetRelatedEntities<Xrm.FieldSecurityProfile>("lk_fieldsecurityprofile_organizationid", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.FieldSecurityProfile>("lk_fieldsecurityprofile_organizationid", "lk_fieldsecurityprofile_organizationid", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_principalobjectattributeaccess_organizationid
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_principalobjectattributeaccess_organizationid")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> lk_principalobjectattributeaccess_organizationid
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("lk_principalobjectattributeaccess_organizationid", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("lk_principalobjectattributeaccess_organizationid", "lk_principalobjectattributeaccess_organizationid", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Organization_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Organization_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Organization_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Organization_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Organization_AsyncOperations", "Organization_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_attributemap
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_attributemap")]
		public System.Collections.Generic.IEnumerable<Xrm.AttributeMap> organization_attributemap
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AttributeMap>("organization_attributemap", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AttributeMap>("organization_attributemap", "organization_attributemap", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Organization_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Organization_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Organization_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Organization_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Organization_BulkDeleteFailures", "Organization_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_business_unit_news_articles
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_business_unit_news_articles")]
		public System.Collections.Generic.IEnumerable<Xrm.BusinessUnitNewsArticle> organization_business_unit_news_articles
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BusinessUnitNewsArticle>("organization_business_unit_news_articles", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BusinessUnitNewsArticle>("organization_business_unit_news_articles", "organization_business_unit_news_articles", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_business_units
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_business_units")]
		public System.Collections.Generic.IEnumerable<Xrm.BusinessUnit> organization_business_units
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BusinessUnit>("organization_business_units", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BusinessUnit>("organization_business_units", "organization_business_units", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_calendars
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_calendars")]
		public System.Collections.Generic.IEnumerable<Xrm.Calendar> organization_calendars
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Calendar>("organization_calendars", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Calendar>("organization_calendars", "organization_calendars", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_competitors
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_competitors")]
		public System.Collections.Generic.IEnumerable<Xrm.Competitor> organization_competitors
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Competitor>("organization_competitors", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Competitor>("organization_competitors", "organization_competitors", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_connection_roles
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_connection_roles")]
		public System.Collections.Generic.IEnumerable<Xrm.ConnectionRole> organization_connection_roles
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ConnectionRole>("organization_connection_roles", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ConnectionRole>("organization_connection_roles", "organization_connection_roles", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_constraint_based_groups
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_constraint_based_groups")]
		public System.Collections.Generic.IEnumerable<Xrm.ConstraintBasedGroup> organization_constraint_based_groups
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ConstraintBasedGroup>("organization_constraint_based_groups", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ConstraintBasedGroup>("organization_constraint_based_groups", "organization_constraint_based_groups", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_contract_templates
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_contract_templates")]
		public System.Collections.Generic.IEnumerable<Xrm.ContractTemplate> organization_contract_templates
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ContractTemplate>("organization_contract_templates", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ContractTemplate>("organization_contract_templates", "organization_contract_templates", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_custom_displaystrings
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_custom_displaystrings")]
		public System.Collections.Generic.IEnumerable<Xrm.DisplayString> organization_custom_displaystrings
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DisplayString>("organization_custom_displaystrings", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DisplayString>("organization_custom_displaystrings", "organization_custom_displaystrings", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_discount_types
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_discount_types")]
		public System.Collections.Generic.IEnumerable<Xrm.DiscountType> organization_discount_types
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DiscountType>("organization_discount_types", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DiscountType>("organization_discount_types", "organization_discount_types", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_entitymap
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_entitymap")]
		public System.Collections.Generic.IEnumerable<Xrm.EntityMap> organization_entitymap
		{
			get
			{
				return this.GetRelatedEntities<Xrm.EntityMap>("organization_entitymap", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.EntityMap>("organization_entitymap", "organization_entitymap", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_equipment
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_equipment")]
		public System.Collections.Generic.IEnumerable<Xrm.Equipment> organization_equipment
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Equipment>("organization_equipment", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Equipment>("organization_equipment", "organization_equipment", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_importjob
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_importjob")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportJob> organization_importjob
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportJob>("organization_importjob", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportJob>("organization_importjob", "organization_importjob", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_isvconfigs
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_isvconfigs")]
		public System.Collections.Generic.IEnumerable<Xrm.IsvConfig> organization_isvconfigs
		{
			get
			{
				return this.GetRelatedEntities<Xrm.IsvConfig>("organization_isvconfigs", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.IsvConfig>("organization_isvconfigs", "organization_isvconfigs", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_kb_article_templates
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_kb_article_templates")]
		public System.Collections.Generic.IEnumerable<Xrm.KbArticleTemplate> organization_kb_article_templates
		{
			get
			{
				return this.GetRelatedEntities<Xrm.KbArticleTemplate>("organization_kb_article_templates", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.KbArticleTemplate>("organization_kb_article_templates", "organization_kb_article_templates", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_kb_articles
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_kb_articles")]
		public System.Collections.Generic.IEnumerable<Xrm.KbArticle> organization_kb_articles
		{
			get
			{
				return this.GetRelatedEntities<Xrm.KbArticle>("organization_kb_articles", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.KbArticle>("organization_kb_articles", "organization_kb_articles", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_licenses
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_licenses")]
		public System.Collections.Generic.IEnumerable<Xrm.License> organization_licenses
		{
			get
			{
				return this.GetRelatedEntities<Xrm.License>("organization_licenses", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.License>("organization_licenses", "organization_licenses", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_metric
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_metric")]
		public System.Collections.Generic.IEnumerable<Xrm.Metric> organization_metric
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Metric>("organization_metric", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Metric>("organization_metric", "organization_metric", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_msdyn_postconfig
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_msdyn_postconfig")]
		public System.Collections.Generic.IEnumerable<Xrm.msdyn_PostConfig> organization_msdyn_postconfig
		{
			get
			{
				return this.GetRelatedEntities<Xrm.msdyn_PostConfig>("organization_msdyn_postconfig", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.msdyn_PostConfig>("organization_msdyn_postconfig", "organization_msdyn_postconfig", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_msdyn_postruleconfig
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_msdyn_postruleconfig")]
		public System.Collections.Generic.IEnumerable<Xrm.msdyn_PostRuleConfig> organization_msdyn_postruleconfig
		{
			get
			{
				return this.GetRelatedEntities<Xrm.msdyn_PostRuleConfig>("organization_msdyn_postruleconfig", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.msdyn_PostRuleConfig>("organization_msdyn_postruleconfig", "organization_msdyn_postruleconfig", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_pluginassembly
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_pluginassembly")]
		public System.Collections.Generic.IEnumerable<Xrm.PluginAssembly> organization_pluginassembly
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PluginAssembly>("organization_pluginassembly", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PluginAssembly>("organization_pluginassembly", "organization_pluginassembly", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_plugintype
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_plugintype")]
		public System.Collections.Generic.IEnumerable<Xrm.PluginType> organization_plugintype
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PluginType>("organization_plugintype", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PluginType>("organization_plugintype", "organization_plugintype", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_plugintypestatistic
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_plugintypestatistic")]
		public System.Collections.Generic.IEnumerable<Xrm.PluginTypeStatistic> organization_plugintypestatistic
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PluginTypeStatistic>("organization_plugintypestatistic", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PluginTypeStatistic>("organization_plugintypestatistic", "organization_plugintypestatistic", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_post
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_post")]
		public System.Collections.Generic.IEnumerable<Xrm.Post> organization_post
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Post>("organization_post", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Post>("organization_post", "organization_post", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_PostComment
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_PostComment")]
		public System.Collections.Generic.IEnumerable<Xrm.PostComment> organization_PostComment
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PostComment>("organization_PostComment", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PostComment>("organization_PostComment", "organization_PostComment", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_postlike
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_postlike")]
		public System.Collections.Generic.IEnumerable<Xrm.PostLike> organization_postlike
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PostLike>("organization_postlike", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PostLike>("organization_postlike", "organization_postlike", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_price_levels
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_price_levels")]
		public System.Collections.Generic.IEnumerable<Xrm.PriceLevel> organization_price_levels
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PriceLevel>("organization_price_levels", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PriceLevel>("organization_price_levels", "organization_price_levels", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_products
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_products")]
		public System.Collections.Generic.IEnumerable<Xrm.Product> organization_products
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Product>("organization_products", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Product>("organization_products", "organization_products", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_publisher
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_publisher")]
		public System.Collections.Generic.IEnumerable<Xrm.Publisher> organization_publisher
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Publisher>("organization_publisher", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Publisher>("organization_publisher", "organization_publisher", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_queueitems
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_queueitems")]
		public System.Collections.Generic.IEnumerable<Xrm.QueueItem> organization_queueitems
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QueueItem>("organization_queueitems", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QueueItem>("organization_queueitems", "organization_queueitems", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_queues
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_queues")]
		public System.Collections.Generic.IEnumerable<Xrm.Queue> organization_queues
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Queue>("organization_queues", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Queue>("organization_queues", "organization_queues", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_relationship_roles
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_relationship_roles")]
		public System.Collections.Generic.IEnumerable<Xrm.RelationshipRole> organization_relationship_roles
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RelationshipRole>("organization_relationship_roles", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RelationshipRole>("organization_relationship_roles", "organization_relationship_roles", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_resource_groups
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_resource_groups")]
		public System.Collections.Generic.IEnumerable<Xrm.ResourceGroup> organization_resource_groups
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ResourceGroup>("organization_resource_groups", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ResourceGroup>("organization_resource_groups", "organization_resource_groups", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_resource_specs
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_resource_specs")]
		public System.Collections.Generic.IEnumerable<Xrm.ResourceSpec> organization_resource_specs
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ResourceSpec>("organization_resource_specs", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ResourceSpec>("organization_resource_specs", "organization_resource_specs", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_resources
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_resources")]
		public System.Collections.Generic.IEnumerable<Xrm.Resource> organization_resources
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Resource>("organization_resources", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Resource>("organization_resources", "organization_resources", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_ribbon_customization
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_ribbon_customization")]
		public System.Collections.Generic.IEnumerable<Xrm.RibbonCustomization> organization_ribbon_customization
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RibbonCustomization>("organization_ribbon_customization", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RibbonCustomization>("organization_ribbon_customization", "organization_ribbon_customization", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_roles
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_roles")]
		public System.Collections.Generic.IEnumerable<Xrm.Role> organization_roles
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Role>("organization_roles", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Role>("organization_roles", "organization_roles", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_sales_literature
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_sales_literature")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesLiterature> organization_sales_literature
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesLiterature>("organization_sales_literature", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesLiterature>("organization_sales_literature", "organization_sales_literature", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_saved_queries
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_saved_queries")]
		public System.Collections.Generic.IEnumerable<Xrm.SavedQuery> organization_saved_queries
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SavedQuery>("organization_saved_queries", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SavedQuery>("organization_saved_queries", "organization_saved_queries", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_saved_query_visualizations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_saved_query_visualizations")]
		public System.Collections.Generic.IEnumerable<Xrm.SavedQueryVisualization> organization_saved_query_visualizations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SavedQueryVisualization>("organization_saved_query_visualizations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SavedQueryVisualization>("organization_saved_query_visualizations", "organization_saved_query_visualizations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_sdkmessage
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_sdkmessage")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessage> organization_sdkmessage
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessage>("organization_sdkmessage", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessage>("organization_sdkmessage", "organization_sdkmessage", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_sdkmessagefilter
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_sdkmessagefilter")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageFilter> organization_sdkmessagefilter
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageFilter>("organization_sdkmessagefilter", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageFilter>("organization_sdkmessagefilter", "organization_sdkmessagefilter", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_sdkmessagepair
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_sdkmessagepair")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessagePair> organization_sdkmessagepair
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessagePair>("organization_sdkmessagepair", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessagePair>("organization_sdkmessagepair", "organization_sdkmessagepair", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_sdkmessageprocessingstep
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_sdkmessageprocessingstep")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageProcessingStep> organization_sdkmessageprocessingstep
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageProcessingStep>("organization_sdkmessageprocessingstep", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageProcessingStep>("organization_sdkmessageprocessingstep", "organization_sdkmessageprocessingstep", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_sdkmessageprocessingstepimage
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_sdkmessageprocessingstepimage")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageProcessingStepImage> organization_sdkmessageprocessingstepimage
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageProcessingStepImage>("organization_sdkmessageprocessingstepimage", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageProcessingStepImage>("organization_sdkmessageprocessingstepimage", "organization_sdkmessageprocessingstepimage", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_sdkmessageprocessingstepsecureconfig
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_sdkmessageprocessingstepsecureconfig")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageProcessingStepSecureConfig> organization_sdkmessageprocessingstepsecureconfig
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageProcessingStepSecureConfig>("organization_sdkmessageprocessingstepsecureconfig", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageProcessingStepSecureConfig>("organization_sdkmessageprocessingstepsecureconfig", "organization_sdkmessageprocessingstepsecureconfig", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_sdkmessagerequest
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_sdkmessagerequest")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageRequest> organization_sdkmessagerequest
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageRequest>("organization_sdkmessagerequest", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageRequest>("organization_sdkmessagerequest", "organization_sdkmessagerequest", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_sdkmessagerequestfield
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_sdkmessagerequestfield")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageRequestField> organization_sdkmessagerequestfield
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageRequestField>("organization_sdkmessagerequestfield", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageRequestField>("organization_sdkmessagerequestfield", "organization_sdkmessagerequestfield", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_sdkmessageresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_sdkmessageresponse")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageResponse> organization_sdkmessageresponse
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageResponse>("organization_sdkmessageresponse", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageResponse>("organization_sdkmessageresponse", "organization_sdkmessageresponse", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_sdkmessageresponsefield
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_sdkmessageresponsefield")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageResponseField> organization_sdkmessageresponsefield
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageResponseField>("organization_sdkmessageresponsefield", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageResponseField>("organization_sdkmessageresponsefield", "organization_sdkmessageresponsefield", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_serviceendpoint
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_serviceendpoint")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceEndpoint> organization_serviceendpoint
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceEndpoint>("organization_serviceendpoint", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceEndpoint>("organization_serviceendpoint", "organization_serviceendpoint", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_services
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_services")]
		public System.Collections.Generic.IEnumerable<Xrm.Service> organization_services
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Service>("organization_services", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Service>("organization_services", "organization_services", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_sitemap
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_sitemap")]
		public System.Collections.Generic.IEnumerable<Xrm.SiteMap> organization_sitemap
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SiteMap>("organization_sitemap", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SiteMap>("organization_sitemap", "organization_sitemap", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_sites
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_sites")]
		public System.Collections.Generic.IEnumerable<Xrm.Site> organization_sites
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Site>("organization_sites", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Site>("organization_sites", "organization_sites", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_solution
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_solution")]
		public System.Collections.Generic.IEnumerable<Xrm.Solution> organization_solution
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Solution>("organization_solution", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Solution>("organization_solution", "organization_solution", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_subjects
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_subjects")]
		public System.Collections.Generic.IEnumerable<Xrm.Subject> organization_subjects
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Subject>("organization_subjects", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Subject>("organization_subjects", "organization_subjects", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_system_users
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_system_users")]
		public System.Collections.Generic.IEnumerable<Xrm.SystemUser> organization_system_users
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SystemUser>("organization_system_users", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SystemUser>("organization_system_users", "organization_system_users", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_systemforms
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_systemforms")]
		public System.Collections.Generic.IEnumerable<Xrm.SystemForm> organization_systemforms
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SystemForm>("organization_systemforms", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SystemForm>("organization_systemforms", "organization_systemforms", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_teams
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_teams")]
		public System.Collections.Generic.IEnumerable<Xrm.Team> organization_teams
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Team>("organization_teams", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Team>("organization_teams", "organization_teams", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_territories
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_territories")]
		public System.Collections.Generic.IEnumerable<Xrm.Territory> organization_territories
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Territory>("organization_territories", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Territory>("organization_territories", "organization_territories", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_transactioncurrencies
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_transactioncurrencies")]
		public System.Collections.Generic.IEnumerable<Xrm.TransactionCurrency> organization_transactioncurrencies
		{
			get
			{
				return this.GetRelatedEntities<Xrm.TransactionCurrency>("organization_transactioncurrencies", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.TransactionCurrency>("organization_transactioncurrencies", "organization_transactioncurrencies", null, value);
			}
		}
		
		/// <summary>
		/// 1:N organization_uof_schedules
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_uof_schedules")]
		public System.Collections.Generic.IEnumerable<Xrm.UoMSchedule> organization_uof_schedules
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UoMSchedule>("organization_uof_schedules", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UoMSchedule>("organization_uof_schedules", "organization_uof_schedules", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_organization
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_organization")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_organization
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_organization", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_organization", "userentityinstancedata_organization", null, value);
			}
		}
		
		/// <summary>
		/// 1:N webresource_organization
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("webresource_organization")]
		public System.Collections.Generic.IEnumerable<Xrm.WebResource> webresource_organization
		{
			get
			{
				return this.GetRelatedEntities<Xrm.WebResource>("webresource_organization", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.WebResource>("webresource_organization", "webresource_organization", null, value);
			}
		}
		
		/// <summary>
		/// N:1 basecurrency_organization
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("basecurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("basecurrency_organization")]
		public Xrm.TransactionCurrency basecurrency_organization
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("basecurrency_organization", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("basecurrency_organization", "basecurrency_organization", null, value);
			}
		}
		
		/// <summary>
		/// N:1 calendar_organization
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessclosurecalendarid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("calendar_organization")]
		public Xrm.Calendar calendar_organization
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Calendar>("calendar_organization", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Calendar>("calendar_organization", "calendar_organization", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_organization_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_organization_createdonbehalfby")]
		public Xrm.SystemUser lk_organization_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_organization_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_organization_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_organization_modifiedonbehalfby")]
		public Xrm.SystemUser lk_organization_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_organization_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_organizationbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_organizationbase_createdby")]
		public Xrm.SystemUser lk_organizationbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_organizationbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_organizationbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_organizationbase_modifiedby")]
		public Xrm.SystemUser lk_organizationbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_organizationbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 Template_Organization
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("acknowledgementtemplateid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Template_Organization")]
		public Xrm.Template Template_Organization
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Template>("Template_Organization", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Template>("Template_Organization", "Template_Organization", null, value);
			}
		}
	}
	
	/// <summary>
	/// Dostosowania encji obejmujące układ formularzy i ikony. Dotyczy wersji bieżącej i wcześniejszych.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("organizationui")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("OrganizationUISet")]
	public partial class OrganizationUI : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public OrganizationUI() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "organizationui";
		
		public const int EntityTypeCode = 1021;
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fieldxml")]
		public string FieldXml
		{
			get
			{
				return this.GetAttributeValue<string>("fieldxml");
			}
			set
			{
				this.SetAttributeValue<string>("FieldXml", "fieldxml", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator formularza typu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("formid")]
		public System.Nullable<System.Guid> FormId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("formid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("FormId", "formid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("formid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.FormId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator formularza używanego podczas synchronizacji niestandardowych elementów klienta programu Microsoft Dynamics CRM dla programu Outlook.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("formidunique")]
		public System.Nullable<System.Guid> FormIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("formidunique");
			}
		}
		
		/// <summary>
		/// Reprezentacja XML układu formularza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("formxml")]
		public string FormXml
		{
			get
			{
				return this.GetAttributeValue<string>("formxml");
			}
			set
			{
				this.SetAttributeValue<string>("FormXml", "formxml", value);
			}
		}
		
		/// <summary>
		/// Binarna reprezentacja ikony używanej w widokach siatki typu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("gridicon")]
		public string GridIcon
		{
			get
			{
				return this.GetAttributeValue<string>("gridicon");
			}
			set
			{
				this.SetAttributeValue<string>("GridIcon", "gridicon", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy można dostosować ten składnik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomizable")]
		public Microsoft.Xrm.Sdk.BooleanManagedProperty IsCustomizable
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("iscustomizable");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("IsCustomizable", "iscustomizable", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Binarna reprezentacja dużej ikony używanej w formularzu typu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("largeentityicon")]
		public string LargeEntityIcon
		{
			get
			{
				return this.GetAttributeValue<string>("largeentityicon");
			}
			set
			{
				this.SetAttributeValue<string>("LargeEntityIcon", "largeentityicon", value);
			}
		}
		
		/// <summary>
		/// Kod reprezentujący typ rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objecttypecode")]
		public string ObjectTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("objecttypecode");
			}
			set
			{
				this.SetAttributeValue<string>("ObjectTypeCode", "objecttypecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Binarna reprezentacja dużej ikony używanej dla tego typu rekordu w kliencie programu Microsoft Dynamics CRM dla programu Outlook.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("outlookshortcuticon")]
		public string OutlookShortcutIcon
		{
			get
			{
				return this.GetAttributeValue<string>("outlookshortcuticon");
			}
			set
			{
				this.SetAttributeValue<string>("OutlookShortcutIcon", "outlookshortcuticon", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("previewcolumnsetxml")]
		public string PreviewColumnsetXml
		{
			get
			{
				return this.GetAttributeValue<string>("previewcolumnsetxml");
			}
			set
			{
				this.SetAttributeValue<string>("PreviewColumnsetXml", "previewcolumnsetxml", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("previewxml")]
		public string PreviewXml
		{
			get
			{
				return this.GetAttributeValue<string>("previewxml");
			}
			set
			{
				this.SetAttributeValue<string>("PreviewXml", "previewxml", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("version")]
		public System.Nullable<int> Version
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("version");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Version", "version", value);
			}
		}
		
		/// <summary>
		/// Reprezentuje wersję niestandardowych elementów, które mają zostać zsynchronizowane z klientem programu Microsoft Dynamics CRM dla programu Outlook.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
	}
	
	/// <summary>
	/// Mapowanie danych o właścicielach w mapowaniu danych z pliku źródłowego do programu Microsoft Dynamics CRM.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("ownermapping")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("OwnerMappingSet")]
	public partial class OwnerMapping : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public OwnerMapping() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "ownermapping";
		
		public const int EntityTypeCode = 4420;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył mapowanie właściciela.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia mapowania właściciela.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył mapowanie właściciela.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator mapowania danych, z którym jest skojarzone mapowanie właściciela.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importmapid")]
		public Microsoft.Xrm.Client.CrmEntityReference ImportMapId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("importmapid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ImportMapId", "importmapid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował mapowanie wyszukiwania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji mapowania właściciela.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował mapowanie właściciela.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator mapowania właściciela.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownermappingid")]
		public System.Nullable<System.Guid> OwnerMappingId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("ownermappingid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("OwnerMappingId", "ownermappingid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownermappingid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.OwnerMappingId = value;
			}
		}
		
		/// <summary>
		/// Kod oznaczający, czy mapowanie właściciela wymaga przetworzenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("processcode")]
		public System.Nullable<int> ProcessCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("processcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ProcessCode", "processcode", value);
			}
		}
		
		/// <summary>
		/// Nazwa użytkownika źródłowego, która ma zostać zamieniona
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sourcesystemusername")]
		public string SourceSystemUserName
		{
			get
			{
				return this.GetAttributeValue<string>("sourcesystemusername");
			}
			set
			{
				this.SetAttributeValue<string>("SourceSystemUserName", "sourcesystemusername", value);
			}
		}
		
		/// <summary>
		/// Wartość użytkownika źródłowego dla łącza użytkownika źródłowego programu Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sourceuservalueforsourcecrmuserlink")]
		public string SourceUserValueForSourceCRMUserLink
		{
			get
			{
				return this.GetAttributeValue<string>("sourceuservalueforsourcecrmuserlink");
			}
			set
			{
				this.SetAttributeValue<string>("SourceUserValueForSourceCRMUserLink", "sourceuservalueforsourcecrmuserlink", value);
			}
		}
		
		/// <summary>
		/// Stan mapowania właściciela.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu mapowania właściciela.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Nazwa logowania programu Microsoft Dynamics CRM, na którą ma zostać zamieniona nazwa użytkownika źródłowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("targetsystemuserdomainname")]
		public string TargetSystemUserDomainName
		{
			get
			{
				return this.GetAttributeValue<string>("targetsystemuserdomainname");
			}
			set
			{
				this.SetAttributeValue<string>("TargetSystemUserDomainName", "targetsystemuserdomainname", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika programu Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("targetsystemuserid")]
		public Microsoft.Xrm.Client.CrmEntityReference TargetSystemUserId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("targetsystemuserid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TargetSystemUserId", "targetsystemuserid", value);
			}
		}
		
		/// <summary>
		/// Użytkownik programu Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("targetuservalueforsourcecrmuserlink")]
		public string TargetUserValueForSourceCRMUserLink
		{
			get
			{
				return this.GetAttributeValue<string>("targetuservalueforsourcecrmuserlink");
			}
			set
			{
				this.SetAttributeValue<string>("TargetUserValueForSourceCRMUserLink", "targetuservalueforsourcecrmuserlink", value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_ownermapping
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_ownermapping")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_ownermapping
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_ownermapping", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_ownermapping", "userentityinstancedata_ownermapping", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_ownermapping_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_ownermapping_createdby")]
		public Xrm.SystemUser lk_ownermapping_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_ownermapping_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_ownermapping_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_ownermapping_createdonbehalfby")]
		public Xrm.SystemUser lk_ownermapping_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_ownermapping_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_ownermapping_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_ownermapping_modifiedby")]
		public Xrm.SystemUser lk_ownermapping_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_ownermapping_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_ownermapping_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_ownermapping_modifiedonbehalfby")]
		public Xrm.SystemUser lk_ownermapping_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_ownermapping_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 OwnerMapping_ImportMap
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importmapid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("OwnerMapping_ImportMap")]
		public Xrm.ImportMap OwnerMapping_ImportMap
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ImportMap>("OwnerMapping_ImportMap", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ImportMap>("OwnerMapping_ImportMap", "OwnerMapping_ImportMap", null, value);
			}
		}
		
		/// <summary>
		/// N:1 OwnerMapping_SystemUser
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("targetsystemuserid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("OwnerMapping_SystemUser")]
		public Xrm.SystemUser OwnerMapping_SystemUser
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("OwnerMapping_SystemUser", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("OwnerMapping_SystemUser", "OwnerMapping_SystemUser", null, value);
			}
		}
	}
	
	/// <summary>
	/// Działanie służące do śledzenia rozmowy telefonicznej.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("phonecall")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("PhoneCallSet")]
	public partial class PhoneCall : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public PhoneCall() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "phonecall";
		
		public const int EntityTypeCode = 4210;
		
		/// <summary>
		/// Unikatowy identyfikator działania przy użyciu rozmowy telefonicznej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public System.Nullable<System.Guid> ActivityId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("activityid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ActivityId", "activityid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ActivityId = value;
			}
		}
		
		/// <summary>
		/// Typ działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activitytypecode")]
		public string ActivityTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("activitytypecode");
			}
		}
		
		/// <summary>
		/// Rzeczywisty czas trwania działania przy użyciu rozmowy telefonicznej w minutach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualdurationminutes")]
		public System.Nullable<int> ActualDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("actualdurationminutes");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ActualDurationMinutes", "actualdurationminutes", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista godzina zakończenia działania przy użyciu rozmowy telefonicznej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualend")]
		public System.Nullable<System.DateTime> ActualEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualEnd", "actualend", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista godzina rozpoczęcia działania przy użyciu rozmowy telefonicznej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualstart")]
		public System.Nullable<System.DateTime> ActualStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualStart", "actualstart", value);
			}
		}
		
		/// <summary>
		/// Kategoria działania przy użyciu rozmowy telefonicznej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("category")]
		public string Category
		{
			get
			{
				return this.GetAttributeValue<string>("category");
			}
			set
			{
				this.SetAttributeValue<string>("Category", "category", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył działanie przy użyciu rozmowy telefonicznej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia działania przy użyciu rozmowy telefonicznej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył rozmowę telefoniczną.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis działania przy użyciu rozmowy telefonicznej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Kierunek rozmowy telefonicznej; przychodząca lub wychodząca.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("directioncode")]
		public System.Nullable<bool> DirectionCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("directioncode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DirectionCode", "directioncode", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z rozmową telefoniczną w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Osoba, która rozpoczęła rozmowę telefoniczną.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("from")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> From
		{
			get
			{
				return this.GetAttributeCollectionValue<Xrm.ActivityParty>("from");
			}
			set
			{
				this.SetAttributeCollectionValue<Xrm.ActivityParty>("From", "from", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy działanie przy użyciu rozmowy telefonicznej zostało zafakturowane jako element obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isbilled")]
		public System.Nullable<bool> IsBilled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isbilled");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsBilled", "isbilled", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy działanie ma charakter regularny, czy też jest zdarzeniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isregularactivity")]
		public System.Nullable<bool> IsRegularActivity
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isregularactivity");
			}
		}
		
		/// <summary>
		/// Wskazanie, czy działanie przy użyciu rozmowy telefonicznej zostało utworzone przy użyciu reguły przepływu pracy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isworkflowcreated")]
		public System.Nullable<bool> IsWorkflowCreated
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isworkflowcreated");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsWorkflowCreated", "isworkflowcreated", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni modyfikował działanie przy użyciu rozmowy telefonicznej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji działania przy użyciu rozmowy telefonicznej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował rozmowę telefoniczną.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem działania przy użyciu rozmowy telefonicznej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem działania przy użyciu rozmowy telefonicznej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, który jest właścicielem działania rozmowy telefonicznej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem działania rozmowy telefonicznej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Numer telefonu skojarzony z działaniem przy użyciu rozmowy telefonicznej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("phonenumber")]
		public string PhoneNumber
		{
			get
			{
				return this.GetAttributeValue<string>("phonenumber");
			}
			set
			{
				this.SetAttributeValue<string>("PhoneNumber", "phonenumber", value);
			}
		}
		
		/// <summary>
		/// Priorytet działania przy użyciu rozmowy telefonicznej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("prioritycode")]
		public System.Nullable<int> PriorityCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("prioritycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PriorityCode", "prioritycode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obiektu, z którym jest skojarzone działanie przy użyciu rozmowy telefonicznej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		public Microsoft.Xrm.Client.CrmEntityReference RegardingObjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("regardingobjectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RegardingObjectId", "regardingobjectid", value);
			}
		}
		
		/// <summary>
		/// Zaplanowany czas trwania działania przy użyciu rozmowy telefonicznej wyrażony w minutach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduleddurationminutes")]
		public System.Nullable<int> ScheduledDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("scheduleddurationminutes");
			}
		}
		
		/// <summary>
		/// Zaplanowana godzina zakończenia działania przy użyciu rozmowy telefonicznej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledend")]
		public System.Nullable<System.DateTime> ScheduledEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ScheduledEnd", "scheduledend", value);
			}
		}
		
		/// <summary>
		/// Zaplanowana godzina rozpoczęcia działania przy użyciu rozmowy telefonicznej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledstart")]
		public System.Nullable<System.DateTime> ScheduledStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ScheduledStart", "scheduledstart", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonej usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		public Microsoft.Xrm.Client.CrmEntityReference ServiceId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("serviceid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ServiceId", "serviceid", value);
			}
		}
		
		/// <summary>
		/// Stan działania przy użyciu rozmowy telefonicznej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu działania przy użyciu rozmowy telefonicznej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Podkategoria działania przy użyciu rozmowy telefonicznej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subcategory")]
		public string Subcategory
		{
			get
			{
				return this.GetAttributeValue<string>("subcategory");
			}
			set
			{
				this.SetAttributeValue<string>("Subcategory", "subcategory", value);
			}
		}
		
		/// <summary>
		/// Temat skojarzony z działaniem przy użyciu rozmowy telefonicznej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subject")]
		public string Subject
		{
			get
			{
				return this.GetAttributeValue<string>("subject");
			}
			set
			{
				this.SetAttributeValue<string>("Subject", "subject", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subscriptionid")]
		public System.Nullable<System.Guid> SubscriptionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("subscriptionid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("SubscriptionId", "subscriptionid", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Osoba, do której jest kierowana rozmowa telefoniczna.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("to")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> To
		{
			get
			{
				return this.GetAttributeCollectionValue<Xrm.ActivityParty>("to");
			}
			set
			{
				this.SetAttributeCollectionValue<Xrm.ActivityParty>("To", "to", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z rozmową telefoniczną.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji działania rozmowy telefonicznej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N phonecall_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("phonecall_activity_parties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> phonecall_activity_parties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("phonecall_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("phonecall_activity_parties", "phonecall_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N PhoneCall_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("PhoneCall_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> PhoneCall_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("PhoneCall_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("PhoneCall_Annotation", "PhoneCall_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N PhoneCall_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("PhoneCall_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> PhoneCall_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("PhoneCall_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("PhoneCall_AsyncOperations", "PhoneCall_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N PhoneCall_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("PhoneCall_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> PhoneCall_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("PhoneCall_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("PhoneCall_BulkDeleteFailures", "PhoneCall_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N phonecall_campaignresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("phonecall_campaignresponse")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignResponse> phonecall_campaignresponse
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignResponse>("phonecall_campaignresponse", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignResponse>("phonecall_campaignresponse", "phonecall_campaignresponse", null, value);
			}
		}
		
		/// <summary>
		/// 1:N phonecall_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("phonecall_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> phonecall_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("phonecall_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("phonecall_connections1", "phonecall_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N phonecall_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("phonecall_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> phonecall_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("phonecall_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("phonecall_connections2", "phonecall_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N PhoneCall_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("PhoneCall_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> PhoneCall_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("PhoneCall_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("PhoneCall_DuplicateBaseRecord", "PhoneCall_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N PhoneCall_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("PhoneCall_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> PhoneCall_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("PhoneCall_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("PhoneCall_DuplicateMatchingRecord", "PhoneCall_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N phonecall_PostFollows
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("phonecall_PostFollows")]
		public System.Collections.Generic.IEnumerable<Xrm.PostFollow> phonecall_PostFollows
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PostFollow>("phonecall_PostFollows", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PostFollow>("phonecall_PostFollows", "phonecall_PostFollows", null, value);
			}
		}
		
		/// <summary>
		/// 1:N phonecall_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("phonecall_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> phonecall_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("phonecall_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("phonecall_principalobjectattributeaccess", "phonecall_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N PhoneCall_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("PhoneCall_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> PhoneCall_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("PhoneCall_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("PhoneCall_ProcessSessions", "PhoneCall_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N PhoneCall_QueueItem
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("PhoneCall_QueueItem")]
		public System.Collections.Generic.IEnumerable<Xrm.QueueItem> PhoneCall_QueueItem
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QueueItem>("PhoneCall_QueueItem", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QueueItem>("PhoneCall_QueueItem", "PhoneCall_QueueItem", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_phonecall
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_phonecall")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_phonecall
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_phonecall", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_phonecall", "userentityinstancedata_phonecall", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Account_Phonecalls
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_Phonecalls")]
		public Xrm.Account Account_Phonecalls
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("Account_Phonecalls", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("Account_Phonecalls", "Account_Phonecalls", null, value);
			}
		}
		
		/// <summary>
		/// N:1 activity_pointer_phonecall
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_phonecall")]
		public Xrm.ActivityPointer activity_pointer_phonecall
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_phonecall", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_phonecall", "activity_pointer_phonecall", null, value);
			}
		}
		
		/// <summary>
		/// N:1 BulkOperation_Phonecall
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkOperation_Phonecall")]
		public Xrm.BulkOperation BulkOperation_Phonecall
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BulkOperation>("BulkOperation_Phonecall", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BulkOperation>("BulkOperation_Phonecall", "BulkOperation_Phonecall", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_phone_call_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_phone_call_activities")]
		public Xrm.BusinessUnit business_unit_phone_call_activities
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_phone_call_activities", null);
			}
		}
		
		/// <summary>
		/// N:1 Campaign_Phonecalls
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_Phonecalls")]
		public Xrm.Campaign Campaign_Phonecalls
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Campaign>("Campaign_Phonecalls", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Campaign>("Campaign_Phonecalls", "Campaign_Phonecalls", null, value);
			}
		}
		
		/// <summary>
		/// N:1 CampaignActivity_Phonecalls
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignActivity_Phonecalls")]
		public Xrm.CampaignActivity CampaignActivity_Phonecalls
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignActivity>("CampaignActivity_Phonecalls", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CampaignActivity>("CampaignActivity_Phonecalls", "CampaignActivity_Phonecalls", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Contact_Phonecalls
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_Phonecalls")]
		public Xrm.Contact Contact_Phonecalls
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("Contact_Phonecalls", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("Contact_Phonecalls", "Contact_Phonecalls", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Contract_Phonecalls
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_Phonecalls")]
		public Xrm.Contract Contract_Phonecalls
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contract>("Contract_Phonecalls", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contract>("Contract_Phonecalls", "Contract_Phonecalls", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Incident_Phonecalls
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_Phonecalls")]
		public Xrm.Incident Incident_Phonecalls
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Incident>("Incident_Phonecalls", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Incident>("Incident_Phonecalls", "Incident_Phonecalls", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Invoice_Phonecalls
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Invoice_Phonecalls")]
		public Xrm.Invoice Invoice_Phonecalls
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Invoice>("Invoice_Phonecalls", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Invoice>("Invoice_Phonecalls", "Invoice_Phonecalls", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Lead_Phonecalls
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_Phonecalls")]
		public Xrm.Lead Lead_Phonecalls
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Lead>("Lead_Phonecalls", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Lead>("Lead_Phonecalls", "Lead_Phonecalls", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_phonecall_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_phonecall_createdby")]
		public Xrm.SystemUser lk_phonecall_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_phonecall_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_phonecall_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_phonecall_createdonbehalfby")]
		public Xrm.SystemUser lk_phonecall_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_phonecall_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_phonecall_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_phonecall_modifiedby")]
		public Xrm.SystemUser lk_phonecall_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_phonecall_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_phonecall_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_phonecall_modifiedonbehalfby")]
		public Xrm.SystemUser lk_phonecall_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_phonecall_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postalbum_PhoneCalls
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_PhoneCalls")]
		public Xrm.msdyn_PostAlbum msdyn_postalbum_PhoneCalls
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_PhoneCalls", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_PhoneCalls", "msdyn_postalbum_PhoneCalls", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownicy_PhoneCalls
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_PhoneCalls")]
		public Xrm.new_uzytkownicy new_uzytkownicy_PhoneCalls
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_PhoneCalls", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_PhoneCalls", "new_uzytkownicy_PhoneCalls", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownikkontakty_PhoneCalls
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_PhoneCalls")]
		public Xrm.new_uzytkownikkontakty new_uzytkownikkontakty_PhoneCalls
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_PhoneCalls", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_PhoneCalls", "new_uzytkownikkontakty_PhoneCalls", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_zainteresowanie_PhoneCalls
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_PhoneCalls")]
		public Xrm.new_zainteresowanie new_zainteresowanie_PhoneCalls
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_PhoneCalls", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_PhoneCalls", "new_zainteresowanie_PhoneCalls", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Opportunity_Phonecalls
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_Phonecalls")]
		public Xrm.Opportunity Opportunity_Phonecalls
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Opportunity>("Opportunity_Phonecalls", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Opportunity>("Opportunity_Phonecalls", "Opportunity_Phonecalls", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Quote_Phonecalls
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_Phonecalls")]
		public Xrm.Quote Quote_Phonecalls
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Quote>("Quote_Phonecalls", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Quote>("Quote_Phonecalls", "Quote_Phonecalls", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SalesOrder_Phonecalls
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrder_Phonecalls")]
		public Xrm.SalesOrder SalesOrder_Phonecalls
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesOrder>("SalesOrder_Phonecalls", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesOrder>("SalesOrder_Phonecalls", "SalesOrder_Phonecalls", null, value);
			}
		}
		
		/// <summary>
		/// N:1 service_phonecalls
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_phonecalls")]
		public Xrm.Service service_phonecalls
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Service>("service_phonecalls", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Service>("service_phonecalls", "service_phonecalls", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_phonecall
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_phonecall")]
		public Xrm.Team team_phonecall
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_phonecall", null);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_PhoneCall
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_PhoneCall")]
		public Xrm.TransactionCurrency TransactionCurrency_PhoneCall
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_PhoneCall", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_PhoneCall", "TransactionCurrency_PhoneCall", null, value);
			}
		}
		
		/// <summary>
		/// N:1 user_phonecall
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_phonecall")]
		public Xrm.SystemUser user_phonecall
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_phonecall", null);
			}
		}
	}
	
	/// <summary>
	/// Mapowanie wartości list w mapowaniu danych z pliku źródłowego do programu Microsoft Dynamics CRM.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("picklistmapping")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("PickListMappingSet")]
	public partial class PickListMapping : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public PickListMapping() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "picklistmapping";
		
		public const int EntityTypeCode = 4418;
		
		/// <summary>
		/// Unikatowy identyfikator mapowania kolumny, z którym jest skojarzone mapowanie wartości list.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("columnmappingid")]
		public Microsoft.Xrm.Client.CrmEntityReference ColumnMappingId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("columnmappingid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ColumnMappingId", "columnmappingid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył mapowanie wartości list.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia mapowania wartości list.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył mapowanie listy wyboru.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował mapowanie wartości list.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji mapowania wartości list.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował mapowanie listy wyboru.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator mapowania listy wyboru.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("picklistmappingid")]
		public System.Nullable<System.Guid> PickListMappingId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("picklistmappingid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("PickListMappingId", "picklistmappingid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("picklistmappingid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.PickListMappingId = value;
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy mapowanie wartości list wymaga przetworzenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("processcode")]
		public System.Nullable<int> ProcessCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("processcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ProcessCode", "processcode", value);
			}
		}
		
		/// <summary>
		/// Wartość źródłowa, która ma zostać zamieniona.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sourcevalue")]
		public string SourceValue
		{
			get
			{
				return this.GetAttributeValue<string>("sourcevalue");
			}
			set
			{
				this.SetAttributeValue<string>("SourceValue", "sourcevalue", value);
			}
		}
		
		/// <summary>
		/// Stan mapowania listy wyboru.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu mapowania listy wyboru.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Wartość listy w programie Microsoft Dynamics CRM, na którą ma zostać zamieniona wartość źródłowa.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("targetvalue")]
		public System.Nullable<int> TargetValue
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("targetvalue");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TargetValue", "targetvalue", value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_picklistmapping
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_picklistmapping")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_picklistmapping
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_picklistmapping", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_picklistmapping", "userentityinstancedata_picklistmapping", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_picklistmapping_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_picklistmapping_createdby")]
		public Xrm.SystemUser lk_picklistmapping_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_picklistmapping_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_picklistmapping_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_picklistmapping_createdonbehalfby")]
		public Xrm.SystemUser lk_picklistmapping_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_picklistmapping_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_picklistmapping_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_picklistmapping_modifiedby")]
		public Xrm.SystemUser lk_picklistmapping_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_picklistmapping_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_picklistmapping_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_picklistmapping_modifiedonbehalfby")]
		public Xrm.SystemUser lk_picklistmapping_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_picklistmapping_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 PickListMapping_ColumnMapping
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("columnmappingid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("PickListMapping_ColumnMapping")]
		public Xrm.ColumnMapping PickListMapping_ColumnMapping
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ColumnMapping>("PickListMapping_ColumnMapping", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ColumnMapping>("PickListMapping_ColumnMapping", "PickListMapping_ColumnMapping", null, value);
			}
		}
	}
	
	/// <summary>
	/// Zestaw zawierający jeden lub większą liczbę typów dodatków plug-in.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("pluginassembly")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("PluginAssemblySet")]
	public partial class PluginAssembly : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public PluginAssembly() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "pluginassembly";
		
		public const int EntityTypeCode = 4605;
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// Zawartość zestawu w formacie Base64.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("content")]
		public string Content
		{
			get
			{
				return this.GetAttributeValue<string>("content");
			}
			set
			{
				this.SetAttributeValue<string>("Content", "content", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył zestaw dodatków plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia zestawu dodatków plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył zestaw dodatków plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Kod kulturowy zestawu dodatków plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("culture")]
		public string Culture
		{
			get
			{
				return this.GetAttributeValue<string>("culture");
			}
			set
			{
				this.SetAttributeValue<string>("Culture", "culture", value);
			}
		}
		
		/// <summary>
		/// Poziom dostosowania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationlevel")]
		public System.Nullable<int> CustomizationLevel
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("customizationlevel");
			}
		}
		
		/// <summary>
		/// Opis zestawu dodatków plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy ten składnik powinien być ukryty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ishidden")]
		public Microsoft.Xrm.Sdk.BooleanManagedProperty IsHidden
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("ishidden");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("IsHidden", "ishidden", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy ten składnik jest zarządzany.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Informacja dotycząca sposobu izolowania zestawu dodatków plug-in w czasie wykonywania; Brak / Tryb piaskownicy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isolationmode")]
		public System.Nullable<int> IsolationMode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("isolationmode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("IsolationMode", "isolationmode", value);
			}
		}
		
		/// <summary>
		/// Wersja główna zestawu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("major")]
		public System.Nullable<int> Major
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("major");
			}
		}
		
		/// <summary>
		/// Wersja pomocnicza zestawu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("minor")]
		public System.Nullable<int> Minor
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("minor");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował zestaw dodatków plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji zestawu dodatków plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował zestaw dodatków plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa zestawu dodatków plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji, z którą jest skojarzony zestaw dodatków plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// Nazwa pliku zestawu dodatków plug-in. Używana, gdy typ źródła jest ustawiony na wartość 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("path")]
		public string Path
		{
			get
			{
				return this.GetAttributeValue<string>("path");
			}
			set
			{
				this.SetAttributeValue<string>("Path", "path", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zestawu dodatków plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pluginassemblyid")]
		public System.Nullable<System.Guid> PluginAssemblyId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("pluginassemblyid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("PluginAssemblyId", "pluginassemblyid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pluginassemblyid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.PluginAssemblyId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zestawu dodatków plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pluginassemblyidunique")]
		public System.Nullable<System.Guid> PluginAssemblyIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("pluginassemblyidunique");
			}
		}
		
		/// <summary>
		/// Token klucza publicznego zestawu. Tę wartość można uzyskać z zestawu przy użyciu odbicia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("publickeytoken")]
		public string PublicKeyToken
		{
			get
			{
				return this.GetAttributeValue<string>("publickeytoken");
			}
			set
			{
				this.SetAttributeValue<string>("PublicKeyToken", "publickeytoken", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// Wartość skrótu dla źródła zestawu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sourcehash")]
		public string SourceHash
		{
			get
			{
				return this.GetAttributeValue<string>("sourcehash");
			}
			set
			{
				this.SetAttributeValue<string>("SourceHash", "sourcehash", value);
			}
		}
		
		/// <summary>
		/// Lokalizacja zestawu. Na przykład: 0=baza danych, 1=dysk.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sourcetype")]
		public System.Nullable<int> SourceType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("sourcetype");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("SourceType", "sourcetype", value);
			}
		}
		
		/// <summary>
		/// Numer wersji zestawu. Tę wartość można uzyskać z zestawu przy użyciu odbicia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("version")]
		public string Version
		{
			get
			{
				return this.GetAttributeValue<string>("version");
			}
			set
			{
				this.SetAttributeValue<string>("Version", "version", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N pluginassembly_plugintype
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("pluginassembly_plugintype")]
		public System.Collections.Generic.IEnumerable<Xrm.PluginType> pluginassembly_plugintype
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PluginType>("pluginassembly_plugintype", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PluginType>("pluginassembly_plugintype", "pluginassembly_plugintype", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_pluginassembly
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_pluginassembly")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_pluginassembly
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_pluginassembly", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_pluginassembly", "userentityinstancedata_pluginassembly", null, value);
			}
		}
		
		/// <summary>
		/// N:1 createdby_pluginassembly
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_pluginassembly")]
		public Xrm.SystemUser createdby_pluginassembly
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("createdby_pluginassembly", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_pluginassembly_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_pluginassembly_createdonbehalfby")]
		public Xrm.SystemUser lk_pluginassembly_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_pluginassembly_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_pluginassembly_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_pluginassembly_modifiedonbehalfby")]
		public Xrm.SystemUser lk_pluginassembly_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_pluginassembly_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 modifiedby_pluginassembly
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_pluginassembly")]
		public Xrm.SystemUser modifiedby_pluginassembly
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("modifiedby_pluginassembly", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_pluginassembly
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_pluginassembly")]
		public Xrm.Organization organization_pluginassembly
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_pluginassembly", null);
			}
		}
	}
	
	/// <summary>
	/// Typ dziedziczący po interfejsie IPlugin i zawarty w zestawie dodatków plug-in.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("plugintype")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("PluginTypeSet")]
	public partial class PluginType : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public PluginType() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "plugintype";
		
		public const int EntityTypeCode = 4602;
		
		/// <summary>
		/// Pełna nazwa ścieżki do zestawu dodatków plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("assemblyname")]
		public string AssemblyName
		{
			get
			{
				return this.GetAttributeValue<string>("assemblyname");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył typ dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia typu dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył typ dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Kod kulturowy zestawu dodatków plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("culture")]
		public string Culture
		{
			get
			{
				return this.GetAttributeValue<string>("culture");
			}
		}
		
		/// <summary>
		/// Poziom dostosowania typu dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationlevel")]
		public System.Nullable<int> CustomizationLevel
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("customizationlevel");
			}
		}
		
		/// <summary>
		/// Opis typu dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Nazwa dodatku plug-in czytelna dla użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("friendlyname")]
		public string FriendlyName
		{
			get
			{
				return this.GetAttributeValue<string>("friendlyname");
			}
			set
			{
				this.SetAttributeValue<string>("FriendlyName", "friendlyname", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Wskazuje, czy dodatek plug-in realizuje niestandardowe działanie w przepływach pracy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isworkflowactivity")]
		public System.Nullable<bool> IsWorkflowActivity
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isworkflowactivity");
			}
		}
		
		/// <summary>
		/// Numer wersji głównej zestawu dla typu dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("major")]
		public System.Nullable<int> Major
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("major");
			}
		}
		
		/// <summary>
		/// Numer wersji pomocniczej zestawu dla typu dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("minor")]
		public System.Nullable<int> Minor
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("minor");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował typ dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji typu dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował typ dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa typu dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji, z którą jest skojarzony typ dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zestawu dodatków plug-in zawierający dodatek plug-in tego typu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pluginassemblyid")]
		public Microsoft.Xrm.Client.CrmEntityReference PluginAssemblyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("pluginassemblyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("PluginAssemblyId", "pluginassemblyid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator typu dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("plugintypeid")]
		public System.Nullable<System.Guid> PluginTypeId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("plugintypeid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("PluginTypeId", "plugintypeid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("plugintypeid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.PluginTypeId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator typu dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("plugintypeidunique")]
		public System.Nullable<System.Guid> PluginTypeIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("plugintypeidunique");
			}
		}
		
		/// <summary>
		/// Token klucza publicznego zestawu dla typu dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("publickeytoken")]
		public string PublicKeyToken
		{
			get
			{
				return this.GetAttributeValue<string>("publickeytoken");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// W pełni kwalifikowana nazwa typu dla typu dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("typename")]
		public string TypeName
		{
			get
			{
				return this.GetAttributeValue<string>("typename");
			}
			set
			{
				this.SetAttributeValue<string>("TypeName", "typename", value);
			}
		}
		
		/// <summary>
		/// Numer wersji zespołu dla typu dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("version")]
		public string Version
		{
			get
			{
				return this.GetAttributeValue<string>("version");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// Nazwa grupy niestandardowego działania przepływu pracy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("workflowactivitygroupname")]
		public string WorkflowActivityGroupName
		{
			get
			{
				return this.GetAttributeValue<string>("workflowactivitygroupname");
			}
			set
			{
				this.SetAttributeValue<string>("WorkflowActivityGroupName", "workflowactivitygroupname", value);
			}
		}
		
		/// <summary>
		/// 1:N plugin_type_service
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("plugin_type_service")]
		public System.Collections.Generic.IEnumerable<Xrm.Service> plugin_type_service
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Service>("plugin_type_service", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Service>("plugin_type_service", "plugin_type_service", null, value);
			}
		}
		
		/// <summary>
		/// 1:N plugintype_plugintypestatistic
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("plugintype_plugintypestatistic")]
		public System.Collections.Generic.IEnumerable<Xrm.PluginTypeStatistic> plugintype_plugintypestatistic
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PluginTypeStatistic>("plugintype_plugintypestatistic", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PluginTypeStatistic>("plugintype_plugintypestatistic", "plugintype_plugintypestatistic", null, value);
			}
		}
		
		/// <summary>
		/// 1:N plugintype_sdkmessageprocessingstep
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("plugintype_sdkmessageprocessingstep")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageProcessingStep> plugintype_sdkmessageprocessingstep
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageProcessingStep>("plugintype_sdkmessageprocessingstep", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageProcessingStep>("plugintype_sdkmessageprocessingstep", "plugintype_sdkmessageprocessingstep", null, value);
			}
		}
		
		/// <summary>
		/// 1:N plugintypeid_sdkmessageprocessingstep
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("plugintypeid_sdkmessageprocessingstep")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageProcessingStep> plugintypeid_sdkmessageprocessingstep
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageProcessingStep>("plugintypeid_sdkmessageprocessingstep", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageProcessingStep>("plugintypeid_sdkmessageprocessingstep", "plugintypeid_sdkmessageprocessingstep", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_plugintype
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_plugintype")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_plugintype
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_plugintype", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_plugintype", "userentityinstancedata_plugintype", null, value);
			}
		}
		
		/// <summary>
		/// N:1 createdby_plugintype
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_plugintype")]
		public Xrm.SystemUser createdby_plugintype
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("createdby_plugintype", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_plugintype_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_plugintype_createdonbehalfby")]
		public Xrm.SystemUser lk_plugintype_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_plugintype_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_plugintype_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_plugintype_modifiedonbehalfby")]
		public Xrm.SystemUser lk_plugintype_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_plugintype_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 modifiedby_plugintype
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_plugintype")]
		public Xrm.SystemUser modifiedby_plugintype
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("modifiedby_plugintype", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_plugintype
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_plugintype")]
		public Xrm.Organization organization_plugintype
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_plugintype", null);
			}
		}
		
		/// <summary>
		/// N:1 pluginassembly_plugintype
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pluginassemblyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("pluginassembly_plugintype")]
		public Xrm.PluginAssembly pluginassembly_plugintype
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PluginAssembly>("pluginassembly_plugintype", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PluginAssembly>("pluginassembly_plugintype", "pluginassembly_plugintype", null, value);
			}
		}
	}
	
	/// <summary>
	/// Statystyka typu dodatku plug-in.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("plugintypestatistic")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("PluginTypeStatisticSet")]
	public partial class PluginTypeStatistic : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public PluginTypeStatistic() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "plugintypestatistic";
		
		public const int EntityTypeCode = 4603;
		
		/// <summary>
		/// Średni czas wykonywania (w milisekundach) dla typu dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("averageexecutetimeinmilliseconds")]
		public System.Nullable<int> AverageExecuteTimeInMilliseconds
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("averageexecutetimeinmilliseconds");
			}
		}
		
		/// <summary>
		/// Wartość procentowa udziału dodatku plug-in w awariach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("crashcontributionpercent")]
		public System.Nullable<int> CrashContributionPercent
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("crashcontributionpercent");
			}
		}
		
		/// <summary>
		/// Liczba awarii dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("crashcount")]
		public System.Nullable<int> CrashCount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("crashcount");
			}
		}
		
		/// <summary>
		/// Wartość procentowa awarii tego typu dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("crashpercent")]
		public System.Nullable<int> CrashPercent
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("crashpercent");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył statystykę typu dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia statystyki typu dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył statystykę typu dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Liczba wykonań typu dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("executecount")]
		public System.Nullable<int> ExecuteCount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("executecount");
			}
		}
		
		/// <summary>
		/// Liczba niepowodzeń typu dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("failurecount")]
		public System.Nullable<int> FailureCount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("failurecount");
			}
		}
		
		/// <summary>
		/// Wartość procentowa niepowodzeń tego typu dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("failurepercent")]
		public System.Nullable<int> FailurePercent
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("failurepercent");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował statystykę typu dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji statystyki typu dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował statystykę typu dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji, z którą jest skojarzona statystyka typu dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator typu dodatku plug-in skojarzonego z tą statystyką typu dodatku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("plugintypeid")]
		public Microsoft.Xrm.Client.CrmEntityReference PluginTypeId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("plugintypeid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator statystyki typu dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("plugintypestatisticid")]
		public System.Nullable<System.Guid> PluginTypeStatisticId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("plugintypestatisticid");
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("plugintypestatisticid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				base.Id = value;
			}
		}
		
		/// <summary>
		/// Wartość procentowa udziału typu dodatku plug-in w przypadkach zakończenia procesu roboczego z powodu nadmiernego wykorzystania procesora.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("terminatecpucontributionpercent")]
		public System.Nullable<int> TerminateCpuContributionPercent
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("terminatecpucontributionpercent");
			}
		}
		
		/// <summary>
		/// Wartość procentowa udziału typu dodatku plug-in w przypadkach zakończenia procesu roboczego z powodu nadmiernego wykorzystania uchwytów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("terminatehandlescontributionpercent")]
		public System.Nullable<int> TerminateHandlesContributionPercent
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("terminatehandlescontributionpercent");
			}
		}
		
		/// <summary>
		/// Wartość procentowa udziału typu dodatku plug-in w przypadkach zakończenia procesu roboczego z powodu nadmiernego wykorzystania pamięci.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("terminatememorycontributionpercent")]
		public System.Nullable<int> TerminateMemoryContributionPercent
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("terminatememorycontributionpercent");
			}
		}
		
		/// <summary>
		/// Wartość procentowa udziału typu dodatku plug-in w przypadkach zakończenia procesu roboczego z nieznanych przyczyn.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("terminateothercontributionpercent")]
		public System.Nullable<int> TerminateOtherContributionPercent
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("terminateothercontributionpercent");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_plugintypestatistic
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_plugintypestatistic")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_plugintypestatistic
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_plugintypestatistic", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_plugintypestatistic", "userentityinstancedata_plugintypestatistic", null, value);
			}
		}
		
		/// <summary>
		/// N:1 createdby_plugintypestatistic
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_plugintypestatistic")]
		public Xrm.SystemUser createdby_plugintypestatistic
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("createdby_plugintypestatistic", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_plugintypestatisticbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_plugintypestatisticbase_createdonbehalfby")]
		public Xrm.SystemUser lk_plugintypestatisticbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_plugintypestatisticbase_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_plugintypestatisticbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_plugintypestatisticbase_modifiedonbehalfby")]
		public Xrm.SystemUser lk_plugintypestatisticbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_plugintypestatisticbase_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 modifiedby_plugintypestatistic
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_plugintypestatistic")]
		public Xrm.SystemUser modifiedby_plugintypestatistic
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("modifiedby_plugintypestatistic", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_plugintypestatistic
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_plugintypestatistic")]
		public Xrm.Organization organization_plugintypestatistic
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_plugintypestatistic", null);
			}
		}
		
		/// <summary>
		/// N:1 plugintype_plugintypestatistic
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("plugintypeid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("plugintype_plugintypestatistic")]
		public Xrm.PluginType plugintype_plugintypestatistic
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PluginType>("plugintype_plugintypestatistic", null);
			}
		}
	}
	
	/// <summary>
	/// Wpis w źródle działania.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("post")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("PostSet")]
	public partial class Post : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Post() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "post";
		
		public const int EntityTypeCode = 8000;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który zmodyfikował rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina modyfikacji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który zmodyfikował rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z rozwiązaniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator wystąpień encji
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("postid")]
		public System.Nullable<System.Guid> PostId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("postid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("PostId", "postid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("postid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.PostId = value;
			}
		}
		
		/// <summary>
		/// Identyfikator obiektu RegardingObject
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		public Microsoft.Xrm.Client.CrmEntityReference RegardingObjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("regardingobjectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RegardingObjectId", "regardingobjectid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, który jest właścicielem obiektu odnośnego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference RegardingObjectOwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("regardingobjectownerid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem obiektu odnośnego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectowningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference RegardingObjectOwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("regardingobjectowningbusinessunit");
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy wpis został utworzony ręcznie, czy automatycznie. 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("source")]
		public System.Nullable<int> Source
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("source");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Source", "source", value);
			}
		}
		
		/// <summary>
		/// Tekst wpisu. W przypadku wpisów ręcznych wartości mają format zwykłego tekstu. W przypadku wpisów automatycznych wartości mają format XML.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("text")]
		public string Text
		{
			get
			{
				return this.GetAttributeValue<string>("text");
			}
			set
			{
				this.SetAttributeValue<string>("Text", "text", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Informacja o typie wpisu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("type")]
		public System.Nullable<int> Type
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("type");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Type", "type", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// 1:N post_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("post_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> post_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("post_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("post_AsyncOperations", "post_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N post_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("post_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> post_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("post_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("post_BulkDeleteFailures", "post_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Post_Comments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Post_Comments")]
		public System.Collections.Generic.IEnumerable<Xrm.PostComment> Post_Comments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PostComment>("Post_Comments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PostComment>("Post_Comments", "Post_Comments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Post_Likes
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Post_Likes")]
		public System.Collections.Generic.IEnumerable<Xrm.PostLike> Post_Likes
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PostLike>("Post_Likes", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PostLike>("Post_Likes", "Post_Likes", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_post_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_post_createdby")]
		public Xrm.SystemUser lk_post_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_post_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_post_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_post_createdonbehalfby")]
		public Xrm.SystemUser lk_post_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_post_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_post_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_post_modifiedby")]
		public Xrm.SystemUser lk_post_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_post_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_post_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_post_modifiedonbehalfby")]
		public Xrm.SystemUser lk_post_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_post_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_post
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_post")]
		public Xrm.Organization organization_post
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_post", null);
			}
		}
	}
	
	/// <summary>
	/// Komentarz dotyczący wpisu w źródle działania.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("postcomment")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("PostCommentSet")]
	public partial class PostComment : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public PostComment() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "postcomment";
		
		public const int EntityTypeCode = 8005;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z rozwiązaniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator wystąpień encji
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("postcommentid")]
		public System.Nullable<System.Guid> PostCommentId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("postcommentid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("PostCommentId", "postcommentid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("postcommentid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.PostCommentId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator wpisu, z którym jest skojarzony komentarz.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("postid")]
		public Microsoft.Xrm.Client.CrmEntityReference PostId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("postid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("PostId", "postid", value);
			}
		}
		
		/// <summary>
		/// Tekst komentarza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("text")]
		public string Text
		{
			get
			{
				return this.GetAttributeValue<string>("text");
			}
			set
			{
				this.SetAttributeValue<string>("Text", "text", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// N:1 lk_postcomment_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_postcomment_createdby")]
		public Xrm.SystemUser lk_postcomment_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_postcomment_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_postcomment_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_postcomment_createdonbehalfby")]
		public Xrm.SystemUser lk_postcomment_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_postcomment_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_PostComment
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_PostComment")]
		public Xrm.Organization organization_PostComment
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_PostComment", null);
			}
		}
		
		/// <summary>
		/// N:1 Post_Comments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("postid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Post_Comments")]
		public Xrm.Post Post_Comments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Post>("Post_Comments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Post>("Post_Comments", "Post_Comments", null, value);
			}
		}
	}
	
	/// <summary>
	/// Reprezentuje użytkownika, który obserwuje źródło działania obiektu.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("postfollow")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("PostFollowSet")]
	public partial class PostFollow : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public PostFollow() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "postfollow";
		
		public const int EntityTypeCode = 8003;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, który jest właścicielem obserwowanego obiektu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej będącej właścicielem rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, który jest właścicielem obserwowanego obiektu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika będącego właścicielem rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator wystąpień encji
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("postfollowid")]
		public System.Nullable<System.Guid> PostFollowId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("postfollowid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("PostFollowId", "postfollowid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("postfollowid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.PostFollowId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obserwowanego obiektu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		public Microsoft.Xrm.Client.CrmEntityReference RegardingObjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("regardingobjectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RegardingObjectId", "regardingobjectid", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// 1:N PostFollow_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("PostFollow_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> PostFollow_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("PostFollow_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("PostFollow_AsyncOperations", "PostFollow_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 account_PostFollows
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("account_PostFollows")]
		public Xrm.Account account_PostFollows
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("account_PostFollows", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("account_PostFollows", "account_PostFollows", null, value);
			}
		}
		
		/// <summary>
		/// N:1 appointment_PostFollows
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("appointment_PostFollows")]
		public Xrm.Appointment appointment_PostFollows
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Appointment>("appointment_PostFollows", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Appointment>("appointment_PostFollows", "appointment_PostFollows", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_postfollows
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_postfollows")]
		public Xrm.BusinessUnit business_unit_postfollows
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_postfollows", null);
			}
		}
		
		/// <summary>
		/// N:1 contact_PostFollows
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contact_PostFollows")]
		public Xrm.Contact contact_PostFollows
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("contact_PostFollows", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("contact_PostFollows", "contact_PostFollows", null, value);
			}
		}
		
		/// <summary>
		/// N:1 incident_PostFollows
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("incident_PostFollows")]
		public Xrm.Incident incident_PostFollows
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Incident>("incident_PostFollows", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Incident>("incident_PostFollows", "incident_PostFollows", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lead_PostFollows
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lead_PostFollows")]
		public Xrm.Lead lead_PostFollows
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Lead>("lead_PostFollows", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Lead>("lead_PostFollows", "lead_PostFollows", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_PostFollow_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_PostFollow_createdby")]
		public Xrm.SystemUser lk_PostFollow_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_PostFollow_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_postfollow_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_postfollow_createdonbehalfby")]
		public Xrm.SystemUser lk_postfollow_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_postfollow_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 opportunity_PostFollows
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunity_PostFollows")]
		public Xrm.Opportunity opportunity_PostFollows
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Opportunity>("opportunity_PostFollows", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Opportunity>("opportunity_PostFollows", "opportunity_PostFollows", null, value);
			}
		}
		
		/// <summary>
		/// N:1 phonecall_PostFollows
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("phonecall_PostFollows")]
		public Xrm.PhoneCall phonecall_PostFollows
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PhoneCall>("phonecall_PostFollows", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PhoneCall>("phonecall_PostFollows", "phonecall_PostFollows", null, value);
			}
		}
		
		/// <summary>
		/// N:1 processsession_PostFollows
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("processsession_PostFollows")]
		public Xrm.ProcessSession processsession_PostFollows
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ProcessSession>("processsession_PostFollows", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ProcessSession>("processsession_PostFollows", "processsession_PostFollows", null, value);
			}
		}
		
		/// <summary>
		/// N:1 queue_PostFollows
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("queue_PostFollows")]
		public Xrm.Queue queue_PostFollows
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Queue>("queue_PostFollows", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Queue>("queue_PostFollows", "queue_PostFollows", null, value);
			}
		}
		
		/// <summary>
		/// N:1 recurringappointmentmaster_PostFollows
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("recurringappointmentmaster_PostFollows")]
		public Xrm.RecurringAppointmentMaster recurringappointmentmaster_PostFollows
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RecurringAppointmentMaster>("recurringappointmentmaster_PostFollows", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.RecurringAppointmentMaster>("recurringappointmentmaster_PostFollows", "recurringappointmentmaster_PostFollows", null, value);
			}
		}
		
		/// <summary>
		/// N:1 systemuser_PostFollows
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("systemuser_PostFollows")]
		public Xrm.SystemUser systemuser_PostFollows
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("systemuser_PostFollows", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("systemuser_PostFollows", "systemuser_PostFollows", null, value);
			}
		}
		
		/// <summary>
		/// N:1 task_PostFollows
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("task_PostFollows")]
		public Xrm.Task task_PostFollows
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Task>("task_PostFollows", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Task>("task_PostFollows", "task_PostFollows", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_postfollows
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_postfollows")]
		public Xrm.Team team_postfollows
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_postfollows", null);
			}
		}
		
		/// <summary>
		/// N:1 user_owner_postfollows
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_owner_postfollows")]
		public Xrm.SystemUser user_owner_postfollows
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_owner_postfollows", null);
			}
		}
	}
	
	/// <summary>
	/// Podobający się wpis w źródle działania.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("postlike")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("PostLikeSet")]
	public partial class PostLike : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public PostLike() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "postlike";
		
		public const int EntityTypeCode = 8006;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z rozwiązaniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator podobającego się wpisu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("postid")]
		public Microsoft.Xrm.Client.CrmEntityReference PostId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("postid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("PostId", "postid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator wystąpień encji
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("postlikeid")]
		public System.Nullable<System.Guid> PostLikeId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("postlikeid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("PostLikeId", "postlikeid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("postlikeid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.PostLikeId = value;
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// N:1 lk_postlike_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_postlike_createdby")]
		public Xrm.SystemUser lk_postlike_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_postlike_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_postlike_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_postlike_createdonbehalfby")]
		public Xrm.SystemUser lk_postlike_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_postlike_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_postlike
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_postlike")]
		public Xrm.Organization organization_postlike
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_postlike", null);
			}
		}
		
		/// <summary>
		/// N:1 Post_Likes
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("postid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Post_Likes")]
		public Xrm.Post Post_Likes
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Post>("Post_Likes", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Post>("Post_Likes", "Post_Likes", null, value);
			}
		}
	}
	
	/// <summary>
	/// Encja definiująca poziomy cen.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("pricelevel")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("PriceLevelSet")]
	public partial class PriceLevel : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public PriceLevel() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "pricelevel";
		
		public const int EntityTypeCode = 1022;
		
		/// <summary>
		/// Data, gdy cennik staje się obowiązujący.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("begindate")]
		public System.Nullable<System.DateTime> BeginDate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("begindate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("BeginDate", "begindate", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył cennik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia cennika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył poziom cen.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis cennika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Data ostatniego dnia obowiązywania cennika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("enddate")]
		public System.Nullable<System.DateTime> EndDate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("enddate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("EndDate", "enddate", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Warunki frachtu dla cennika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("freighttermscode")]
		public System.Nullable<int> FreightTermsCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("freighttermscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("FreightTermsCode", "freighttermscode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował cennik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji cennika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował poziom cen.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa cennika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z cennikiem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Warunki płatności stosowane z cennikiem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("paymentmethodcode")]
		public System.Nullable<int> PaymentMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("paymentmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PaymentMethodCode", "paymentmethodcode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator cennika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pricelevelid")]
		public System.Nullable<System.Guid> PriceLevelId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("pricelevelid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("PriceLevelId", "pricelevelid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pricelevelid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.PriceLevelId = value;
			}
		}
		
		/// <summary>
		/// Metoda wysyłki produktów z cennika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shippingmethodcode")]
		public System.Nullable<int> ShippingMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("shippingmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ShippingMethodCode", "shippingmethodcode", value);
			}
		}
		
		/// <summary>
		/// Stan cennika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu cennika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z poziomem ceny.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji poziomu cen.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N price_level_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("price_level_accounts")]
		public System.Collections.Generic.IEnumerable<Xrm.Account> price_level_accounts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Account>("price_level_accounts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Account>("price_level_accounts", "price_level_accounts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N price_level_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("price_level_contacts")]
		public System.Collections.Generic.IEnumerable<Xrm.Contact> price_level_contacts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contact>("price_level_contacts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contact>("price_level_contacts", "price_level_contacts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N price_level_invoices
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("price_level_invoices")]
		public System.Collections.Generic.IEnumerable<Xrm.Invoice> price_level_invoices
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Invoice>("price_level_invoices", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Invoice>("price_level_invoices", "price_level_invoices", null, value);
			}
		}
		
		/// <summary>
		/// 1:N price_level_opportunties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("price_level_opportunties")]
		public System.Collections.Generic.IEnumerable<Xrm.Opportunity> price_level_opportunties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Opportunity>("price_level_opportunties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Opportunity>("price_level_opportunties", "price_level_opportunties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N price_level_orders
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("price_level_orders")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesOrder> price_level_orders
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesOrder>("price_level_orders", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesOrder>("price_level_orders", "price_level_orders", null, value);
			}
		}
		
		/// <summary>
		/// 1:N price_level_product_price_levels
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("price_level_product_price_levels")]
		public System.Collections.Generic.IEnumerable<Xrm.ProductPriceLevel> price_level_product_price_levels
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProductPriceLevel>("price_level_product_price_levels", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProductPriceLevel>("price_level_product_price_levels", "price_level_product_price_levels", null, value);
			}
		}
		
		/// <summary>
		/// 1:N price_level_products
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("price_level_products")]
		public System.Collections.Generic.IEnumerable<Xrm.Product> price_level_products
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Product>("price_level_products", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Product>("price_level_products", "price_level_products", null, value);
			}
		}
		
		/// <summary>
		/// 1:N price_level_quotes
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("price_level_quotes")]
		public System.Collections.Generic.IEnumerable<Xrm.Quote> price_level_quotes
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Quote>("price_level_quotes", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Quote>("price_level_quotes", "price_level_quotes", null, value);
			}
		}
		
		/// <summary>
		/// 1:N PriceLevel_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("PriceLevel_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> PriceLevel_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("PriceLevel_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("PriceLevel_AsyncOperations", "PriceLevel_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N PriceLevel_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("PriceLevel_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> PriceLevel_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("PriceLevel_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("PriceLevel_BulkDeleteFailures", "PriceLevel_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N pricelevel_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("pricelevel_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> pricelevel_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("pricelevel_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("pricelevel_principalobjectattributeaccess", "pricelevel_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N PriceLevel_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("PriceLevel_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> PriceLevel_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("PriceLevel_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("PriceLevel_ProcessSessions", "PriceLevel_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N PriceList_Campaigns
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("PriceList_Campaigns")]
		public System.Collections.Generic.IEnumerable<Xrm.Campaign> PriceList_Campaigns
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Campaign>("PriceList_Campaigns", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Campaign>("PriceList_Campaigns", "PriceList_Campaigns", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_pricelevel
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_pricelevel")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_pricelevel
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_pricelevel", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_pricelevel", "userentityinstancedata_pricelevel", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_pricelevel_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_pricelevel_createdonbehalfby")]
		public Xrm.SystemUser lk_pricelevel_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_pricelevel_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_pricelevel_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_pricelevel_modifiedonbehalfby")]
		public Xrm.SystemUser lk_pricelevel_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_pricelevel_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_pricelevelbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_pricelevelbase_createdby")]
		public Xrm.SystemUser lk_pricelevelbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_pricelevelbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_pricelevelbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_pricelevelbase_modifiedby")]
		public Xrm.SystemUser lk_pricelevelbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_pricelevelbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_price_levels
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_price_levels")]
		public Xrm.Organization organization_price_levels
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_price_levels", null);
			}
		}
		
		/// <summary>
		/// N:1 transactioncurrency_pricelevel
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_pricelevel")]
		public Xrm.TransactionCurrency transactioncurrency_pricelevel
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_pricelevel", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_pricelevel", "transactioncurrency_pricelevel", null, value);
			}
		}
	}
	
	/// <summary>
	/// Mapuj podmioty zabezpieczeń (użytkowników i zespoły) programu CRM na encje, których właścicielami są użytkownicy/zespoły, z podstawowym uprawnieniem do odczytu.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("principalentitymap")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("PrincipalEntityMapSet")]
	public partial class PrincipalEntityMap : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public PrincipalEntityMap() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "principalentitymap";
		
		public const int EntityTypeCode = 41;
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objecttypecode")]
		public string ObjectTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("objecttypecode");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("principalentitymapid")]
		public System.Nullable<System.Guid> PrincipalEntityMapId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("principalentitymapid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("PrincipalEntityMapId", "principalentitymapid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("principalentitymapid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.PrincipalEntityMapId = value;
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("principalid")]
		public System.Nullable<System.Guid> PrincipalId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("principalid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_principalentitymap
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_principalentitymap")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_principalentitymap
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_principalentitymap", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_principalentitymap", "userentityinstancedata_principalentitymap", null, value);
			}
		}
	}
	
	/// <summary>
	/// Definiuje prawa dostępu podmiotów zabezpieczeń (użytkowników i zespołów) programu CRM do zabezpieczonego pola w wystąpieniu encji.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("principalobjectattributeaccess")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("PrincipalObjectAttributeAccessSet")]
	public partial class PrincipalObjectAttributeAccess : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public PrincipalObjectAttributeAccess() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "principalobjectattributeaccess";
		
		public const int EntityTypeCode = 44;
		
		/// <summary>
		/// Unikatowy identyfikator udostępnionego zabezpieczonego pola
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("attributeid")]
		public System.Nullable<System.Guid> AttributeId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("attributeid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("AttributeId", "attributeid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator wystąpienia encji z udostępnionym zabezpieczonym polem
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		public Microsoft.Xrm.Client.CrmEntityReference ObjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("objectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ObjectId", "objectid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonej organizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator podmiotu, któremu jest udostępnione zabezpieczone pole
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("principalid")]
		public Microsoft.Xrm.Client.CrmEntityReference PrincipalId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("principalid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("PrincipalId", "principalid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator wystąpienia udostępnionego zabezpieczonego pola
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("principalobjectattributeaccessid")]
		public System.Nullable<System.Guid> PrincipalObjectAttributeAccessId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("principalobjectattributeaccessid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("PrincipalObjectAttributeAccessId", "principalobjectattributeaccessid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("principalobjectattributeaccessid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.PrincipalObjectAttributeAccessId = value;
			}
		}
		
		/// <summary>
		/// Uprawnienie do odczytu wystąpienia zabezpieczonego pola
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("readaccess")]
		public System.Nullable<bool> ReadAccess
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("readaccess");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("ReadAccess", "readaccess", value);
			}
		}
		
		/// <summary>
		/// Uprawnienie do aktualizacji wystąpienia zabezpieczonego pola
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("updateaccess")]
		public System.Nullable<bool> UpdateAccess
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("updateaccess");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("UpdateAccess", "updateaccess", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_principalobjectattributeaccess", "userentityinstancedata_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 account_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("account_principalobjectattributeaccess")]
		public Xrm.Account account_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("account_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("account_principalobjectattributeaccess", "account_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 appointment_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("appointment_principalobjectattributeaccess")]
		public Xrm.Appointment appointment_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Appointment>("appointment_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Appointment>("appointment_principalobjectattributeaccess", "appointment_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 businessunit_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("businessunit_principalobjectattributeaccess")]
		public Xrm.BusinessUnit businessunit_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("businessunit_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BusinessUnit>("businessunit_principalobjectattributeaccess", "businessunit_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 campaign_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaign_principalobjectattributeaccess")]
		public Xrm.Campaign campaign_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Campaign>("campaign_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Campaign>("campaign_principalobjectattributeaccess", "campaign_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 campaignactivity_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaignactivity_principalobjectattributeaccess")]
		public Xrm.CampaignActivity campaignactivity_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignActivity>("campaignactivity_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CampaignActivity>("campaignactivity_principalobjectattributeaccess", "campaignactivity_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 campaignresponse_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaignresponse_principalobjectattributeaccess")]
		public Xrm.CampaignResponse campaignresponse_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignResponse>("campaignresponse_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CampaignResponse>("campaignresponse_principalobjectattributeaccess", "campaignresponse_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 competitor_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("competitor_principalobjectattributeaccess")]
		public Xrm.Competitor competitor_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Competitor>("competitor_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Competitor>("competitor_principalobjectattributeaccess", "competitor_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 connection_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("connection_principalobjectattributeaccess")]
		public Xrm.Connection connection_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Connection>("connection_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Connection>("connection_principalobjectattributeaccess", "connection_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 contact_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contact_principalobjectattributeaccess")]
		public Xrm.Contact contact_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("contact_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("contact_principalobjectattributeaccess", "contact_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 contract_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contract_principalobjectattributeaccess")]
		public Xrm.Contract contract_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contract>("contract_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contract>("contract_principalobjectattributeaccess", "contract_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 contractdetail_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contractdetail_principalobjectattributeaccess")]
		public Xrm.ContractDetail contractdetail_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ContractDetail>("contractdetail_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ContractDetail>("contractdetail_principalobjectattributeaccess", "contractdetail_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 customeraddress_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("customeraddress_principalobjectattributeaccess")]
		public Xrm.CustomerAddress customeraddress_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CustomerAddress>("customeraddress_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CustomerAddress>("customeraddress_principalobjectattributeaccess", "customeraddress_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 email_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("email_principalobjectattributeaccess")]
		public Xrm.Email email_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Email>("email_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Email>("email_principalobjectattributeaccess", "email_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 equipment_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("equipment_principalobjectattributeaccess")]
		public Xrm.Equipment equipment_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Equipment>("equipment_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Equipment>("equipment_principalobjectattributeaccess", "equipment_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 fax_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("fax_principalobjectattributeaccess")]
		public Xrm.Fax fax_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Fax>("fax_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Fax>("fax_principalobjectattributeaccess", "fax_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 goal_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goal_principalobjectattributeaccess")]
		public Xrm.Goal goal_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Goal>("goal_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Goal>("goal_principalobjectattributeaccess", "goal_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 incident_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("incident_principalobjectattributeaccess")]
		public Xrm.Incident incident_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Incident>("incident_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Incident>("incident_principalobjectattributeaccess", "incident_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 invoice_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("invoice_principalobjectattributeaccess")]
		public Xrm.Invoice invoice_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Invoice>("invoice_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Invoice>("invoice_principalobjectattributeaccess", "invoice_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 invoicedetail_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("invoicedetail_principalobjectattributeaccess")]
		public Xrm.InvoiceDetail invoicedetail_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.InvoiceDetail>("invoicedetail_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.InvoiceDetail>("invoicedetail_principalobjectattributeaccess", "invoicedetail_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 kbarticle_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("kbarticle_principalobjectattributeaccess")]
		public Xrm.KbArticle kbarticle_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.KbArticle>("kbarticle_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.KbArticle>("kbarticle_principalobjectattributeaccess", "kbarticle_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lead_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lead_principalobjectattributeaccess")]
		public Xrm.Lead lead_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Lead>("lead_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Lead>("lead_principalobjectattributeaccess", "lead_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 letter_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("letter_principalobjectattributeaccess")]
		public Xrm.Letter letter_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Letter>("letter_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Letter>("letter_principalobjectattributeaccess", "letter_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 list_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("list_principalobjectattributeaccess")]
		public Xrm.List list_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.List>("list_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.List>("list_principalobjectattributeaccess", "list_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_principalobjectattributeaccess_organizationid
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_principalobjectattributeaccess_organizationid")]
		public Xrm.Organization lk_principalobjectattributeaccess_organizationid
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("lk_principalobjectattributeaccess_organizationid", null);
			}
		}
		
		/// <summary>
		/// N:1 mailmergetemplate_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("mailmergetemplate_principalobjectattributeaccess")]
		public Xrm.MailMergeTemplate mailmergetemplate_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.MailMergeTemplate>("mailmergetemplate_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.MailMergeTemplate>("mailmergetemplate_principalobjectattributeaccess", "mailmergetemplate_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postalbum_PrincipalObjectAttributeAccesses
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_PrincipalObjectAttributeAccesses")]
		public Xrm.msdyn_PostAlbum msdyn_postalbum_PrincipalObjectAttributeAccesses
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_PrincipalObjectAttributeAccesses", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_PrincipalObjectAttributeAccesses", "msdyn_postalbum_PrincipalObjectAttributeAccesses", null, value);
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postconfig_PrincipalObjectAttributeAccesses
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postconfig_PrincipalObjectAttributeAccesses")]
		public Xrm.msdyn_PostConfig msdyn_postconfig_PrincipalObjectAttributeAccesses
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostConfig>("msdyn_postconfig_PrincipalObjectAttributeAccesses", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.msdyn_PostConfig>("msdyn_postconfig_PrincipalObjectAttributeAccesses", "msdyn_postconfig_PrincipalObjectAttributeAccesses", null, value);
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postruleconfig_PrincipalObjectAttributeAccesses
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postruleconfig_PrincipalObjectAttributeAccesses")]
		public Xrm.msdyn_PostRuleConfig msdyn_postruleconfig_PrincipalObjectAttributeAccesses
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostRuleConfig>("msdyn_postruleconfig_PrincipalObjectAttributeAccesses", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.msdyn_PostRuleConfig>("msdyn_postruleconfig_PrincipalObjectAttributeAccesses", "msdyn_postruleconfig_PrincipalObjectAttributeAccesses", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownicy_PrincipalObjectAttributeAccesses
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_PrincipalObjectAttributeAccesses")]
		public Xrm.new_uzytkownicy new_uzytkownicy_PrincipalObjectAttributeAccesses
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_PrincipalObjectAttributeAccesses", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_PrincipalObjectAttributeAccesses", "new_uzytkownicy_PrincipalObjectAttributeAccesses", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownikkontakty_PrincipalObjectAttributeAccesses
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_PrincipalObjectAttributeAccesses")]
		public Xrm.new_uzytkownikkontakty new_uzytkownikkontakty_PrincipalObjectAttributeAccesses
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_PrincipalObjectAttributeAccesses", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_PrincipalObjectAttributeAccesses", "new_uzytkownikkontakty_PrincipalObjectAttributeAccesses", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_zainteresowanie_PrincipalObjectAttributeAccesses
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_PrincipalObjectAttributeAccesses")]
		public Xrm.new_zainteresowanie new_zainteresowanie_PrincipalObjectAttributeAccesses
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_PrincipalObjectAttributeAccesses", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_PrincipalObjectAttributeAccesses", "new_zainteresowanie_PrincipalObjectAttributeAccesses", null, value);
			}
		}
		
		/// <summary>
		/// N:1 opportunity_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunity_principalobjectattributeaccess")]
		public Xrm.Opportunity opportunity_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Opportunity>("opportunity_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Opportunity>("opportunity_principalobjectattributeaccess", "opportunity_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 opportunityproduct_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunityproduct_principalobjectattributeaccess")]
		public Xrm.OpportunityProduct opportunityproduct_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.OpportunityProduct>("opportunityproduct_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.OpportunityProduct>("opportunityproduct_principalobjectattributeaccess", "opportunityproduct_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 phonecall_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("phonecall_principalobjectattributeaccess")]
		public Xrm.PhoneCall phonecall_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PhoneCall>("phonecall_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PhoneCall>("phonecall_principalobjectattributeaccess", "phonecall_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 pricelevel_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("pricelevel_principalobjectattributeaccess")]
		public Xrm.PriceLevel pricelevel_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PriceLevel>("pricelevel_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PriceLevel>("pricelevel_principalobjectattributeaccess", "pricelevel_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 product_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("product_principalobjectattributeaccess")]
		public Xrm.Product product_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Product>("product_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Product>("product_principalobjectattributeaccess", "product_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 queue_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("queue_principalobjectattributeaccess")]
		public Xrm.Queue queue_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Queue>("queue_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Queue>("queue_principalobjectattributeaccess", "queue_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 queueitem_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("queueitem_principalobjectattributeaccess")]
		public Xrm.QueueItem queueitem_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.QueueItem>("queueitem_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.QueueItem>("queueitem_principalobjectattributeaccess", "queueitem_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 quote_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("quote_principalobjectattributeaccess")]
		public Xrm.Quote quote_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Quote>("quote_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Quote>("quote_principalobjectattributeaccess", "quote_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 quotedetail_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("quotedetail_principalobjectattributeaccess")]
		public Xrm.QuoteDetail quotedetail_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.QuoteDetail>("quotedetail_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.QuoteDetail>("quotedetail_principalobjectattributeaccess", "quotedetail_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 recurringappointmentmaster_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("recurringappointmentmaster_principalobjectattributeaccess")]
		public Xrm.RecurringAppointmentMaster recurringappointmentmaster_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RecurringAppointmentMaster>("recurringappointmentmaster_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.RecurringAppointmentMaster>("recurringappointmentmaster_principalobjectattributeaccess", "recurringappointmentmaster_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 reportcategory_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("reportcategory_principalobjectattributeaccess")]
		public Xrm.ReportCategory reportcategory_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ReportCategory>("reportcategory_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ReportCategory>("reportcategory_principalobjectattributeaccess", "reportcategory_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 salesliterature_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("salesliterature_principalobjectattributeaccess")]
		public Xrm.SalesLiterature salesliterature_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesLiterature>("salesliterature_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesLiterature>("salesliterature_principalobjectattributeaccess", "salesliterature_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 salesorder_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("salesorder_principalobjectattributeaccess")]
		public Xrm.SalesOrder salesorder_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesOrder>("salesorder_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesOrder>("salesorder_principalobjectattributeaccess", "salesorder_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 salesorderdetail_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("salesorderdetail_principalobjectattributeaccess")]
		public Xrm.SalesOrderDetail salesorderdetail_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesOrderDetail>("salesorderdetail_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesOrderDetail>("salesorderdetail_principalobjectattributeaccess", "salesorderdetail_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 serviceappointment_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("serviceappointment_principalobjectattributeaccess")]
		public Xrm.ServiceAppointment serviceappointment_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ServiceAppointment>("serviceappointment_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ServiceAppointment>("serviceappointment_principalobjectattributeaccess", "serviceappointment_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 sharepointdocumentlocation_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sharepointdocumentlocation_principalobjectattributeaccess")]
		public Xrm.SharePointDocumentLocation sharepointdocumentlocation_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SharePointDocumentLocation>("sharepointdocumentlocation_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SharePointDocumentLocation>("sharepointdocumentlocation_principalobjectattributeaccess", "sharepointdocumentlocation_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 sharepointsite_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sharepointsite_principalobjectattributeaccess")]
		public Xrm.SharePointSite sharepointsite_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SharePointSite>("sharepointsite_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SharePointSite>("sharepointsite_principalobjectattributeaccess", "sharepointsite_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 systemuser_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("systemuser_principalobjectattributeaccess")]
		public Xrm.SystemUser systemuser_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("systemuser_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("systemuser_principalobjectattributeaccess", "systemuser_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 systemuser_principalobjectattributeaccess_principalid
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("principalid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("systemuser_principalobjectattributeaccess_principalid")]
		public Xrm.SystemUser systemuser_principalobjectattributeaccess_principalid
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("systemuser_principalobjectattributeaccess_principalid", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("systemuser_principalobjectattributeaccess_principalid", "systemuser_principalobjectattributeaccess_principalid", null, value);
			}
		}
		
		/// <summary>
		/// N:1 task_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("task_principalobjectattributeaccess")]
		public Xrm.Task task_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Task>("task_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Task>("task_principalobjectattributeaccess", "task_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_principalobjectattributeaccess")]
		public Xrm.Team team_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Team>("team_principalobjectattributeaccess", "team_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_principalobjectattributeaccess_principalid
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("principalid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_principalobjectattributeaccess_principalid")]
		public Xrm.Team team_principalobjectattributeaccess_principalid
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_principalobjectattributeaccess_principalid", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Team>("team_principalobjectattributeaccess_principalid", "team_principalobjectattributeaccess_principalid", null, value);
			}
		}
		
		/// <summary>
		/// N:1 territory_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("territory_principalobjectattributeaccess")]
		public Xrm.Territory territory_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Territory>("territory_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Territory>("territory_principalobjectattributeaccess", "territory_principalobjectattributeaccess", null, value);
			}
		}
	}
	
	/// <summary>
	/// Uprawnienie do wykonania akcji w programie Microsoft CRM. Platforma sprawdza uprawnienie i odrzuca próbę, jeśli użytkownik nie ma uprawnienia.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("privilege")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("PrivilegeSet")]
	public partial class Privilege : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Privilege() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "privilege";
		
		public const int EntityTypeCode = 1023;
		
		/// <summary>
		/// Prawa użytkownika do wystąpienia encji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("accessright")]
		public System.Nullable<int> AccessRight
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("accessright");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("AccessRight", "accessright", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy uprawnienie stosuje się do użytkownika, zespołu użytkownika czy encji udostępnianych przez użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("canbebasic")]
		public System.Nullable<bool> CanBeBasic
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("canbebasic");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("CanBeBasic", "canbebasic", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy uprawnienie stosuje się do podrzędnych jednostek biznesowych jednostki biznesowej skojarzonej z użytkownikiem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("canbedeep")]
		public System.Nullable<bool> CanBeDeep
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("canbedeep");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("CanBeDeep", "canbedeep", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy uprawnienie stosuje się do całej organizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("canbeglobal")]
		public System.Nullable<bool> CanBeGlobal
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("canbeglobal");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("CanBeGlobal", "canbeglobal", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy uprawnienie stosuje się do jednostki biznesowej użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("canbelocal")]
		public System.Nullable<bool> CanBeLocal
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("canbelocal");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("CanBeLocal", "canbelocal", value);
			}
		}
		
		/// <summary>
		/// Nazwa uprawnienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator uprawnienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("privilegeid")]
		public System.Nullable<System.Guid> PrivilegeId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("privilegeid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("PrivilegeId", "privilegeid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("privilegeid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.PrivilegeId = value;
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N Privilege_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Privilege_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Privilege_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Privilege_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Privilege_AsyncOperations", "Privilege_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Privilege_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Privilege_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Privilege_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Privilege_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Privilege_BulkDeleteFailures", "Privilege_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_privilege
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_privilege")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_privilege
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_privilege", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_privilege", "userentityinstancedata_privilege", null, value);
			}
		}
		
		/// <summary>
		/// N:N roleprivileges_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("roleprivileges_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Role> roleprivileges_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Role>("roleprivileges_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Role>("roleprivileges_association", "roleprivileges_association", null, value);
			}
		}
	}
	
	/// <summary>
	/// Informacja generowana przy uruchamianiu dialogu. Każde uruchomienie dialogu przez użytkownika powoduje utworzenie sesji.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("processsession")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ProcessSessionSet")]
	public partial class ProcessSession : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ProcessSession() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "processsession";
		
		public const int EntityTypeCode = 4710;
		
		/// <summary>
		/// Nazwa wykonywanego działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityname")]
		public string ActivityName
		{
			get
			{
				return this.GetAttributeValue<string>("activityname");
			}
			set
			{
				this.SetAttributeValue<string>("ActivityName", "activityname", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który anulował sesję dialogową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("canceledby")]
		public Microsoft.Xrm.Client.CrmEntityReference CanceledBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("canceledby");
			}
		}
		
		/// <summary>
		/// Data i godzina anulowania sesji dialogowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("canceledon")]
		public System.Nullable<System.DateTime> CanceledOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("canceledon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("CanceledOn", "canceledon", value);
			}
		}
		
		/// <summary>
		/// Komentarze użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("comments")]
		public string Comments
		{
			get
			{
				return this.GetAttributeValue<string>("comments");
			}
			set
			{
				this.SetAttributeValue<string>("Comments", "comments", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który zakończył sesję dialogową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("completedby")]
		public Microsoft.Xrm.Client.CrmEntityReference CompletedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("completedby");
			}
		}
		
		/// <summary>
		/// Data i godzina zakończenia sesji dialogowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("completedon")]
		public System.Nullable<System.DateTime> CompletedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("completedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("CompletedOn", "completedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który rozpoczął sesję dialogową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia sesji dialogowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył sesję dialogową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Kod błędu związany z sesją dialogową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("errorcode")]
		public System.Nullable<int> ErrorCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("errorcode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ErrorCode", "errorcode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który uruchomił proces dialogu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("executedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ExecutedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("executedby");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ExecutedBy", "executedby", value);
			}
		}
		
		/// <summary>
		/// Data i godzina uruchomienia procesu dialogu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("executedon")]
		public System.Nullable<System.DateTime> ExecutedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("executedon");
			}
		}
		
		/// <summary>
		/// Argumenty wejściowe procesu dialogu podrzędnego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("inputarguments")]
		public string InputArguments
		{
			get
			{
				return this.GetAttributeValue<string>("inputarguments");
			}
			set
			{
				this.SetAttributeValue<string>("InputArguments", "inputarguments", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował sesję dialogu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji sesji dialogowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który zmodyfikował sesję dialogową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa sesji dialogowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator następnej połączonej sesji dialogowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("nextlinkedsessionid")]
		public Microsoft.Xrm.Client.CrmEntityReference NextLinkedSessionId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("nextlinkedsessionid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("NextLinkedSessionId", "nextlinkedsessionid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator źródłowej sesji dialogowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("originatingsessionid")]
		public Microsoft.Xrm.Client.CrmEntityReference OriginatingSessionId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("originatingsessionid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OriginatingSessionId", "originatingsessionid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, do którego należy sesja dialogowa.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, do której należy sesja dialogowa.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, do którego należy sesja dialogowa.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, do którego należy sesja dialogowa.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator poprzedniej połączonej sesji dialogowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("previouslinkedsessionid")]
		public Microsoft.Xrm.Client.CrmEntityReference PreviousLinkedSessionId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("previouslinkedsessionid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("PreviousLinkedSessionId", "previouslinkedsessionid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator rekordu aktywacji procesu powiązany z sesją dialogową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("processid")]
		public Microsoft.Xrm.Client.CrmEntityReference ProcessId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("processid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ProcessId", "processid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator sesji dialogowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("processsessionid")]
		public System.Nullable<System.Guid> ProcessSessionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("processsessionid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ProcessSessionId", "processsessionid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("processsessionid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ProcessSessionId = value;
			}
		}
		
		/// <summary>
		/// Nazwa etapu dialogu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("processstagename")]
		public string ProcessStageName
		{
			get
			{
				return this.GetAttributeValue<string>("processstagename");
			}
			set
			{
				this.SetAttributeValue<string>("ProcessStageName", "processstagename", value);
			}
		}
		
		/// <summary>
		/// Stan procesu dialogu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("processstate")]
		public string ProcessState
		{
			get
			{
				return this.GetAttributeValue<string>("processstate");
			}
			set
			{
				this.SetAttributeValue<string>("ProcessState", "processstate", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obiektu, z którym jest skojarzona sesja dialogowa.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		public Microsoft.Xrm.Client.CrmEntityReference RegardingObjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("regardingobjectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RegardingObjectId", "regardingobjectid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który rozpoczął sesję dialogową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("startedby")]
		public Microsoft.Xrm.Client.CrmEntityReference StartedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("startedby");
			}
		}
		
		/// <summary>
		/// Data i godzina rozpoczęcia sesji dialogowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("startedon")]
		public System.Nullable<System.DateTime> StartedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("startedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("StartedOn", "startedon", value);
			}
		}
		
		/// <summary>
		/// Stan sesji dialogowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu sesji dialogowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Nazwa kroku dialogu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("stepname")]
		public string StepName
		{
			get
			{
				return this.GetAttributeValue<string>("stepname");
			}
			set
			{
				this.SetAttributeValue<string>("StepName", "stepname", value);
			}
		}
		
		/// <summary>
		/// 1:N lk_processsession_nextlinkedsessionid
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_processsession_nextlinkedsessionid", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Referencedlk_processsession_nextlinkedsessionid
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("lk_processsession_nextlinkedsessionid", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Referencedlk_processsession_nextlinkedsessionid", "lk_processsession_nextlinkedsessionid", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_processsession_originatingsessionid
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_processsession_originatingsessionid", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Referencedlk_processsession_originatingsessionid
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("lk_processsession_originatingsessionid", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Referencedlk_processsession_originatingsessionid", "lk_processsession_originatingsessionid", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_processsession_previouslinkedsessionid
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_processsession_previouslinkedsessionid", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Referencedlk_processsession_previouslinkedsessionid
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("lk_processsession_previouslinkedsessionid", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Referencedlk_processsession_previouslinkedsessionid", "lk_processsession_previouslinkedsessionid", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_workflowlog_processsession
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_workflowlog_processsession")]
		public System.Collections.Generic.IEnumerable<Xrm.WorkflowLog> lk_workflowlog_processsession
		{
			get
			{
				return this.GetRelatedEntities<Xrm.WorkflowLog>("lk_workflowlog_processsession", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.WorkflowLog>("lk_workflowlog_processsession", "lk_workflowlog_processsession", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_workflowlog_processsession_childworkflow
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_workflowlog_processsession_childworkflow")]
		public System.Collections.Generic.IEnumerable<Xrm.WorkflowLog> lk_workflowlog_processsession_childworkflow
		{
			get
			{
				return this.GetRelatedEntities<Xrm.WorkflowLog>("lk_workflowlog_processsession_childworkflow", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.WorkflowLog>("lk_workflowlog_processsession_childworkflow", "lk_workflowlog_processsession_childworkflow", null, value);
			}
		}
		
		/// <summary>
		/// 1:N processsession_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("processsession_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> processsession_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("processsession_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("processsession_connections1", "processsession_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N processsession_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("processsession_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> processsession_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("processsession_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("processsession_connections2", "processsession_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N processsession_PostFollows
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("processsession_PostFollows")]
		public System.Collections.Generic.IEnumerable<Xrm.PostFollow> processsession_PostFollows
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PostFollow>("processsession_PostFollows", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PostFollow>("processsession_PostFollows", "processsession_PostFollows", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_processsession
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_processsession")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_processsession
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_processsession", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_processsession", "userentityinstancedata_processsession", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Account_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_ProcessSessions")]
		public Xrm.Account Account_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("Account_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("Account_ProcessSessions", "Account_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Annotation_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Annotation_ProcessSessions")]
		public Xrm.Annotation Annotation_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Annotation>("Annotation_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Annotation>("Annotation_ProcessSessions", "Annotation_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Appointment_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Appointment_ProcessSessions")]
		public Xrm.Appointment Appointment_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Appointment>("Appointment_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Appointment>("Appointment_ProcessSessions", "Appointment_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 BusinessUnit_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BusinessUnit_ProcessSessions")]
		public Xrm.BusinessUnit BusinessUnit_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("BusinessUnit_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BusinessUnit>("BusinessUnit_ProcessSessions", "BusinessUnit_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 BusinessUnitNewsArticle_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BusinessUnitNewsArticle_ProcessSessions")]
		public Xrm.BusinessUnitNewsArticle BusinessUnitNewsArticle_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnitNewsArticle>("BusinessUnitNewsArticle_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BusinessUnitNewsArticle>("BusinessUnitNewsArticle_ProcessSessions", "BusinessUnitNewsArticle_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Campaign_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_ProcessSessions")]
		public Xrm.Campaign Campaign_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Campaign>("Campaign_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Campaign>("Campaign_ProcessSessions", "Campaign_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 CampaignActivity_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignActivity_ProcessSessions")]
		public Xrm.CampaignActivity CampaignActivity_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignActivity>("CampaignActivity_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CampaignActivity>("CampaignActivity_ProcessSessions", "CampaignActivity_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 CampaignResponse_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignResponse_ProcessSessions")]
		public Xrm.CampaignResponse CampaignResponse_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignResponse>("CampaignResponse_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CampaignResponse>("CampaignResponse_ProcessSessions", "CampaignResponse_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Competitor_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Competitor_ProcessSessions")]
		public Xrm.Competitor Competitor_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Competitor>("Competitor_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Competitor>("Competitor_ProcessSessions", "Competitor_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Connection_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Connection_ProcessSessions")]
		public Xrm.Connection Connection_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Connection>("Connection_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Connection>("Connection_ProcessSessions", "Connection_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ConnectionRole_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ConnectionRole_ProcessSessions")]
		public Xrm.ConnectionRole ConnectionRole_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ConnectionRole>("ConnectionRole_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ConnectionRole>("ConnectionRole_ProcessSessions", "ConnectionRole_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ConstraintBasedGroup_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ConstraintBasedGroup_ProcessSessions")]
		public Xrm.ConstraintBasedGroup ConstraintBasedGroup_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ConstraintBasedGroup>("ConstraintBasedGroup_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ConstraintBasedGroup>("ConstraintBasedGroup_ProcessSessions", "ConstraintBasedGroup_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Contact_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_ProcessSessions")]
		public Xrm.Contact Contact_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("Contact_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("Contact_ProcessSessions", "Contact_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Contract_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_ProcessSessions")]
		public Xrm.Contract Contract_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contract>("Contract_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contract>("Contract_ProcessSessions", "Contract_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ContractDetail_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ContractDetail_ProcessSessions")]
		public Xrm.ContractDetail ContractDetail_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ContractDetail>("ContractDetail_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ContractDetail>("ContractDetail_ProcessSessions", "ContractDetail_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ContractTemplate_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ContractTemplate_ProcessSessions")]
		public Xrm.ContractTemplate ContractTemplate_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ContractTemplate>("ContractTemplate_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ContractTemplate>("ContractTemplate_ProcessSessions", "ContractTemplate_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 CustomerAddress_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CustomerAddress_ProcessSessions")]
		public Xrm.CustomerAddress CustomerAddress_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CustomerAddress>("CustomerAddress_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CustomerAddress>("CustomerAddress_ProcessSessions", "CustomerAddress_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 CustomerOpportunityRole_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CustomerOpportunityRole_ProcessSessions")]
		public Xrm.CustomerOpportunityRole CustomerOpportunityRole_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CustomerOpportunityRole>("CustomerOpportunityRole_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CustomerOpportunityRole>("CustomerOpportunityRole_ProcessSessions", "CustomerOpportunityRole_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 CustomerRelationship_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CustomerRelationship_ProcessSessions")]
		public Xrm.CustomerRelationship CustomerRelationship_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CustomerRelationship>("CustomerRelationship_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CustomerRelationship>("CustomerRelationship_ProcessSessions", "CustomerRelationship_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Discount_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Discount_ProcessSessions")]
		public Xrm.Discount Discount_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Discount>("Discount_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Discount>("Discount_ProcessSessions", "Discount_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 DiscountType_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("DiscountType_ProcessSessions")]
		public Xrm.DiscountType DiscountType_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.DiscountType>("DiscountType_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.DiscountType>("DiscountType_ProcessSessions", "DiscountType_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Email_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Email_ProcessSessions")]
		public Xrm.Email Email_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Email>("Email_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Email>("Email_ProcessSessions", "Email_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Equipment_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Equipment_ProcessSessions")]
		public Xrm.Equipment Equipment_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Equipment>("Equipment_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Equipment>("Equipment_ProcessSessions", "Equipment_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Fax_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Fax_ProcessSessions")]
		public Xrm.Fax Fax_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Fax>("Fax_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Fax>("Fax_ProcessSessions", "Fax_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Goal_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Goal_ProcessSessions")]
		public Xrm.Goal Goal_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Goal>("Goal_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Goal>("Goal_ProcessSessions", "Goal_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 goalrollupquery_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("goalrollupquery_ProcessSessions")]
		public Xrm.GoalRollupQuery goalrollupquery_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.GoalRollupQuery>("goalrollupquery_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.GoalRollupQuery>("goalrollupquery_ProcessSessions", "goalrollupquery_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Incident_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_ProcessSessions")]
		public Xrm.Incident Incident_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Incident>("Incident_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Incident>("Incident_ProcessSessions", "Incident_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Invoice_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Invoice_ProcessSessions")]
		public Xrm.Invoice Invoice_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Invoice>("Invoice_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Invoice>("Invoice_ProcessSessions", "Invoice_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 InvoiceDetail_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("InvoiceDetail_ProcessSessions")]
		public Xrm.InvoiceDetail InvoiceDetail_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.InvoiceDetail>("InvoiceDetail_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.InvoiceDetail>("InvoiceDetail_ProcessSessions", "InvoiceDetail_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 KbArticle_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("KbArticle_ProcessSessions")]
		public Xrm.KbArticle KbArticle_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.KbArticle>("KbArticle_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.KbArticle>("KbArticle_ProcessSessions", "KbArticle_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 KbArticleComment_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("KbArticleComment_ProcessSessions")]
		public Xrm.KbArticleComment KbArticleComment_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.KbArticleComment>("KbArticleComment_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.KbArticleComment>("KbArticleComment_ProcessSessions", "KbArticleComment_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 KbArticleTemplate_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("KbArticleTemplate_ProcessSessions")]
		public Xrm.KbArticleTemplate KbArticleTemplate_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.KbArticleTemplate>("KbArticleTemplate_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.KbArticleTemplate>("KbArticleTemplate_ProcessSessions", "KbArticleTemplate_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Lead_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_ProcessSessions")]
		public Xrm.Lead Lead_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Lead>("Lead_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Lead>("Lead_ProcessSessions", "Lead_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Letter_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Letter_ProcessSessions")]
		public Xrm.Letter Letter_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Letter>("Letter_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Letter>("Letter_ProcessSessions", "Letter_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 List_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("List_ProcessSessions")]
		public Xrm.List List_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.List>("List_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.List>("List_ProcessSessions", "List_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_processsession_canceledby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("canceledby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_processsession_canceledby")]
		public Xrm.SystemUser lk_processsession_canceledby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_processsession_canceledby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_processsession_completedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("completedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_processsession_completedby")]
		public Xrm.SystemUser lk_processsession_completedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_processsession_completedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_processsession_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_processsession_createdby")]
		public Xrm.SystemUser lk_processsession_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_processsession_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_processsession_executedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("executedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_processsession_executedby")]
		public Xrm.SystemUser lk_processsession_executedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_processsession_executedby", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("lk_processsession_executedby", "lk_processsession_executedby", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_processsession_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_processsession_modifiedby")]
		public Xrm.SystemUser lk_processsession_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_processsession_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_processsession_nextlinkedsessionid
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("nextlinkedsessionid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_processsession_nextlinkedsessionid", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.ProcessSession Referencinglk_processsession_nextlinkedsessionid
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ProcessSession>("lk_processsession_nextlinkedsessionid", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ProcessSession>("Referencinglk_processsession_nextlinkedsessionid", "lk_processsession_nextlinkedsessionid", Microsoft.Xrm.Sdk.EntityRole.Referencing, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_processsession_originatingsessionid
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("originatingsessionid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_processsession_originatingsessionid", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.ProcessSession Referencinglk_processsession_originatingsessionid
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ProcessSession>("lk_processsession_originatingsessionid", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ProcessSession>("Referencinglk_processsession_originatingsessionid", "lk_processsession_originatingsessionid", Microsoft.Xrm.Sdk.EntityRole.Referencing, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_processsession_previouslinkedsessionid
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("previouslinkedsessionid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_processsession_previouslinkedsessionid", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.ProcessSession Referencinglk_processsession_previouslinkedsessionid
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ProcessSession>("lk_processsession_previouslinkedsessionid", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ProcessSession>("Referencinglk_processsession_previouslinkedsessionid", "lk_processsession_previouslinkedsessionid", Microsoft.Xrm.Sdk.EntityRole.Referencing, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_processsession_processid
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("processid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_processsession_processid")]
		public Xrm.Workflow lk_processsession_processid
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Workflow>("lk_processsession_processid", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Workflow>("lk_processsession_processid", "lk_processsession_processid", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_processsession_startedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("startedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_processsession_startedby")]
		public Xrm.SystemUser lk_processsession_startedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_processsession_startedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_processsessionbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_processsessionbase_createdonbehalfby")]
		public Xrm.SystemUser lk_processsessionbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_processsessionbase_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_processsessionbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_processsessionbase_modifiedonbehalfby")]
		public Xrm.SystemUser lk_processsessionbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_processsessionbase_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 MailMergeTemplate_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("MailMergeTemplate_ProcessSessions")]
		public Xrm.MailMergeTemplate MailMergeTemplate_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.MailMergeTemplate>("MailMergeTemplate_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.MailMergeTemplate>("MailMergeTemplate_ProcessSessions", "MailMergeTemplate_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 metric_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("metric_ProcessSessions")]
		public Xrm.Metric metric_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Metric>("metric_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Metric>("metric_ProcessSessions", "metric_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postalbum_ProcessSession
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_ProcessSession")]
		public Xrm.msdyn_PostAlbum msdyn_postalbum_ProcessSession
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_ProcessSession", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_ProcessSession", "msdyn_postalbum_ProcessSession", null, value);
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postconfig_ProcessSession
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postconfig_ProcessSession")]
		public Xrm.msdyn_PostConfig msdyn_postconfig_ProcessSession
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostConfig>("msdyn_postconfig_ProcessSession", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.msdyn_PostConfig>("msdyn_postconfig_ProcessSession", "msdyn_postconfig_ProcessSession", null, value);
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postruleconfig_ProcessSession
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postruleconfig_ProcessSession")]
		public Xrm.msdyn_PostRuleConfig msdyn_postruleconfig_ProcessSession
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostRuleConfig>("msdyn_postruleconfig_ProcessSession", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.msdyn_PostRuleConfig>("msdyn_postruleconfig_ProcessSession", "msdyn_postruleconfig_ProcessSession", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownicy_ProcessSession
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_ProcessSession")]
		public Xrm.new_uzytkownicy new_uzytkownicy_ProcessSession
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_ProcessSession", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_ProcessSession", "new_uzytkownicy_ProcessSession", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownikkontakty_ProcessSession
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_ProcessSession")]
		public Xrm.new_uzytkownikkontakty new_uzytkownikkontakty_ProcessSession
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_ProcessSession", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_ProcessSession", "new_uzytkownikkontakty_ProcessSession", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_zainteresowanie_ProcessSession
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_ProcessSession")]
		public Xrm.new_zainteresowanie new_zainteresowanie_ProcessSession
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_ProcessSession", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_ProcessSession", "new_zainteresowanie_ProcessSession", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Opportunity_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_ProcessSessions")]
		public Xrm.Opportunity Opportunity_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Opportunity>("Opportunity_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Opportunity>("Opportunity_ProcessSessions", "Opportunity_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 OpportunityProduct_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("OpportunityProduct_ProcessSessions")]
		public Xrm.OpportunityProduct OpportunityProduct_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.OpportunityProduct>("OpportunityProduct_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.OpportunityProduct>("OpportunityProduct_ProcessSessions", "OpportunityProduct_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Owning_businessunit_processsessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Owning_businessunit_processsessions")]
		public Xrm.BusinessUnit Owning_businessunit_processsessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("Owning_businessunit_processsessions", null);
			}
		}
		
		/// <summary>
		/// N:1 PhoneCall_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("PhoneCall_ProcessSessions")]
		public Xrm.PhoneCall PhoneCall_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PhoneCall>("PhoneCall_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PhoneCall>("PhoneCall_ProcessSessions", "PhoneCall_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 PriceLevel_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("PriceLevel_ProcessSessions")]
		public Xrm.PriceLevel PriceLevel_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PriceLevel>("PriceLevel_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PriceLevel>("PriceLevel_ProcessSessions", "PriceLevel_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Product_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Product_ProcessSessions")]
		public Xrm.Product Product_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Product>("Product_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Product>("Product_ProcessSessions", "Product_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ProductPriceLevel_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ProductPriceLevel_ProcessSessions")]
		public Xrm.ProductPriceLevel ProductPriceLevel_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ProductPriceLevel>("ProductPriceLevel_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ProductPriceLevel>("ProductPriceLevel_ProcessSessions", "ProductPriceLevel_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Queue_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Queue_ProcessSessions")]
		public Xrm.Queue Queue_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Queue>("Queue_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Queue>("Queue_ProcessSessions", "Queue_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 QueueItem_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("QueueItem_ProcessSessions")]
		public Xrm.QueueItem QueueItem_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.QueueItem>("QueueItem_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.QueueItem>("QueueItem_ProcessSessions", "QueueItem_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Quote_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_ProcessSessions")]
		public Xrm.Quote Quote_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Quote>("Quote_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Quote>("Quote_ProcessSessions", "Quote_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 QuoteDetail_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("QuoteDetail_ProcessSessions")]
		public Xrm.QuoteDetail QuoteDetail_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.QuoteDetail>("QuoteDetail_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.QuoteDetail>("QuoteDetail_ProcessSessions", "QuoteDetail_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 RecurringAppointmentMaster_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("RecurringAppointmentMaster_ProcessSessions")]
		public Xrm.RecurringAppointmentMaster RecurringAppointmentMaster_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RecurringAppointmentMaster>("RecurringAppointmentMaster_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.RecurringAppointmentMaster>("RecurringAppointmentMaster_ProcessSessions", "RecurringAppointmentMaster_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 RelationshipRole_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("RelationshipRole_ProcessSessions")]
		public Xrm.RelationshipRole RelationshipRole_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RelationshipRole>("RelationshipRole_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.RelationshipRole>("RelationshipRole_ProcessSessions", "RelationshipRole_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Report_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Report_ProcessSessions")]
		public Xrm.Report Report_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Report>("Report_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Report>("Report_ProcessSessions", "Report_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 rollupfield_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("rollupfield_ProcessSessions")]
		public Xrm.RollupField rollupfield_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RollupField>("rollupfield_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.RollupField>("rollupfield_ProcessSessions", "rollupfield_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SalesLiterature_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesLiterature_ProcessSessions")]
		public Xrm.SalesLiterature SalesLiterature_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesLiterature>("SalesLiterature_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesLiterature>("SalesLiterature_ProcessSessions", "SalesLiterature_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SalesLiteratureItem_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesLiteratureItem_ProcessSessions")]
		public Xrm.SalesLiteratureItem SalesLiteratureItem_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesLiteratureItem>("SalesLiteratureItem_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesLiteratureItem>("SalesLiteratureItem_ProcessSessions", "SalesLiteratureItem_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SalesOrder_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrder_ProcessSessions")]
		public Xrm.SalesOrder SalesOrder_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesOrder>("SalesOrder_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesOrder>("SalesOrder_ProcessSessions", "SalesOrder_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SalesOrderDetail_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrderDetail_ProcessSessions")]
		public Xrm.SalesOrderDetail SalesOrderDetail_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesOrderDetail>("SalesOrderDetail_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesOrderDetail>("SalesOrderDetail_ProcessSessions", "SalesOrderDetail_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Service_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Service_ProcessSessions")]
		public Xrm.Service Service_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Service>("Service_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Service>("Service_ProcessSessions", "Service_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ServiceAppointment_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ServiceAppointment_ProcessSessions")]
		public Xrm.ServiceAppointment ServiceAppointment_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ServiceAppointment>("ServiceAppointment_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ServiceAppointment>("ServiceAppointment_ProcessSessions", "ServiceAppointment_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SharePointDocumentLocation_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SharePointDocumentLocation_ProcessSessions")]
		public Xrm.SharePointDocumentLocation SharePointDocumentLocation_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SharePointDocumentLocation>("SharePointDocumentLocation_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SharePointDocumentLocation>("SharePointDocumentLocation_ProcessSessions", "SharePointDocumentLocation_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SharePointSite_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SharePointSite_ProcessSessions")]
		public Xrm.SharePointSite SharePointSite_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SharePointSite>("SharePointSite_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SharePointSite>("SharePointSite_ProcessSessions", "SharePointSite_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Site_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Site_ProcessSessions")]
		public Xrm.Site Site_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Site>("Site_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Site>("Site_ProcessSessions", "Site_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Subject_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Subject_ProcessSessions")]
		public Xrm.Subject Subject_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Subject>("Subject_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Subject>("Subject_ProcessSessions", "Subject_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SystemUser_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SystemUser_ProcessSessions")]
		public Xrm.SystemUser SystemUser_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("SystemUser_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("SystemUser_ProcessSessions", "SystemUser_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Task_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Task_ProcessSessions")]
		public Xrm.Task Task_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Task>("Task_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Task>("Task_ProcessSessions", "Task_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_processsession
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_processsession")]
		public Xrm.Team team_processsession
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_processsession", null);
			}
		}
		
		/// <summary>
		/// N:1 Team_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Team_ProcessSessions")]
		public Xrm.Team Team_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("Team_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Team>("Team_ProcessSessions", "Team_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Template_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Template_ProcessSessions")]
		public Xrm.Template Template_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Template>("Template_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Template>("Template_ProcessSessions", "Template_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Territory_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Territory_ProcessSessions")]
		public Xrm.Territory Territory_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Territory>("Territory_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Territory>("Territory_ProcessSessions", "Territory_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_ProcessSessions")]
		public Xrm.TransactionCurrency TransactionCurrency_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_ProcessSessions", "TransactionCurrency_ProcessSessions", null, value);
			}
		}
	}
	
	/// <summary>
	/// Informacja o produktach i ich cenach.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("product")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ProductSet")]
	public partial class Product : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Product() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "product";
		
		public const int EntityTypeCode = 1024;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył produkt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył produkt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Bieżący koszt pozycji produktu. Stosowany w kalkulacji cen.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("currentcost")]
		public System.Nullable<decimal> CurrentCost
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("currentcost");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("CurrentCost", "currentcost", value);
			}
		}
		
		/// <summary>
		/// Bieżący koszt zapasu produktu w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("currentcost_base")]
		public System.Nullable<decimal> CurrentCost_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("currentcost_base");
			}
		}
		
		/// <summary>
		/// Jednostka domyślna produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("defaultuomid")]
		public Microsoft.Xrm.Client.CrmEntityReference DefaultUoMId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("defaultuomid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("DefaultUoMId", "defaultuomid", value);
			}
		}
		
		/// <summary>
		/// Domyślna grupa jednostek produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("defaultuomscheduleid")]
		public Microsoft.Xrm.Client.CrmEntityReference DefaultUoMScheduleId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("defaultuomscheduleid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("DefaultUoMScheduleId", "defaultuomscheduleid", value);
			}
		}
		
		/// <summary>
		/// Opis produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z produktem w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy produkt jest zestawem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iskit")]
		public System.Nullable<bool> IsKit
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("iskit");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsKit", "iskit", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy produkt jest pozycją magazynową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isstockitem")]
		public System.Nullable<bool> IsStockItem
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isstockitem");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsStockItem", "isstockitem", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował produkt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował produkt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z produktem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Cena katalogowa produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("price")]
		public System.Nullable<decimal> Price
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("price");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Price", "price", value);
			}
		}
		
		/// <summary>
		/// Cena katalogowa produktu przeliczona na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("price_base")]
		public System.Nullable<decimal> Price_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("price_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator cennika skojarzonego z produktem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pricelevelid")]
		public Microsoft.Xrm.Client.CrmEntityReference PriceLevelId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("pricelevelid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("PriceLevelId", "pricelevelid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productid")]
		public System.Nullable<System.Guid> ProductId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("productid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ProductId", "productid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ProductId = value;
			}
		}
		
		/// <summary>
		/// Definiowany przez użytkownika numer produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productnumber")]
		public string ProductNumber
		{
			get
			{
				return this.GetAttributeValue<string>("productnumber");
			}
			set
			{
				this.SetAttributeValue<string>("ProductNumber", "productnumber", value);
			}
		}
		
		/// <summary>
		/// Typ produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("producttypecode")]
		public System.Nullable<int> ProductTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("producttypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ProductTypeCode", "producttypecode", value);
			}
		}
		
		/// <summary>
		/// Adres URL witryny sieci Web skojarzonej z produktem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("producturl")]
		public string ProductUrl
		{
			get
			{
				return this.GetAttributeValue<string>("producturl");
			}
			set
			{
				this.SetAttributeValue<string>("ProductUrl", "producturl", value);
			}
		}
		
		/// <summary>
		/// Liczba cyfr po przecinku, która może być stosowana w zapisie kwot pieniężnych związanych z produktem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quantitydecimal")]
		public System.Nullable<int> QuantityDecimal
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("quantitydecimal");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("QuantityDecimal", "quantitydecimal", value);
			}
		}
		
		/// <summary>
		/// Ilość zapasu produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quantityonhand")]
		public System.Nullable<decimal> QuantityOnHand
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("quantityonhand");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("QuantityOnHand", "quantityonhand", value);
			}
		}
		
		/// <summary>
		/// Rozmiar produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("size")]
		public string Size
		{
			get
			{
				return this.GetAttributeValue<string>("size");
			}
			set
			{
				this.SetAttributeValue<string>("Size", "size", value);
			}
		}
		
		/// <summary>
		/// Koszt normatywny produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("standardcost")]
		public System.Nullable<decimal> StandardCost
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("standardcost");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("StandardCost", "standardcost", value);
			}
		}
		
		/// <summary>
		/// Koszt normatywny produktu przeliczony na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("standardcost_base")]
		public System.Nullable<decimal> StandardCost_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("standardcost_base");
			}
		}
		
		/// <summary>
		/// Stan produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Objętość zapasu produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("stockvolume")]
		public System.Nullable<decimal> StockVolume
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("stockvolume");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("StockVolume", "stockvolume", value);
			}
		}
		
		/// <summary>
		/// Waga zapasu produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("stockweight")]
		public System.Nullable<decimal> StockWeight
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("stockweight");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("StockWeight", "stockweight", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator tematu skojarzonego z produktem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subjectid")]
		public Microsoft.Xrm.Client.CrmEntityReference SubjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("subjectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("SubjectId", "subjectid", value);
			}
		}
		
		/// <summary>
		/// Nazwa dostawcy produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("suppliername")]
		public string SupplierName
		{
			get
			{
				return this.GetAttributeValue<string>("suppliername");
			}
			set
			{
				this.SetAttributeValue<string>("SupplierName", "suppliername", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z produktem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Nazwa dostawcy produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("vendorname")]
		public string VendorName
		{
			get
			{
				return this.GetAttributeValue<string>("vendorname");
			}
			set
			{
				this.SetAttributeValue<string>("VendorName", "vendorname", value);
			}
		}
		
		/// <summary>
		/// Numer katalogowy produktu dostawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("vendorpartnumber")]
		public string VendorPartNumber
		{
			get
			{
				return this.GetAttributeValue<string>("vendorpartnumber");
			}
			set
			{
				this.SetAttributeValue<string>("VendorPartNumber", "vendorpartnumber", value);
			}
		}
		
		/// <summary>
		/// Numer wersji produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N opportunity_products
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunity_products")]
		public System.Collections.Generic.IEnumerable<Xrm.OpportunityProduct> opportunity_products
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OpportunityProduct>("opportunity_products", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OpportunityProduct>("opportunity_products", "opportunity_products", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Product_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Product_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> Product_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("Product_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("Product_Annotation", "Product_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Product_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Product_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Product_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Product_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Product_AsyncOperations", "Product_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Product_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Product_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Product_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Product_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Product_BulkDeleteFailures", "Product_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N product_contract_line_items
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("product_contract_line_items")]
		public System.Collections.Generic.IEnumerable<Xrm.ContractDetail> product_contract_line_items
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ContractDetail>("product_contract_line_items", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ContractDetail>("product_contract_line_items", "product_contract_line_items", null, value);
			}
		}
		
		/// <summary>
		/// 1:N product_incidents
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("product_incidents")]
		public System.Collections.Generic.IEnumerable<Xrm.Incident> product_incidents
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Incident>("product_incidents", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Incident>("product_incidents", "product_incidents", null, value);
			}
		}
		
		/// <summary>
		/// 1:N product_invoice_details
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("product_invoice_details")]
		public System.Collections.Generic.IEnumerable<Xrm.InvoiceDetail> product_invoice_details
		{
			get
			{
				return this.GetRelatedEntities<Xrm.InvoiceDetail>("product_invoice_details", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.InvoiceDetail>("product_invoice_details", "product_invoice_details", null, value);
			}
		}
		
		/// <summary>
		/// 1:N product_order_details
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("product_order_details")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesOrderDetail> product_order_details
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesOrderDetail>("product_order_details", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesOrderDetail>("product_order_details", "product_order_details", null, value);
			}
		}
		
		/// <summary>
		/// 1:N product_price_levels
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("product_price_levels")]
		public System.Collections.Generic.IEnumerable<Xrm.ProductPriceLevel> product_price_levels
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProductPriceLevel>("product_price_levels", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProductPriceLevel>("product_price_levels", "product_price_levels", null, value);
			}
		}
		
		/// <summary>
		/// 1:N product_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("product_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> product_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("product_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("product_principalobjectattributeaccess", "product_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Product_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Product_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Product_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Product_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Product_ProcessSessions", "Product_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N product_quote_details
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("product_quote_details")]
		public System.Collections.Generic.IEnumerable<Xrm.QuoteDetail> product_quote_details
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QuoteDetail>("product_quote_details", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QuoteDetail>("product_quote_details", "product_quote_details", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Product_SharepointDocumentLocation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Product_SharepointDocumentLocation")]
		public System.Collections.Generic.IEnumerable<Xrm.SharePointDocumentLocation> Product_SharepointDocumentLocation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SharePointDocumentLocation>("Product_SharepointDocumentLocation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SharePointDocumentLocation>("Product_SharepointDocumentLocation", "Product_SharepointDocumentLocation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_product
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_product")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_product
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_product", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_product", "userentityinstancedata_product", null, value);
			}
		}
		
		/// <summary>
		/// N:N campaignproduct_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaignproduct_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Campaign> campaignproduct_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Campaign>("campaignproduct_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Campaign>("campaignproduct_association", "campaignproduct_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N competitorproduct_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("competitorproduct_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Competitor> competitorproduct_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Competitor>("competitorproduct_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Competitor>("competitorproduct_association", "competitorproduct_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N leadproduct_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("leadproduct_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Lead> leadproduct_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Lead>("leadproduct_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Lead>("leadproduct_association", "leadproduct_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N productassociation_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("productassociation_association", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public System.Collections.Generic.IEnumerable<Xrm.Product> Referencingproductassociation_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Product>("productassociation_association", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Product>("Referencingproductassociation_association", "productassociation_association", Microsoft.Xrm.Sdk.EntityRole.Referencing, value);
			}
		}
		
		/// <summary>
		/// N:N productassociation_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("productassociation_association", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.Product> Referencedproductassociation_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Product>("productassociation_association", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Product>("Referencedproductassociation_association", "productassociation_association", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// N:N productsalesliterature_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("productsalesliterature_association")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesLiterature> productsalesliterature_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesLiterature>("productsalesliterature_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesLiterature>("productsalesliterature_association", "productsalesliterature_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N productsubstitute_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("productsubstitute_association", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public System.Collections.Generic.IEnumerable<Xrm.Product> Referencingproductsubstitute_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Product>("productsubstitute_association", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Product>("Referencingproductsubstitute_association", "productsubstitute_association", Microsoft.Xrm.Sdk.EntityRole.Referencing, value);
			}
		}
		
		/// <summary>
		/// N:N productsubstitute_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("productsubstitute_association", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.Product> Referencedproductsubstitute_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Product>("productsubstitute_association", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Product>("Referencedproductsubstitute_association", "productsubstitute_association", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_product_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_product_createdonbehalfby")]
		public Xrm.SystemUser lk_product_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_product_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_product_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_product_modifiedonbehalfby")]
		public Xrm.SystemUser lk_product_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_product_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_productbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_productbase_createdby")]
		public Xrm.SystemUser lk_productbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_productbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_productbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_productbase_modifiedby")]
		public Xrm.SystemUser lk_productbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_productbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_products
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_products")]
		public Xrm.Organization organization_products
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_products", null);
			}
		}
		
		/// <summary>
		/// N:1 price_level_products
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pricelevelid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("price_level_products")]
		public Xrm.PriceLevel price_level_products
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PriceLevel>("price_level_products", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PriceLevel>("price_level_products", "price_level_products", null, value);
			}
		}
		
		/// <summary>
		/// N:1 subject_products
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("subject_products")]
		public Xrm.Subject subject_products
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Subject>("subject_products", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Subject>("subject_products", "subject_products", null, value);
			}
		}
		
		/// <summary>
		/// N:1 transactioncurrency_product
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_product")]
		public Xrm.TransactionCurrency transactioncurrency_product
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_product", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_product", "transactioncurrency_product", null, value);
			}
		}
		
		/// <summary>
		/// N:1 unit_of_measurement_products
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("defaultuomid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("unit_of_measurement_products")]
		public Xrm.UoM unit_of_measurement_products
		{
			get
			{
				return this.GetRelatedEntity<Xrm.UoM>("unit_of_measurement_products", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.UoM>("unit_of_measurement_products", "unit_of_measurement_products", null, value);
			}
		}
		
		/// <summary>
		/// N:1 unit_of_measurement_schedule_products
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("defaultuomscheduleid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("unit_of_measurement_schedule_products")]
		public Xrm.UoMSchedule unit_of_measurement_schedule_products
		{
			get
			{
				return this.GetRelatedEntity<Xrm.UoMSchedule>("unit_of_measurement_schedule_products", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.UoMSchedule>("unit_of_measurement_schedule_products", "unit_of_measurement_schedule_products", null, value);
			}
		}
	}
	
	/// <summary>
	/// Relacja przechowująca informacje o produktach należących do zestawu.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("productassociation")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ProductAssociationSet")]
	public partial class ProductAssociation : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ProductAssociation() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "productassociation";
		
		public const int EntityTypeCode = 1025;
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("associatedproduct")]
		public System.Nullable<System.Guid> AssociatedProduct
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("associatedproduct");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("AssociatedProduct", "associatedproduct", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzenia produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productassociationid")]
		public System.Nullable<System.Guid> ProductAssociationId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("productassociationid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ProductAssociationId", "productassociationid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productassociationid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ProductAssociationId = value;
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productid")]
		public System.Nullable<System.Guid> ProductId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("productid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("ProductId", "productid", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_productassociation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_productassociation")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_productassociation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_productassociation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_productassociation", "userentityinstancedata_productassociation", null, value);
			}
		}
		
		/// <summary>
		/// N:N productassociation_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("productassociation_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Product> productassociation_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Product>("productassociation_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Product>("productassociation_association", "productassociation_association", null, value);
			}
		}
	}
	
	/// <summary>
	/// Informacje o sposobie określania ceny produktu na danym poziomie cen, obejmujące metodę kalkulacji ceny, sposób zaokrąglania oraz typ rabatu na podstawie określonej jednostki produktu.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("productpricelevel")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ProductPriceLevelSet")]
	public partial class ProductPriceLevel : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ProductPriceLevel() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "productpricelevel";
		
		public const int EntityTypeCode = 1026;
		
		/// <summary>
		/// Kwota pieniężna związana z cennikiem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("amount")]
		public System.Nullable<decimal> Amount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("amount");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Amount", "amount", value);
			}
		}
		
		/// <summary>
		/// Kwota pieniężna związana z cennikiem w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("amount_base")]
		public System.Nullable<decimal> Amount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("amount_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył cennik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia cennika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator listy rabatów skojarzonej z cennikiem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("discounttypeid")]
		public Microsoft.Xrm.Client.CrmEntityReference DiscountTypeId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("discounttypeid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("DiscountTypeId", "discounttypeid", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z poziomem ceny produktu w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni modyfikował cennik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji cennika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował potencjalnego klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z cennikiem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public System.Nullable<System.Guid> OrganizationId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("organizationid");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Wartość procentowa związana z cennikiem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("percentage")]
		public System.Nullable<decimal> Percentage
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("percentage");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("Percentage", "percentage", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator poziomu ceny skojarzonego z tym cennikiem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pricelevelid")]
		public Microsoft.Xrm.Client.CrmEntityReference PriceLevelId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("pricelevelid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("PriceLevelId", "pricelevelid", value);
			}
		}
		
		/// <summary>
		/// Metoda kalkulacji cen stosowana w cenniku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pricingmethodcode")]
		public System.Nullable<int> PricingMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("pricingmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PricingMethodCode", "pricingmethodcode", value);
			}
		}
		
		/// <summary>
		/// Produkt skojarzony z cennikiem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productid")]
		public Microsoft.Xrm.Client.CrmEntityReference ProductId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("productid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ProductId", "productid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator cennika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productpricelevelid")]
		public System.Nullable<System.Guid> ProductPriceLevelId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("productpricelevelid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ProductPriceLevelId", "productpricelevelid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productpricelevelid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ProductPriceLevelId = value;
			}
		}
		
		/// <summary>
		/// Ilość produktu, jaka musi zostać sprzedana przy danym poziomie ceny.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quantitysellingcode")]
		public System.Nullable<int> QuantitySellingCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("quantitysellingcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("QuantitySellingCode", "quantitysellingcode", value);
			}
		}
		
		/// <summary>
		/// Kwota opcji zaokrąglenia w cenniku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("roundingoptionamount")]
		public System.Nullable<decimal> RoundingOptionAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("roundingoptionamount");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("RoundingOptionAmount", "roundingoptionamount", value);
			}
		}
		
		/// <summary>
		/// Kwota opcji zaokrąglania w cenniku w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("roundingoptionamount_base")]
		public System.Nullable<decimal> RoundingOptionAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("roundingoptionamount_base");
			}
		}
		
		/// <summary>
		/// Opcja dotycząca zaokrąglania w cenniku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("roundingoptioncode")]
		public System.Nullable<int> RoundingOptionCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("roundingoptioncode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("RoundingOptionCode", "roundingoptioncode", value);
			}
		}
		
		/// <summary>
		/// Zasady dotyczące zaokrąglania w cenniku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("roundingpolicycode")]
		public System.Nullable<int> RoundingPolicyCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("roundingpolicycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("RoundingPolicyCode", "roundingpolicycode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z poziomem ceny produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki w cenniku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("uomid")]
		public Microsoft.Xrm.Client.CrmEntityReference UoMId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("uomid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("UoMId", "uomid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator harmonogramu jednostek w cenniku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("uomscheduleid")]
		public Microsoft.Xrm.Client.CrmEntityReference UoMScheduleId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("uomscheduleid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("UoMScheduleId", "uomscheduleid", value);
			}
		}
		
		/// <summary>
		/// Numer wersji cennika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N ProductPriceLevel_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ProductPriceLevel_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> ProductPriceLevel_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("ProductPriceLevel_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("ProductPriceLevel_AsyncOperations", "ProductPriceLevel_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ProductPriceLevel_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ProductPriceLevel_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> ProductPriceLevel_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("ProductPriceLevel_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("ProductPriceLevel_BulkDeleteFailures", "ProductPriceLevel_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ProductPriceLevel_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ProductPriceLevel_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> ProductPriceLevel_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("ProductPriceLevel_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("ProductPriceLevel_ProcessSessions", "ProductPriceLevel_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_productpricelevel
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_productpricelevel")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_productpricelevel
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_productpricelevel", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_productpricelevel", "userentityinstancedata_productpricelevel", null, value);
			}
		}
		
		/// <summary>
		/// N:1 discount_type_product_price_levels
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("discounttypeid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("discount_type_product_price_levels")]
		public Xrm.DiscountType discount_type_product_price_levels
		{
			get
			{
				return this.GetRelatedEntity<Xrm.DiscountType>("discount_type_product_price_levels", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.DiscountType>("discount_type_product_price_levels", "discount_type_product_price_levels", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_productpricelevel_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_productpricelevel_createdonbehalfby")]
		public Xrm.SystemUser lk_productpricelevel_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_productpricelevel_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_productpricelevel_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_productpricelevel_modifiedonbehalfby")]
		public Xrm.SystemUser lk_productpricelevel_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_productpricelevel_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_productpricelevelbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_productpricelevelbase_createdby")]
		public Xrm.SystemUser lk_productpricelevelbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_productpricelevelbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_productpricelevelbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_productpricelevelbase_modifiedby")]
		public Xrm.SystemUser lk_productpricelevelbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_productpricelevelbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 price_level_product_price_levels
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pricelevelid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("price_level_product_price_levels")]
		public Xrm.PriceLevel price_level_product_price_levels
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PriceLevel>("price_level_product_price_levels", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PriceLevel>("price_level_product_price_levels", "price_level_product_price_levels", null, value);
			}
		}
		
		/// <summary>
		/// N:1 product_price_levels
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("product_price_levels")]
		public Xrm.Product product_price_levels
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Product>("product_price_levels", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Product>("product_price_levels", "product_price_levels", null, value);
			}
		}
		
		/// <summary>
		/// N:1 transactioncurrency_productpricelevel
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_productpricelevel")]
		public Xrm.TransactionCurrency transactioncurrency_productpricelevel
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_productpricelevel", null);
			}
		}
		
		/// <summary>
		/// N:1 unit_of_measure_schedule_product_price_level
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("uomscheduleid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("unit_of_measure_schedule_product_price_level")]
		public Xrm.UoMSchedule unit_of_measure_schedule_product_price_level
		{
			get
			{
				return this.GetRelatedEntity<Xrm.UoMSchedule>("unit_of_measure_schedule_product_price_level", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.UoMSchedule>("unit_of_measure_schedule_product_price_level", "unit_of_measure_schedule_product_price_level", null, value);
			}
		}
		
		/// <summary>
		/// N:1 unit_of_measurement_product_price_levels
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("uomid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("unit_of_measurement_product_price_levels")]
		public Xrm.UoM unit_of_measurement_product_price_levels
		{
			get
			{
				return this.GetRelatedEntity<Xrm.UoM>("unit_of_measurement_product_price_levels", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.UoM>("unit_of_measurement_product_price_levels", "unit_of_measurement_product_price_levels", null, value);
			}
		}
	}
	
	/// <summary>
	/// 
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("productsalesliterature")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ProductSalesLiteratureSet")]
	public partial class ProductSalesLiterature : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ProductSalesLiterature() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "productsalesliterature";
		
		public const int EntityTypeCode = 21;
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productid")]
		public System.Nullable<System.Guid> ProductId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("productid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator materiałów sprzedażowych produktu skojarzonych z tym cennikiem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productsalesliteratureid")]
		public System.Nullable<System.Guid> ProductSalesLiteratureId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("productsalesliteratureid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ProductSalesLiteratureId", "productsalesliteratureid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productsalesliteratureid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ProductSalesLiteratureId = value;
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salesliteratureid")]
		public System.Nullable<System.Guid> SalesLiteratureId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("salesliteratureid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_productsalesliterature
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_productsalesliterature")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_productsalesliterature
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_productsalesliterature", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_productsalesliterature", "userentityinstancedata_productsalesliterature", null, value);
			}
		}
		
		/// <summary>
		/// N:N productsalesliterature_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("productsalesliterature_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Product> productsalesliterature_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Product>("productsalesliterature_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Product>("productsalesliterature_association", "productsalesliterature_association", null, value);
			}
		}
	}
	
	/// <summary>
	/// Przechowywanie skojarzenia między produktem i zamiennikiem produktu.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("productsubstitute")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ProductSubstituteSet")]
	public partial class ProductSubstitute : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ProductSubstitute() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "productsubstitute";
		
		public const int EntityTypeCode = 1028;
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productid")]
		public System.Nullable<System.Guid> ProductId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("productid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("ProductId", "productid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zamiennika produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productsubstituteid")]
		public System.Nullable<System.Guid> ProductSubstituteId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("productsubstituteid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ProductSubstituteId", "productsubstituteid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productsubstituteid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ProductSubstituteId = value;
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("substitutedproductid")]
		public System.Nullable<System.Guid> SubstitutedProductId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("substitutedproductid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("SubstitutedProductId", "substitutedproductid", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_productsubstitute
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_productsubstitute")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_productsubstitute
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_productsubstitute", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_productsubstitute", "userentityinstancedata_productsubstitute", null, value);
			}
		}
		
		/// <summary>
		/// N:N productsubstitute_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("productsubstitute_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Product> productsubstitute_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Product>("productsubstitute_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Product>("productsubstitute_association", "productsubstitute_association", null, value);
			}
		}
	}
	
	/// <summary>
	/// Wydawca rozwiązania CRM.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("publisher")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("PublisherSet")]
	public partial class Publisher : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Publisher() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "publisher";
		
		public const int EntityTypeCode = 7101;
		
		/// <summary>
		/// Unikatowy identyfikator adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_addressid")]
		public System.Nullable<System.Guid> Address1_AddressId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("address1_addressid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("Address1_AddressId", "address1_addressid", value);
			}
		}
		
		/// <summary>
		/// Typ adresu 1, np. adres na fakturze, adres wysyłkowy lub adres podstawowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_addresstypecode")]
		public System.Nullable<int> Address1_AddressTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address1_addresstypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address1_AddressTypeCode", "address1_addresstypecode", value);
			}
		}
		
		/// <summary>
		/// Nazwa miasta dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_city")]
		public string Address1_City
		{
			get
			{
				return this.GetAttributeValue<string>("address1_city");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_City", "address1_city", value);
			}
		}
		
		/// <summary>
		/// Nazwa kraju/regionu dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_country")]
		public string Address1_Country
		{
			get
			{
				return this.GetAttributeValue<string>("address1_country");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Country", "address1_country", value);
			}
		}
		
		/// <summary>
		/// Nazwa powiatu dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_county")]
		public string Address1_County
		{
			get
			{
				return this.GetAttributeValue<string>("address1_county");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_County", "address1_county", value);
			}
		}
		
		/// <summary>
		/// Numer faksu dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_fax")]
		public string Address1_Fax
		{
			get
			{
				return this.GetAttributeValue<string>("address1_fax");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Fax", "address1_fax", value);
			}
		}
		
		/// <summary>
		/// Szerokość geograficzna dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_latitude")]
		public System.Nullable<double> Address1_Latitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address1_latitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address1_Latitude", "address1_latitude", value);
			}
		}
		
		/// <summary>
		/// Pierwszy wiersz do wprowadzenia informacji o adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_line1")]
		public string Address1_Line1
		{
			get
			{
				return this.GetAttributeValue<string>("address1_line1");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Line1", "address1_line1", value);
			}
		}
		
		/// <summary>
		/// Drugi wiersz do wprowadzenia informacji o adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_line2")]
		public string Address1_Line2
		{
			get
			{
				return this.GetAttributeValue<string>("address1_line2");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Line2", "address1_line2", value);
			}
		}
		
		/// <summary>
		/// Trzeci wiersz do wprowadzenia informacji o adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_line3")]
		public string Address1_Line3
		{
			get
			{
				return this.GetAttributeValue<string>("address1_line3");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Line3", "address1_line3", value);
			}
		}
		
		/// <summary>
		/// Długość geograficzna dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_longitude")]
		public System.Nullable<double> Address1_Longitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address1_longitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address1_Longitude", "address1_longitude", value);
			}
		}
		
		/// <summary>
		/// Nazwa do wprowadzenia dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_name")]
		public string Address1_Name
		{
			get
			{
				return this.GetAttributeValue<string>("address1_name");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Name", "address1_name", value);
			}
		}
		
		/// <summary>
		/// Kod pocztowy adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_postalcode")]
		public string Address1_PostalCode
		{
			get
			{
				return this.GetAttributeValue<string>("address1_postalcode");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_PostalCode", "address1_postalcode", value);
			}
		}
		
		/// <summary>
		/// Numer skrytki pocztowej dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_postofficebox")]
		public string Address1_PostOfficeBox
		{
			get
			{
				return this.GetAttributeValue<string>("address1_postofficebox");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_PostOfficeBox", "address1_postofficebox", value);
			}
		}
		
		/// <summary>
		/// Metoda wysyłki dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_shippingmethodcode")]
		public System.Nullable<int> Address1_ShippingMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address1_shippingmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address1_ShippingMethodCode", "address1_shippingmethodcode", value);
			}
		}
		
		/// <summary>
		/// Województwo adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_stateorprovince")]
		public string Address1_StateOrProvince
		{
			get
			{
				return this.GetAttributeValue<string>("address1_stateorprovince");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_StateOrProvince", "address1_stateorprovince", value);
			}
		}
		
		/// <summary>
		/// Pierwszy numer telefonu skojarzony z adresem 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_telephone1")]
		public string Address1_Telephone1
		{
			get
			{
				return this.GetAttributeValue<string>("address1_telephone1");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Telephone1", "address1_telephone1", value);
			}
		}
		
		/// <summary>
		/// Drugi numer telefonu skojarzony z adresem 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_telephone2")]
		public string Address1_Telephone2
		{
			get
			{
				return this.GetAttributeValue<string>("address1_telephone2");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Telephone2", "address1_telephone2", value);
			}
		}
		
		/// <summary>
		/// Trzeci numer telefonu skojarzony z adresem 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_telephone3")]
		public string Address1_Telephone3
		{
			get
			{
				return this.GetAttributeValue<string>("address1_telephone3");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Telephone3", "address1_telephone3", value);
			}
		}
		
		/// <summary>
		/// Strefa firmy United Parcel Service (UPS) dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_upszone")]
		public string Address1_UPSZone
		{
			get
			{
				return this.GetAttributeValue<string>("address1_upszone");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_UPSZone", "address1_upszone", value);
			}
		}
		
		/// <summary>
		/// Przesunięcie czasu UTC dla adresu 1. Jest to różnica między czasem lokalnym a standardowym uniwersalnym czasem koordynowanym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_utcoffset")]
		public System.Nullable<int> Address1_UTCOffset
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address1_utcoffset");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Address1_UTCOffset", "address1_utcoffset", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_addressid")]
		public System.Nullable<System.Guid> Address2_AddressId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("address2_addressid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("Address2_AddressId", "address2_addressid", value);
			}
		}
		
		/// <summary>
		/// Typ adresu 2, np. adres na fakturze, adres wysyłkowy lub adres podstawowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_addresstypecode")]
		public System.Nullable<int> Address2_AddressTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address2_addresstypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address2_AddressTypeCode", "address2_addresstypecode", value);
			}
		}
		
		/// <summary>
		/// Nazwa miasta dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_city")]
		public string Address2_City
		{
			get
			{
				return this.GetAttributeValue<string>("address2_city");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_City", "address2_city", value);
			}
		}
		
		/// <summary>
		/// Nazwa kraju/regionu dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_country")]
		public string Address2_Country
		{
			get
			{
				return this.GetAttributeValue<string>("address2_country");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Country", "address2_country", value);
			}
		}
		
		/// <summary>
		/// Nazwa powiatu dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_county")]
		public string Address2_County
		{
			get
			{
				return this.GetAttributeValue<string>("address2_county");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_County", "address2_county", value);
			}
		}
		
		/// <summary>
		/// Numer faksu dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_fax")]
		public string Address2_Fax
		{
			get
			{
				return this.GetAttributeValue<string>("address2_fax");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Fax", "address2_fax", value);
			}
		}
		
		/// <summary>
		/// Szerokość geograficzna dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_latitude")]
		public System.Nullable<double> Address2_Latitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address2_latitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address2_Latitude", "address2_latitude", value);
			}
		}
		
		/// <summary>
		/// Pierwszy wiersz do wprowadzenia informacji o adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_line1")]
		public string Address2_Line1
		{
			get
			{
				return this.GetAttributeValue<string>("address2_line1");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Line1", "address2_line1", value);
			}
		}
		
		/// <summary>
		/// Drugi wiersz do wprowadzenia informacji o adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_line2")]
		public string Address2_Line2
		{
			get
			{
				return this.GetAttributeValue<string>("address2_line2");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Line2", "address2_line2", value);
			}
		}
		
		/// <summary>
		/// Trzeci wiersz do wprowadzenia informacji o adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_line3")]
		public string Address2_Line3
		{
			get
			{
				return this.GetAttributeValue<string>("address2_line3");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Line3", "address2_line3", value);
			}
		}
		
		/// <summary>
		/// Długość geograficzna dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_longitude")]
		public System.Nullable<double> Address2_Longitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address2_longitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address2_Longitude", "address2_longitude", value);
			}
		}
		
		/// <summary>
		/// Nazwa do wprowadzenia dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_name")]
		public string Address2_Name
		{
			get
			{
				return this.GetAttributeValue<string>("address2_name");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Name", "address2_name", value);
			}
		}
		
		/// <summary>
		/// Kod pocztowy adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_postalcode")]
		public string Address2_PostalCode
		{
			get
			{
				return this.GetAttributeValue<string>("address2_postalcode");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_PostalCode", "address2_postalcode", value);
			}
		}
		
		/// <summary>
		/// Numer skrytki pocztowej dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_postofficebox")]
		public string Address2_PostOfficeBox
		{
			get
			{
				return this.GetAttributeValue<string>("address2_postofficebox");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_PostOfficeBox", "address2_postofficebox", value);
			}
		}
		
		/// <summary>
		/// Metoda wysyłki dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_shippingmethodcode")]
		public System.Nullable<int> Address2_ShippingMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address2_shippingmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address2_ShippingMethodCode", "address2_shippingmethodcode", value);
			}
		}
		
		/// <summary>
		/// Województwo adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_stateorprovince")]
		public string Address2_StateOrProvince
		{
			get
			{
				return this.GetAttributeValue<string>("address2_stateorprovince");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_StateOrProvince", "address2_stateorprovince", value);
			}
		}
		
		/// <summary>
		/// Pierwszy numer telefonu skojarzony z adresem 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_telephone1")]
		public string Address2_Telephone1
		{
			get
			{
				return this.GetAttributeValue<string>("address2_telephone1");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Telephone1", "address2_telephone1", value);
			}
		}
		
		/// <summary>
		/// Drugi numer telefonu skojarzony z adresem 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_telephone2")]
		public string Address2_Telephone2
		{
			get
			{
				return this.GetAttributeValue<string>("address2_telephone2");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Telephone2", "address2_telephone2", value);
			}
		}
		
		/// <summary>
		/// Trzeci numer telefonu skojarzony z adresem 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_telephone3")]
		public string Address2_Telephone3
		{
			get
			{
				return this.GetAttributeValue<string>("address2_telephone3");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Telephone3", "address2_telephone3", value);
			}
		}
		
		/// <summary>
		/// Strefa firmy United Parcel Service (UPS) dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_upszone")]
		public string Address2_UPSZone
		{
			get
			{
				return this.GetAttributeValue<string>("address2_upszone");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_UPSZone", "address2_upszone", value);
			}
		}
		
		/// <summary>
		/// Przesunięcie czasu UTC dla adresu 2. Jest to różnica między czasem lokalnym a standardowym uniwersalnym czasem koordynowanym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_utcoffset")]
		public System.Nullable<int> Address2_UTCOffset
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address2_utcoffset");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Address2_UTCOffset", "address2_utcoffset", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył wydawcę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył wydawcę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Domyślny prefiks wartości opcji używany w nowo utworzonych opcjach, w rozwiązaniach skojarzonych z tym wydawcą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationoptionvalueprefix")]
		public System.Nullable<int> CustomizationOptionValuePrefix
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("customizationoptionvalueprefix");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("CustomizationOptionValuePrefix", "customizationoptionvalueprefix", value);
			}
		}
		
		/// <summary>
		/// Prefiks używany w nowych encjach, atrybutach i relacjach encji, w rozwiązaniach skojarzonych z tym wydawcą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationprefix")]
		public string CustomizationPrefix
		{
			get
			{
				return this.GetAttributeValue<string>("customizationprefix");
			}
			set
			{
				this.SetAttributeValue<string>("CustomizationPrefix", "customizationprefix", value);
			}
		}
		
		/// <summary>
		/// Opis rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Adres e-mail wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("emailaddress")]
		public string EMailAddress
		{
			get
			{
				return this.GetAttributeValue<string>("emailaddress");
			}
			set
			{
				this.SetAttributeValue<string>("EMailAddress", "emailaddress", value);
			}
		}
		
		/// <summary>
		/// Wyświetlana nazwa użytkownika tego wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("friendlyname")]
		public string FriendlyName
		{
			get
			{
				return this.GetAttributeValue<string>("friendlyname");
			}
			set
			{
				this.SetAttributeValue<string>("FriendlyName", "friendlyname", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy wydawca został utworzony jako część instalacji rozwiązania zarządzanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isreadonly")]
		public System.Nullable<bool> IsReadonly
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isreadonly");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował wydawcę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który zmodyfikował wydawcę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z wydawcą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Domyślne ustawienia regionalne wydawcy w witrynie Microsoft Pinpoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pinpointpublisherdefaultlocale")]
		public string PinpointPublisherDefaultLocale
		{
			get
			{
				return this.GetAttributeValue<string>("pinpointpublisherdefaultlocale");
			}
		}
		
		/// <summary>
		/// Identyfikator wydawcy w witrynie Microsoft Pinpoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pinpointpublisherid")]
		public System.Nullable<long> PinpointPublisherId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("pinpointpublisherid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("publisherid")]
		public System.Nullable<System.Guid> PublisherId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("publisherid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("PublisherId", "publisherid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("publisherid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.PublisherId = value;
			}
		}
		
		/// <summary>
		/// Adres URL pomocniczej witryny sieci Web tego wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("supportingwebsiteurl")]
		public string SupportingWebsiteUrl
		{
			get
			{
				return this.GetAttributeValue<string>("supportingwebsiteurl");
			}
			set
			{
				this.SetAttributeValue<string>("SupportingWebsiteUrl", "supportingwebsiteurl", value);
			}
		}
		
		/// <summary>
		/// Unikatowa nazwa tego wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("uniquename")]
		public string UniqueName
		{
			get
			{
				return this.GetAttributeValue<string>("uniquename");
			}
			set
			{
				this.SetAttributeValue<string>("UniqueName", "uniquename", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N Publisher_PublisherAddress
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Publisher_PublisherAddress")]
		public System.Collections.Generic.IEnumerable<Xrm.PublisherAddress> Publisher_PublisherAddress
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PublisherAddress>("Publisher_PublisherAddress", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PublisherAddress>("Publisher_PublisherAddress", "Publisher_PublisherAddress", null, value);
			}
		}
		
		/// <summary>
		/// 1:N publisher_solution
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("publisher_solution")]
		public System.Collections.Generic.IEnumerable<Xrm.Solution> publisher_solution
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Solution>("publisher_solution", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Solution>("publisher_solution", "publisher_solution", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_publisher
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_publisher")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_publisher
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_publisher", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_publisher", "userentityinstancedata_publisher", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_publisher_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_publisher_createdby")]
		public Xrm.SystemUser lk_publisher_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_publisher_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_publisher_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_publisher_modifiedby")]
		public Xrm.SystemUser lk_publisher_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_publisher_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_publisherbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_publisherbase_createdonbehalfby")]
		public Xrm.SystemUser lk_publisherbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_publisherbase_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_publisherbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_publisherbase_modifiedonbehalfby")]
		public Xrm.SystemUser lk_publisherbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_publisherbase_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_publisher
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_publisher")]
		public Xrm.Organization organization_publisher
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_publisher", null);
			}
		}
	}
	
	/// <summary>
	/// Adres i informacje o wysyłce. Używane do przechowywania dodatkowych adresów wydawcy.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("publisheraddress")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("PublisherAddressSet")]
	public partial class PublisherAddress : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public PublisherAddress() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "publisheraddress";
		
		public const int EntityTypeCode = 7102;
		
		/// <summary>
		/// Określa, który adres wydawcy jest odpowiedni.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("addressnumber")]
		public System.Nullable<int> AddressNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("addressnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("AddressNumber", "addressnumber", value);
			}
		}
		
		/// <summary>
		/// Typ adresu wydawcy, np. adres na fakturze, adres wysyłkowy lub adres podstawowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("addresstypecode")]
		public System.Nullable<int> AddressTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("addresstypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("AddressTypeCode", "addresstypecode", value);
			}
		}
		
		/// <summary>
		/// Nazwa miasta dla adresu wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("city")]
		public string City
		{
			get
			{
				return this.GetAttributeValue<string>("city");
			}
			set
			{
				this.SetAttributeValue<string>("City", "city", value);
			}
		}
		
		/// <summary>
		/// Nazwa kraju/regionu w adresie wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("country")]
		public string Country
		{
			get
			{
				return this.GetAttributeValue<string>("country");
			}
			set
			{
				this.SetAttributeValue<string>("Country", "country", value);
			}
		}
		
		/// <summary>
		/// Nazwa powiatu w adresie wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("county")]
		public string County
		{
			get
			{
				return this.GetAttributeValue<string>("county");
			}
			set
			{
				this.SetAttributeValue<string>("County", "county", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył adres wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia adresu wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył adres wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Numer faksu adresu wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fax")]
		public string Fax
		{
			get
			{
				return this.GetAttributeValue<string>("fax");
			}
			set
			{
				this.SetAttributeValue<string>("Fax", "fax", value);
			}
		}
		
		/// <summary>
		/// Warunki frachtu dla adresu wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("freighttermscode")]
		public System.Nullable<int> FreightTermsCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("freighttermscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("FreightTermsCode", "freighttermscode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Szerokość geograficzna adresu wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("latitude")]
		public System.Nullable<double> Latitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("latitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Latitude", "latitude", value);
			}
		}
		
		/// <summary>
		/// Pierwszy wiersz do wprowadzenia informacji o adresie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("line1")]
		public string Line1
		{
			get
			{
				return this.GetAttributeValue<string>("line1");
			}
			set
			{
				this.SetAttributeValue<string>("Line1", "line1", value);
			}
		}
		
		/// <summary>
		/// Drugi wiersz do wprowadzenia informacji o adresie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("line2")]
		public string Line2
		{
			get
			{
				return this.GetAttributeValue<string>("line2");
			}
			set
			{
				this.SetAttributeValue<string>("Line2", "line2", value);
			}
		}
		
		/// <summary>
		/// Trzeci wiersz do wprowadzenia informacji o adresie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("line3")]
		public string Line3
		{
			get
			{
				return this.GetAttributeValue<string>("line3");
			}
			set
			{
				this.SetAttributeValue<string>("Line3", "line3", value);
			}
		}
		
		/// <summary>
		/// Długość geograficzna adresu wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("longitude")]
		public System.Nullable<double> Longitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("longitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Longitude", "longitude", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował adres wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji adresu wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który zmodyfikował adres wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa służąca do identyfikacji adresu wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obiektu nadrzędnego, z którym jest skojarzony adres wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentid")]
		public Microsoft.Xrm.Client.CrmEntityReference ParentId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("parentid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ParentId", "parentid", value);
			}
		}
		
		/// <summary>
		/// Kod pocztowy adresu wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("postalcode")]
		public string PostalCode
		{
			get
			{
				return this.GetAttributeValue<string>("postalcode");
			}
			set
			{
				this.SetAttributeValue<string>("PostalCode", "postalcode", value);
			}
		}
		
		/// <summary>
		/// Numer skrytki pocztowej adresu wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("postofficebox")]
		public string PostOfficeBox
		{
			get
			{
				return this.GetAttributeValue<string>("postofficebox");
			}
			set
			{
				this.SetAttributeValue<string>("PostOfficeBox", "postofficebox", value);
			}
		}
		
		/// <summary>
		/// Nazwa kontaktu podstawowego dla adresu wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("primarycontactname")]
		public string PrimaryContactName
		{
			get
			{
				return this.GetAttributeValue<string>("primarycontactname");
			}
			set
			{
				this.SetAttributeValue<string>("PrimaryContactName", "primarycontactname", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator adresu wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("publisheraddressid")]
		public System.Nullable<System.Guid> PublisherAddressId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("publisheraddressid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("PublisherAddressId", "publisheraddressid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("publisheraddressid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.PublisherAddressId = value;
			}
		}
		
		/// <summary>
		/// Metoda wysyłki dla adresu wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shippingmethodcode")]
		public System.Nullable<int> ShippingMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("shippingmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ShippingMethodCode", "shippingmethodcode", value);
			}
		}
		
		/// <summary>
		/// Województwo w adresie wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("stateorprovince")]
		public string StateOrProvince
		{
			get
			{
				return this.GetAttributeValue<string>("stateorprovince");
			}
			set
			{
				this.SetAttributeValue<string>("StateOrProvince", "stateorprovince", value);
			}
		}
		
		/// <summary>
		/// Pierwszy numer telefonu adresu wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("telephone1")]
		public string Telephone1
		{
			get
			{
				return this.GetAttributeValue<string>("telephone1");
			}
			set
			{
				this.SetAttributeValue<string>("Telephone1", "telephone1", value);
			}
		}
		
		/// <summary>
		/// Drugi numer telefonu adresu wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("telephone2")]
		public string Telephone2
		{
			get
			{
				return this.GetAttributeValue<string>("telephone2");
			}
			set
			{
				this.SetAttributeValue<string>("Telephone2", "telephone2", value);
			}
		}
		
		/// <summary>
		/// Trzeci numer telefonu adresu wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("telephone3")]
		public string Telephone3
		{
			get
			{
				return this.GetAttributeValue<string>("telephone3");
			}
			set
			{
				this.SetAttributeValue<string>("Telephone3", "telephone3", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Strefa UPS (United Parcel Service) adresu wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("upszone")]
		public string UPSZone
		{
			get
			{
				return this.GetAttributeValue<string>("upszone");
			}
			set
			{
				this.SetAttributeValue<string>("UPSZone", "upszone", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Przesunięcie czasu UTC dla tego adresu. Jest to różnica między czasem lokalnym a standardowym uniwersalnym czasem koordynowanym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcoffset")]
		public System.Nullable<int> UTCOffset
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcoffset");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCOffset", "utcoffset", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_publisheraddress
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_publisheraddress")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_publisheraddress
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_publisheraddress", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_publisheraddress", "userentityinstancedata_publisheraddress", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_publisheraddressbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_publisheraddressbase_createdby")]
		public Xrm.SystemUser lk_publisheraddressbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_publisheraddressbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_publisheraddressbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_publisheraddressbase_createdonbehalfby")]
		public Xrm.SystemUser lk_publisheraddressbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_publisheraddressbase_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_publisheraddressbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_publisheraddressbase_modifiedby")]
		public Xrm.SystemUser lk_publisheraddressbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_publisheraddressbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_publisheraddressbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_publisheraddressbase_modifiedonbehalfby")]
		public Xrm.SystemUser lk_publisheraddressbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_publisheraddressbase_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 Publisher_PublisherAddress
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Publisher_PublisherAddress")]
		public Xrm.Publisher Publisher_PublisherAddress
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Publisher>("Publisher_PublisherAddress", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Publisher>("Publisher_PublisherAddress", "Publisher_PublisherAddress", null, value);
			}
		}
	}
	
	/// <summary>
	/// Kwartalny kalendarz obrachunkowy organizacji. Przedział czasu, w którym obliczane są działania finansowe organizacji.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("quarterlyfiscalcalendar")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("QuarterlyFiscalCalendarSet")]
	public partial class QuarterlyFiscalCalendar : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public QuarterlyFiscalCalendar() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "quarterlyfiscalcalendar";
		
		public const int EntityTypeCode = 2002;
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		public Microsoft.Xrm.Client.CrmEntityReference BusinessUnitId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("businessunitid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył kwartalny kalendarz obrachunkowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia normy kwartalnego kalendarza obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył kwartalny kalendarz obrachunkowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Data i godzina początku obowiązywania normy sprzedaży kwartalnego kalendarza obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("effectiveon")]
		public System.Nullable<System.DateTime> EffectiveOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("effectiveon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("EffectiveOn", "effectiveon", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z kwartalnym kalendarzem obrachunkowym w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Typ okresu obrachunkowego używanego w normie sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fiscalperiodtype")]
		public System.Nullable<int> FiscalPeriodType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("fiscalperiodtype");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował kwartalny kalendarz obrachunkowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji kwartalnego kalendarza obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował kwartalny kalendarz obrachunkowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dla pierwszego kwartału roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quarter1")]
		public System.Nullable<decimal> Quarter1
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("quarter1");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Quarter1", "quarter1", value);
			}
		}
		
		/// <summary>
		/// Norma sprzedaży na pierwszy kwartał roku obrachunkowego w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quarter1_base")]
		public System.Nullable<decimal> Quarter1_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("quarter1_base");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dla drugiego kwartału roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quarter2")]
		public System.Nullable<decimal> Quarter2
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("quarter2");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Quarter2", "quarter2", value);
			}
		}
		
		/// <summary>
		/// Norma sprzedaży na drugi kwartał roku obrachunkowego w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quarter2_base")]
		public System.Nullable<decimal> Quarter2_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("quarter2_base");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dla trzeciego kwartału roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quarter3")]
		public System.Nullable<decimal> Quarter3
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("quarter3");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Quarter3", "quarter3", value);
			}
		}
		
		/// <summary>
		/// Norma sprzedaży na trzeci kwartał roku obrachunkowego w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quarter3_base")]
		public System.Nullable<decimal> Quarter3_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("quarter3_base");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dla czwartego kwartału roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quarter4")]
		public System.Nullable<decimal> Quarter4
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("quarter4");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Quarter4", "quarter4", value);
			}
		}
		
		/// <summary>
		/// Norma sprzedaży na czwarty kwartał roku obrachunkowego w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quarter4_base")]
		public System.Nullable<decimal> Quarter4_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("quarter4_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego sprzedawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salespersonid")]
		public Microsoft.Xrm.Client.CrmEntityReference SalesPersonId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("salespersonid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("SalesPersonId", "salespersonid", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z kwartalnym kalendarzem obrachunkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kwartalnego kalendarza obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userfiscalcalendarid")]
		public System.Nullable<System.Guid> UserFiscalCalendarId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("userfiscalcalendarid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("UserFiscalCalendarId", "userfiscalcalendarid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userfiscalcalendarid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.UserFiscalCalendarId = value;
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// 1:N QuarterlyFiscalCalendar_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("QuarterlyFiscalCalendar_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> QuarterlyFiscalCalendar_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("QuarterlyFiscalCalendar_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("QuarterlyFiscalCalendar_AsyncOperations", "QuarterlyFiscalCalendar_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N QuarterlyFiscalCalendar_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("QuarterlyFiscalCalendar_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> QuarterlyFiscalCalendar_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("QuarterlyFiscalCalendar_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("QuarterlyFiscalCalendar_BulkDeleteFailures", "QuarterlyFiscalCalendar_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_quarterlyfiscalcalendar_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quarterlyfiscalcalendar_createdby")]
		public Xrm.SystemUser lk_quarterlyfiscalcalendar_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_quarterlyfiscalcalendar_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_quarterlyfiscalcalendar_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quarterlyfiscalcalendar_createdonbehalfby")]
		public Xrm.SystemUser lk_quarterlyfiscalcalendar_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_quarterlyfiscalcalendar_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_quarterlyfiscalcalendar_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quarterlyfiscalcalendar_modifiedby")]
		public Xrm.SystemUser lk_quarterlyfiscalcalendar_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_quarterlyfiscalcalendar_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_quarterlyfiscalcalendar_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quarterlyfiscalcalendar_modifiedonbehalfby")]
		public Xrm.SystemUser lk_quarterlyfiscalcalendar_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_quarterlyfiscalcalendar_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_quarterlyfiscalcalendar_salespersonid
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salespersonid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quarterlyfiscalcalendar_salespersonid")]
		public Xrm.SystemUser lk_quarterlyfiscalcalendar_salespersonid
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_quarterlyfiscalcalendar_salespersonid", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("lk_quarterlyfiscalcalendar_salespersonid", "lk_quarterlyfiscalcalendar_salespersonid", null, value);
			}
		}
		
		/// <summary>
		/// N:1 transactioncurrency_quarterlyfiscalcalendar
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_quarterlyfiscalcalendar")]
		public Xrm.TransactionCurrency transactioncurrency_quarterlyfiscalcalendar
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_quarterlyfiscalcalendar", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_quarterlyfiscalcalendar", "transactioncurrency_quarterlyfiscalcalendar", null, value);
			}
		}
	}
	
	/// <summary>
	/// Lista rekordów wymagających akcji, takich jak konta, sprawy i działania.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("queue")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("QueueSet")]
	public partial class Queue : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Queue() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "queue";
		
		public const int EntityTypeCode = 2020;
		
		/// <summary>
		/// Informacja, czy użytkownik chce określać poświadczenia poczty e-mail dla routera poczty e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("allowemailcredentials")]
		public System.Nullable<bool> AllowEmailCredentials
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("allowemailcredentials");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("AllowEmailCredentials", "allowemailcredentials", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, z którą jest skojarzona kolejka.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		[System.ObsoleteAttribute()]
		public Microsoft.Xrm.Client.CrmEntityReference BusinessUnitId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("businessunitid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("BusinessUnitId", "businessunitid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył rekord kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył kolejkę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Adres e-mail skojarzony z kolejką.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("emailaddress")]
		public string EMailAddress
		{
			get
			{
				return this.GetAttributeValue<string>("emailaddress");
			}
			set
			{
				this.SetAttributeValue<string>("EMailAddress", "emailaddress", value);
			}
		}
		
		/// <summary>
		/// Hasło poczty e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("emailpassword")]
		public string EmailPassword
		{
			get
			{
				return this.GetAttributeValue<string>("emailpassword");
			}
			set
			{
				this.SetAttributeValue<string>("EmailPassword", "emailpassword", value);
			}
		}
		
		/// <summary>
		/// Pokazuje stan podstawowego adresu e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("emailrouteraccessapproval")]
		public System.Nullable<int> EmailRouterAccessApproval
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("emailrouteraccessapproval");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("EmailRouterAccessApproval", "emailrouteraccessapproval", value);
			}
		}
		
		/// <summary>
		/// Nazwa użytkownika poczty e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("emailusername")]
		public string EmailUsername
		{
			get
			{
				return this.GetAttributeValue<string>("emailusername");
			}
			set
			{
				this.SetAttributeValue<string>("EmailUsername", "emailusername", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z kolejką w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy kolejka ma ignorować niechciane wiadomości e-mail (przestarzałe).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ignoreunsolicitedemail")]
		public System.Nullable<bool> IgnoreUnsolicitedEmail
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ignoreunsolicitedemail");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IgnoreUnsolicitedEmail", "ignoreunsolicitedemail", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Metoda dostarczania przychodzących wiadomości e-mail do kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("incomingemaildeliverymethod")]
		public System.Nullable<int> IncomingEmailDeliveryMethod
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("incomingemaildeliverymethod");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("IncomingEmailDeliveryMethod", "incomingemaildeliverymethod", value);
			}
		}
		
		/// <summary>
		/// Metoda filtrowania przychodzących wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("incomingemailfilteringmethod")]
		public System.Nullable<int> IncomingEmailFilteringMethod
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("incomingemailfilteringmethod");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("IncomingEmailFilteringMethod", "incomingemailfilteringmethod", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy kolejka jest kolejką dostarczania faksów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isfaxqueue")]
		[System.ObsoleteAttribute()]
		public System.Nullable<bool> IsFaxQueue
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isfaxqueue");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował kolejkę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował kolejkę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z kolejką.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Metoda dostarczania wychodzących wiadomości e-mail do kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("outgoingemaildeliverymethod")]
		public System.Nullable<int> OutgoingEmailDeliveryMethod
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("outgoingemaildeliverymethod");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("OutgoingEmailDeliveryMethod", "outgoingemaildeliverymethod", value);
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, do którego należy kolejka.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, do której należy kolejka.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, do którego należy kolejka.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, do którego należy kolejka.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator właściciela kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("primaryuserid")]
		[System.ObsoleteAttribute()]
		public Microsoft.Xrm.Client.CrmEntityReference PrimaryUserId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("primaryuserid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("PrimaryUserId", "primaryuserid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("queueid")]
		public System.Nullable<System.Guid> QueueId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("queueid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("QueueId", "queueid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("queueid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.QueueId = value;
			}
		}
		
		/// <summary>
		/// Typ kolejki przypisywany automatycznie po utworzeniu użytkownika lub kolejki. Typy kolejek to prywatna, publiczna lub praca w toku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("queuetypecode")]
		public System.Nullable<int> QueueTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("queuetypecode");
			}
		}
		
		/// <summary>
		/// Stan kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z kolejką.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Numer wersji kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N queue_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("queue_activity_parties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> queue_activity_parties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("queue_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("queue_activity_parties", "queue_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Queue_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Queue_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Queue_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Queue_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Queue_AsyncOperations", "Queue_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Queue_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Queue_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Queue_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Queue_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Queue_BulkDeleteFailures", "Queue_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Queue_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Queue_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Queue_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Queue_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Queue_DuplicateBaseRecord", "Queue_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Queue_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Queue_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Queue_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Queue_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Queue_DuplicateMatchingRecord", "Queue_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N queue_entries
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("queue_entries")]
		public System.Collections.Generic.IEnumerable<Xrm.QueueItem> queue_entries
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QueueItem>("queue_entries", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QueueItem>("queue_entries", "queue_entries", null, value);
			}
		}
		
		/// <summary>
		/// 1:N queue_PostFollows
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("queue_PostFollows")]
		public System.Collections.Generic.IEnumerable<Xrm.PostFollow> queue_PostFollows
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PostFollow>("queue_PostFollows", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PostFollow>("queue_PostFollows", "queue_PostFollows", null, value);
			}
		}
		
		/// <summary>
		/// 1:N queue_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("queue_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> queue_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("queue_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("queue_principalobjectattributeaccess", "queue_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Queue_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Queue_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Queue_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Queue_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Queue_ProcessSessions", "Queue_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N queue_system_user
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("queue_system_user")]
		public System.Collections.Generic.IEnumerable<Xrm.SystemUser> queue_system_user
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SystemUser>("queue_system_user", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SystemUser>("queue_system_user", "queue_system_user", null, value);
			}
		}
		
		/// <summary>
		/// 1:N queue_team
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("queue_team")]
		public System.Collections.Generic.IEnumerable<Xrm.Team> queue_team
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Team>("queue_team", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Team>("queue_team", "queue_team", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_queue
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_queue")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_queue
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_queue", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_queue", "userentityinstancedata_queue", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_queues
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_queues")]
		public Xrm.BusinessUnit business_unit_queues
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_queues", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BusinessUnit>("business_unit_queues", "business_unit_queues", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_queues2
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_queues2")]
		public Xrm.BusinessUnit business_unit_queues2
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_queues2", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_queue_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_queue_createdonbehalfby")]
		public Xrm.SystemUser lk_queue_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_queue_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_queue_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_queue_modifiedonbehalfby")]
		public Xrm.SystemUser lk_queue_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_queue_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_queuebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_queuebase_createdby")]
		public Xrm.SystemUser lk_queuebase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_queuebase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_queuebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_queuebase_modifiedby")]
		public Xrm.SystemUser lk_queuebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_queuebase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_queues
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_queues")]
		public Xrm.Organization organization_queues
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_queues", null);
			}
		}
		
		/// <summary>
		/// N:1 queue_primary_user
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("primaryuserid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("queue_primary_user")]
		public Xrm.SystemUser queue_primary_user
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("queue_primary_user", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("queue_primary_user", "queue_primary_user", null, value);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_Queue
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_Queue")]
		public Xrm.TransactionCurrency TransactionCurrency_Queue
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_Queue", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_Queue", "TransactionCurrency_Queue", null, value);
			}
		}
	}
	
	/// <summary>
	/// Konkretny element kolejki, taka jak rekord sprawy lub rekord działania.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("queueitem")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("QueueItemSet")]
	public partial class QueueItem : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public QueueItem() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "queueitem";
		
		public const int EntityTypeCode = 2029;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył element kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia elementu kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył element kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Data i godzina wprowadzenia elementu kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("enteredon")]
		public System.Nullable<System.DateTime> EnteredOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("enteredon");
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z elementem kolejki w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator importu lub migracji danych, które spowodowały utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował element kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji elementu kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował element kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator encji w kolejce.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		public Microsoft.Xrm.Client.CrmEntityReference ObjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("objectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ObjectId", "objectid", value);
			}
		}
		
		/// <summary>
		/// Określa typ elementu kolejki, na przykład typ konkretnego działania, sprawę lub artykuł.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objecttypecode")]
		public System.Nullable<int> ObjectTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("objecttypecode");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji, z którą jest skojarzony element kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, do którego należy element kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, do której należy element kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, do którego należy element kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Priorytet elementu kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("priority")]
		[System.ObsoleteAttribute()]
		public System.Nullable<int> Priority
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("priority");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Priority", "priority", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kolejki, w której znajduje się element kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("queueid")]
		public Microsoft.Xrm.Client.CrmEntityReference QueueId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("queueid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("QueueId", "queueid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator elementu kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("queueitemid")]
		public System.Nullable<System.Guid> QueueItemId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("queueitemid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("QueueItemId", "queueitemid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("queueitemid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.QueueItemId = value;
			}
		}
		
		/// <summary>
		/// Nadawca, który utworzył element kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sender")]
		[System.ObsoleteAttribute()]
		public string Sender
		{
			get
			{
				return this.GetAttributeValue<string>("sender");
			}
			set
			{
				this.SetAttributeValue<string>("Sender", "sender", value);
			}
		}
		
		/// <summary>
		/// Stan elementu kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("state")]
		[System.ObsoleteAttribute()]
		public System.Nullable<int> State
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("state");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("State", "state", value);
			}
		}
		
		/// <summary>
		/// Stan elementu kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu elementu kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("status")]
		[System.ObsoleteAttribute()]
		public System.Nullable<int> Status
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("status");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Status", "status", value);
			}
		}
		
		/// <summary>
		/// Przyczyna stanu elementu kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Tytuł elementu kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("title")]
		public string Title
		{
			get
			{
				return this.GetAttributeValue<string>("title");
			}
		}
		
		/// <summary>
		/// Adresaci wymienieni w wierszu Do wiadomości dla elementów kolejki wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("torecipients")]
		[System.ObsoleteAttribute()]
		public string ToRecipients
		{
			get
			{
				return this.GetAttributeValue<string>("torecipients");
			}
			set
			{
				this.SetAttributeValue<string>("ToRecipients", "torecipients", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzony z elementem kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji elementu kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, który pracuje z elementem kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("workerid")]
		public Microsoft.Xrm.Client.CrmEntityReference WorkerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("workerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("WorkerId", "workerid", value);
			}
		}
		
		/// <summary>
		/// Data i godzina przydzielenia pracownika do elementu kolejki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("workeridmodifiedon")]
		public System.Nullable<System.DateTime> WorkerIdModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("workeridmodifiedon");
			}
		}
		
		/// <summary>
		/// 1:N QueueItem_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("QueueItem_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> QueueItem_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("QueueItem_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("QueueItem_AsyncOperations", "QueueItem_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N QueueItem_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("QueueItem_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> QueueItem_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("QueueItem_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("QueueItem_BulkDeleteFailures", "QueueItem_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N queueitem_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("queueitem_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> queueitem_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("queueitem_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("queueitem_principalobjectattributeaccess", "queueitem_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N QueueItem_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("QueueItem_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> QueueItem_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("QueueItem_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("QueueItem_ProcessSessions", "QueueItem_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_queueitem
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_queueitem")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_queueitem
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_queueitem", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_queueitem", "userentityinstancedata_queueitem", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ActivityPointer_QueueItem
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ActivityPointer_QueueItem")]
		public Xrm.ActivityPointer ActivityPointer_QueueItem
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityPointer>("ActivityPointer_QueueItem", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ActivityPointer>("ActivityPointer_QueueItem", "ActivityPointer_QueueItem", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Appointment_QueueItem
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Appointment_QueueItem")]
		public Xrm.Appointment Appointment_QueueItem
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Appointment>("Appointment_QueueItem", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Appointment>("Appointment_QueueItem", "Appointment_QueueItem", null, value);
			}
		}
		
		/// <summary>
		/// N:1 BulkOperation_QueueItem
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkOperation_QueueItem")]
		public Xrm.BulkOperation BulkOperation_QueueItem
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BulkOperation>("BulkOperation_QueueItem", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BulkOperation>("BulkOperation_QueueItem", "BulkOperation_QueueItem", null, value);
			}
		}
		
		/// <summary>
		/// N:1 CampaignActivity_QueueItem
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignActivity_QueueItem")]
		public Xrm.CampaignActivity CampaignActivity_QueueItem
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignActivity>("CampaignActivity_QueueItem", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CampaignActivity>("CampaignActivity_QueueItem", "CampaignActivity_QueueItem", null, value);
			}
		}
		
		/// <summary>
		/// N:1 CampaignResponse_QueueItem
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignResponse_QueueItem")]
		public Xrm.CampaignResponse CampaignResponse_QueueItem
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignResponse>("CampaignResponse_QueueItem", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CampaignResponse>("CampaignResponse_QueueItem", "CampaignResponse_QueueItem", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Email_QueueItem
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Email_QueueItem")]
		public Xrm.Email Email_QueueItem
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Email>("Email_QueueItem", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Email>("Email_QueueItem", "Email_QueueItem", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Fax_QueueItem
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Fax_QueueItem")]
		public Xrm.Fax Fax_QueueItem
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Fax>("Fax_QueueItem", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Fax>("Fax_QueueItem", "Fax_QueueItem", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Incident_QueueItem
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_QueueItem")]
		public Xrm.Incident Incident_QueueItem
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Incident>("Incident_QueueItem", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Incident>("Incident_QueueItem", "Incident_QueueItem", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Letter_QueueItem
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Letter_QueueItem")]
		public Xrm.Letter Letter_QueueItem
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Letter>("Letter_QueueItem", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Letter>("Letter_QueueItem", "Letter_QueueItem", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_queueitem_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_queueitem_createdonbehalfby")]
		public Xrm.SystemUser lk_queueitem_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_queueitem_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_queueitem_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_queueitem_modifiedonbehalfby")]
		public Xrm.SystemUser lk_queueitem_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_queueitem_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_queueitembase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_queueitembase_createdby")]
		public Xrm.SystemUser lk_queueitembase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_queueitembase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_queueitembase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_queueitembase_modifiedby")]
		public Xrm.SystemUser lk_queueitembase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_queueitembase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_queueitembase_workerid
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("workerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_queueitembase_workerid")]
		public Xrm.SystemUser lk_queueitembase_workerid
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_queueitembase_workerid", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("lk_queueitembase_workerid", "lk_queueitembase_workerid", null, value);
			}
		}
		
		/// <summary>
		/// N:1 organization_queueitems
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_queueitems")]
		public Xrm.Organization organization_queueitems
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_queueitems", null);
			}
		}
		
		/// <summary>
		/// N:1 PhoneCall_QueueItem
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("PhoneCall_QueueItem")]
		public Xrm.PhoneCall PhoneCall_QueueItem
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PhoneCall>("PhoneCall_QueueItem", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PhoneCall>("PhoneCall_QueueItem", "PhoneCall_QueueItem", null, value);
			}
		}
		
		/// <summary>
		/// N:1 queue_entries
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("queueid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("queue_entries")]
		public Xrm.Queue queue_entries
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Queue>("queue_entries", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Queue>("queue_entries", "queue_entries", null, value);
			}
		}
		
		/// <summary>
		/// N:1 RecurringAppointmentMaster_QueueItem
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("RecurringAppointmentMaster_QueueItem")]
		public Xrm.RecurringAppointmentMaster RecurringAppointmentMaster_QueueItem
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RecurringAppointmentMaster>("RecurringAppointmentMaster_QueueItem", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.RecurringAppointmentMaster>("RecurringAppointmentMaster_QueueItem", "RecurringAppointmentMaster_QueueItem", null, value);
			}
		}
		
		/// <summary>
		/// N:1 ServiceAppointment_QueueItem
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ServiceAppointment_QueueItem")]
		public Xrm.ServiceAppointment ServiceAppointment_QueueItem
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ServiceAppointment>("ServiceAppointment_QueueItem", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ServiceAppointment>("ServiceAppointment_QueueItem", "ServiceAppointment_QueueItem", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Task_QueueItem
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Task_QueueItem")]
		public Xrm.Task Task_QueueItem
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Task>("Task_QueueItem", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Task>("Task_QueueItem", "Task_QueueItem", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_queueitembase_workerid
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("workerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_queueitembase_workerid")]
		public Xrm.Team team_queueitembase_workerid
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_queueitembase_workerid", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Team>("team_queueitembase_workerid", "team_queueitembase_workerid", null, value);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_QueueItem
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_QueueItem")]
		public Xrm.TransactionCurrency TransactionCurrency_QueueItem
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_QueueItem", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_QueueItem", "TransactionCurrency_QueueItem", null, value);
			}
		}
	}
	
	/// <summary>
	/// Formalna oferta dotycząca produktów lub usług, oferowanych po określonych cenach wraz z warunkami płatności, wysyłana potencjalnemu klientowi.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("quote")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("QuoteSet")]
	public partial class Quote : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Quote() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "quote";
		
		public const int EntityTypeCode = 1084;
		
		/// <summary>
		/// Unikatowy identyfikator konta, z którym jest skojarzona oferta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("accountid")]
		public Microsoft.Xrm.Client.CrmEntityReference AccountId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("accountid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator adresu fakturowania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_addressid")]
		public System.Nullable<System.Guid> BillTo_AddressId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("billto_addressid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("BillTo_AddressId", "billto_addressid", value);
			}
		}
		
		/// <summary>
		/// Nazwa miasta dla adresu na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_city")]
		public string BillTo_City
		{
			get
			{
				return this.GetAttributeValue<string>("billto_city");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_City", "billto_city", value);
			}
		}
		
		/// <summary>
		/// Nazwa kontaktu w adresie fakturowania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_contactname")]
		public string BillTo_ContactName
		{
			get
			{
				return this.GetAttributeValue<string>("billto_contactname");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_ContactName", "billto_contactname", value);
			}
		}
		
		/// <summary>
		/// Nazwa kraju/regionu w adresie na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_country")]
		public string BillTo_Country
		{
			get
			{
				return this.GetAttributeValue<string>("billto_country");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_Country", "billto_country", value);
			}
		}
		
		/// <summary>
		/// Numer faksu skojarzony z adresem na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_fax")]
		public string BillTo_Fax
		{
			get
			{
				return this.GetAttributeValue<string>("billto_fax");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_Fax", "billto_fax", value);
			}
		}
		
		/// <summary>
		/// Pierwszy wiersz do wprowadzenia informacji o adresie na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_line1")]
		public string BillTo_Line1
		{
			get
			{
				return this.GetAttributeValue<string>("billto_line1");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_Line1", "billto_line1", value);
			}
		}
		
		/// <summary>
		/// Drugi wiersz do wprowadzenia informacji o adresie na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_line2")]
		public string BillTo_Line2
		{
			get
			{
				return this.GetAttributeValue<string>("billto_line2");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_Line2", "billto_line2", value);
			}
		}
		
		/// <summary>
		/// Trzeci wiersz do wprowadzenia informacji o adresie na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_line3")]
		public string BillTo_Line3
		{
			get
			{
				return this.GetAttributeValue<string>("billto_line3");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_Line3", "billto_line3", value);
			}
		}
		
		/// <summary>
		/// Nazwa do wprowadzenia w adresie na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_name")]
		public string BillTo_Name
		{
			get
			{
				return this.GetAttributeValue<string>("billto_name");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_Name", "billto_name", value);
			}
		}
		
		/// <summary>
		/// Kod pocztowy w adresie na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_postalcode")]
		public string BillTo_PostalCode
		{
			get
			{
				return this.GetAttributeValue<string>("billto_postalcode");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_PostalCode", "billto_postalcode", value);
			}
		}
		
		/// <summary>
		/// Województwo w adresie na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_stateorprovince")]
		public string BillTo_StateOrProvince
		{
			get
			{
				return this.GetAttributeValue<string>("billto_stateorprovince");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_StateOrProvince", "billto_stateorprovince", value);
			}
		}
		
		/// <summary>
		/// Numer telefonu skojarzony z adresem na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_telephone")]
		public string BillTo_Telephone
		{
			get
			{
				return this.GetAttributeValue<string>("billto_telephone");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_Telephone", "billto_telephone", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kampanii źródłowej skojarzonej z ofertą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("campaignid")]
		public Microsoft.Xrm.Client.CrmEntityReference CampaignId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("campaignid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("CampaignId", "campaignid", value);
			}
		}
		
		/// <summary>
		/// Data i godzina zamknięcia oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("closedon")]
		public System.Nullable<System.DateTime> ClosedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("closedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ClosedOn", "closedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kontaktu skojarzonego z ofertą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contactid")]
		public Microsoft.Xrm.Client.CrmEntityReference ContactId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("contactid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył rekord oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył ofertę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator konta lub kontaktu skojarzonego z ofertą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		public Microsoft.Xrm.Client.CrmEntityReference CustomerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("customerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("CustomerId", "customerid", value);
			}
		}
		
		/// <summary>
		/// Opis oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Rabat określony jako kwota pieniężna dotycząca oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("discountamount")]
		public System.Nullable<decimal> DiscountAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("discountamount");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("DiscountAmount", "discountamount", value);
			}
		}
		
		/// <summary>
		/// Rabat określony jako kwota pieniężna wymieniona w ofercie w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("discountamount_base")]
		public System.Nullable<decimal> DiscountAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("discountamount_base");
			}
		}
		
		/// <summary>
		/// Rabat określony jako wartość procentowa dotycząca oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("discountpercentage")]
		public System.Nullable<decimal> DiscountPercentage
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("discountpercentage");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("DiscountPercentage", "discountpercentage", value);
			}
		}
		
		/// <summary>
		/// Data i godzina początku obowiązywania oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("effectivefrom")]
		public System.Nullable<System.DateTime> EffectiveFrom
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("effectivefrom");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("EffectiveFrom", "effectivefrom", value);
			}
		}
		
		/// <summary>
		/// Data będąca ostatnim dniem obowiązywania oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("effectiveto")]
		public System.Nullable<System.DateTime> EffectiveTo
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("effectiveto");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("EffectiveTo", "effectiveto", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z ofertą w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Data wygaśnięcia oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("expireson")]
		public System.Nullable<System.DateTime> ExpiresOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("expireson");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ExpiresOn", "expireson", value);
			}
		}
		
		/// <summary>
		/// Kosz frachtu dla oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("freightamount")]
		public System.Nullable<decimal> FreightAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("freightamount");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("FreightAmount", "freightamount", value);
			}
		}
		
		/// <summary>
		/// Koszt frachtu wymieniony w ofercie przeliczony na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("freightamount_base")]
		public System.Nullable<decimal> FreightAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("freightamount_base");
			}
		}
		
		/// <summary>
		/// Warunki frachtu dla oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("freighttermscode")]
		public System.Nullable<int> FreightTermsCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("freighttermscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("FreightTermsCode", "freighttermscode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował rekord oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował ofertę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator szansy sprzedaży, z którą jest skojarzona oferta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("opportunityid")]
		public Microsoft.Xrm.Client.CrmEntityReference OpportunityId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("opportunityid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OpportunityId", "opportunityid", value);
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, do którego należy oferta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, do której należy oferta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, do którego należy oferta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, do którego należy oferta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Warunki płatności dla oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("paymenttermscode")]
		public System.Nullable<int> PaymentTermsCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("paymenttermscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PaymentTermsCode", "paymenttermscode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator cennika skojarzonego z ofertą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pricelevelid")]
		public Microsoft.Xrm.Client.CrmEntityReference PriceLevelId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("pricelevelid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("PriceLevelId", "pricelevelid", value);
			}
		}
		
		/// <summary>
		/// Błąd kalkulacji ceny dla oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pricingerrorcode")]
		public System.Nullable<int> PricingErrorCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("pricingerrorcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PricingErrorCode", "pricingerrorcode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quoteid")]
		public System.Nullable<System.Guid> QuoteId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("quoteid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("QuoteId", "quoteid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quoteid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.QuoteId = value;
			}
		}
		
		/// <summary>
		/// Numer oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quotenumber")]
		public string QuoteNumber
		{
			get
			{
				return this.GetAttributeValue<string>("quotenumber");
			}
			set
			{
				this.SetAttributeValue<string>("QuoteNumber", "quotenumber", value);
			}
		}
		
		/// <summary>
		/// Żądana data dostawy dla oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("requestdeliveryby")]
		public System.Nullable<System.DateTime> RequestDeliveryBy
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("requestdeliveryby");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("RequestDeliveryBy", "requestdeliveryby", value);
			}
		}
		
		/// <summary>
		/// Numer poprawki dla oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("revisionnumber")]
		public System.Nullable<int> RevisionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("revisionnumber");
			}
		}
		
		/// <summary>
		/// Metoda wysyłki dla oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shippingmethodcode")]
		public System.Nullable<int> ShippingMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("shippingmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ShippingMethodCode", "shippingmethodcode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator adresu dostawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_addressid")]
		public System.Nullable<System.Guid> ShipTo_AddressId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("shipto_addressid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("ShipTo_AddressId", "shipto_addressid", value);
			}
		}
		
		/// <summary>
		/// Nazwa miasta dla adresu wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_city")]
		public string ShipTo_City
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_city");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_City", "shipto_city", value);
			}
		}
		
		/// <summary>
		/// Nazwa kontaktu w adresie dostawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_contactname")]
		public string ShipTo_ContactName
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_contactname");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_ContactName", "shipto_contactname", value);
			}
		}
		
		/// <summary>
		/// Nazwa kraju/regionu w adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_country")]
		public string ShipTo_Country
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_country");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Country", "shipto_country", value);
			}
		}
		
		/// <summary>
		/// Numer faksu skojarzony z adresem wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_fax")]
		public string ShipTo_Fax
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_fax");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Fax", "shipto_fax", value);
			}
		}
		
		/// <summary>
		/// Warunki frachtu dla adresu wysyłkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_freighttermscode")]
		public System.Nullable<int> ShipTo_FreightTermsCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("shipto_freighttermscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ShipTo_FreightTermsCode", "shipto_freighttermscode", value);
			}
		}
		
		/// <summary>
		/// Pierwszy wiersz do wprowadzenia informacji o adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_line1")]
		public string ShipTo_Line1
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_line1");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Line1", "shipto_line1", value);
			}
		}
		
		/// <summary>
		/// Drugi wiersz do wprowadzenia informacji o adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_line2")]
		public string ShipTo_Line2
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_line2");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Line2", "shipto_line2", value);
			}
		}
		
		/// <summary>
		/// Trzeci wiersz do wprowadzenia informacji o adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_line3")]
		public string ShipTo_Line3
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_line3");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Line3", "shipto_line3", value);
			}
		}
		
		/// <summary>
		/// Nazwa do wprowadzenia w adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_name")]
		public string ShipTo_Name
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_name");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Name", "shipto_name", value);
			}
		}
		
		/// <summary>
		/// Kod pocztowy w adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_postalcode")]
		public string ShipTo_PostalCode
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_postalcode");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_PostalCode", "shipto_postalcode", value);
			}
		}
		
		/// <summary>
		/// Województwo w adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_stateorprovince")]
		public string ShipTo_StateOrProvince
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_stateorprovince");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_StateOrProvince", "shipto_stateorprovince", value);
			}
		}
		
		/// <summary>
		/// Numer telefonu skojarzony z adresem wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_telephone")]
		public string ShipTo_Telephone
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_telephone");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Telephone", "shipto_telephone", value);
			}
		}
		
		/// <summary>
		/// Stan oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Łączna kwota oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totalamount")]
		public System.Nullable<decimal> TotalAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totalamount");
			}
		}
		
		/// <summary>
		/// Całkowita kwota oferty przeliczona na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totalamount_base")]
		public System.Nullable<decimal> TotalAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totalamount_base");
			}
		}
		
		/// <summary>
		/// Łączna kwota pomniejszona o opłaty frachtowe oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totalamountlessfreight")]
		public System.Nullable<decimal> TotalAmountLessFreight
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totalamountlessfreight");
			}
		}
		
		/// <summary>
		/// Całkowita kwota oferty pomniejszona o opłaty frachtowe przeliczona na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totalamountlessfreight_base")]
		public System.Nullable<decimal> TotalAmountLessFreight_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totalamountlessfreight_base");
			}
		}
		
		/// <summary>
		/// Łączny rabat dla oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totaldiscountamount")]
		public System.Nullable<decimal> TotalDiscountAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totaldiscountamount");
			}
		}
		
		/// <summary>
		/// Rabat końcowy dla oferty przeliczony na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totaldiscountamount_base")]
		public System.Nullable<decimal> TotalDiscountAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totaldiscountamount_base");
			}
		}
		
		/// <summary>
		/// Łączna kwota pozycji oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totallineitemamount")]
		public System.Nullable<decimal> TotalLineItemAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totallineitemamount");
			}
		}
		
		/// <summary>
		/// Całkowita kwota pozycji w ofercie przeliczona na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totallineitemamount_base")]
		public System.Nullable<decimal> TotalLineItemAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totallineitemamount_base");
			}
		}
		
		/// <summary>
		/// Łączny rabat dla pozycji oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totallineitemdiscountamount")]
		public System.Nullable<decimal> TotalLineItemDiscountAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totallineitemdiscountamount");
			}
		}
		
		/// <summary>
		/// Całkowity rabat dla pozycji w ofercie przeliczony na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totallineitemdiscountamount_base")]
		public System.Nullable<decimal> TotalLineItemDiscountAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totallineitemdiscountamount_base");
			}
		}
		
		/// <summary>
		/// Łączna kwota podatku dla oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totaltax")]
		public System.Nullable<decimal> TotalTax
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totaltax");
			}
		}
		
		/// <summary>
		/// Łączny podatek dla oferty przeliczony na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totaltax_base")]
		public System.Nullable<decimal> TotalTax_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totaltax_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z ofertą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// Informacja, czy klient zgłosi się po oferowane produkty, czy produkty mają zostać wysłane.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("willcall")]
		public System.Nullable<bool> WillCall
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("willcall");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("WillCall", "willcall", value);
			}
		}
		
		/// <summary>
		/// 1:N quote_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("quote_activity_parties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> quote_activity_parties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("quote_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("quote_activity_parties", "quote_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Quote_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_ActivityPointers")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityPointer> Quote_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityPointer>("Quote_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityPointer>("Quote_ActivityPointers", "Quote_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Quote_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> Quote_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("Quote_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("Quote_Annotation", "Quote_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Quote_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_Appointments")]
		public System.Collections.Generic.IEnumerable<Xrm.Appointment> Quote_Appointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Appointment>("Quote_Appointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Appointment>("Quote_Appointments", "Quote_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Quote_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Quote_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Quote_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Quote_AsyncOperations", "Quote_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Quote_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Quote_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Quote_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Quote_BulkDeleteFailures", "Quote_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N quote_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("quote_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> quote_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("quote_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("quote_connections1", "quote_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N quote_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("quote_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> quote_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("quote_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("quote_connections2", "quote_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N quote_details
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("quote_details")]
		public System.Collections.Generic.IEnumerable<Xrm.QuoteDetail> quote_details
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QuoteDetail>("quote_details", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QuoteDetail>("quote_details", "quote_details", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Quote_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Quote_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Quote_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Quote_DuplicateBaseRecord", "Quote_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Quote_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Quote_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Quote_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Quote_DuplicateMatchingRecord", "Quote_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Quote_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_Emails")]
		public System.Collections.Generic.IEnumerable<Xrm.Email> Quote_Emails
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Email>("Quote_Emails", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Email>("Quote_Emails", "Quote_Emails", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Quote_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_Faxes")]
		public System.Collections.Generic.IEnumerable<Xrm.Fax> Quote_Faxes
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Fax>("Quote_Faxes", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Fax>("Quote_Faxes", "Quote_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Quote_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_Letters")]
		public System.Collections.Generic.IEnumerable<Xrm.Letter> Quote_Letters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Letter>("Quote_Letters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Letter>("Quote_Letters", "Quote_Letters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N quote_orders
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("quote_orders")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesOrder> quote_orders
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesOrder>("quote_orders", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesOrder>("quote_orders", "quote_orders", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Quote_Phonecalls
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_Phonecalls")]
		public System.Collections.Generic.IEnumerable<Xrm.PhoneCall> Quote_Phonecalls
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PhoneCall>("Quote_Phonecalls", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PhoneCall>("Quote_Phonecalls", "Quote_Phonecalls", null, value);
			}
		}
		
		/// <summary>
		/// 1:N quote_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("quote_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> quote_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("quote_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("quote_principalobjectattributeaccess", "quote_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Quote_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Quote_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Quote_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Quote_ProcessSessions", "Quote_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Quote_QuoteClose
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_QuoteClose")]
		public System.Collections.Generic.IEnumerable<Xrm.QuoteClose> Quote_QuoteClose
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QuoteClose>("Quote_QuoteClose", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QuoteClose>("Quote_QuoteClose", "Quote_QuoteClose", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Quote_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_RecurringAppointmentMasters")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurringAppointmentMaster> Quote_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurringAppointmentMaster>("Quote_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurringAppointmentMaster>("Quote_RecurringAppointmentMasters", "Quote_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Quote_ServiceAppointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_ServiceAppointments")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceAppointment> Quote_ServiceAppointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceAppointment>("Quote_ServiceAppointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceAppointment>("Quote_ServiceAppointments", "Quote_ServiceAppointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Quote_SharepointDocumentLocation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_SharepointDocumentLocation")]
		public System.Collections.Generic.IEnumerable<Xrm.SharePointDocumentLocation> Quote_SharepointDocumentLocation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SharePointDocumentLocation>("Quote_SharepointDocumentLocation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SharePointDocumentLocation>("Quote_SharepointDocumentLocation", "Quote_SharepointDocumentLocation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Quote_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_Tasks")]
		public System.Collections.Generic.IEnumerable<Xrm.Task> Quote_Tasks
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Task>("Quote_Tasks", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Task>("Quote_Tasks", "Quote_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_quote
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_quote")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_quote
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_quote", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_quote", "userentityinstancedata_quote", null, value);
			}
		}
		
		/// <summary>
		/// N:N contactquotes_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contactquotes_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Contact> contactquotes_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contact>("contactquotes_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contact>("contactquotes_association", "contactquotes_association", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_quotes
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_quotes")]
		public Xrm.BusinessUnit business_unit_quotes
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_quotes", null);
			}
		}
		
		/// <summary>
		/// N:1 campaign_quotes
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("campaignid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaign_quotes")]
		public Xrm.Campaign campaign_quotes
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Campaign>("campaign_quotes", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Campaign>("campaign_quotes", "campaign_quotes", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_quote_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quote_createdonbehalfby")]
		public Xrm.SystemUser lk_quote_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_quote_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_quote_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quote_modifiedonbehalfby")]
		public Xrm.SystemUser lk_quote_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_quote_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_quotebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quotebase_createdby")]
		public Xrm.SystemUser lk_quotebase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_quotebase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_quotebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quotebase_modifiedby")]
		public Xrm.SystemUser lk_quotebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_quotebase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 opportunity_quotes
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("opportunityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunity_quotes")]
		public Xrm.Opportunity opportunity_quotes
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Opportunity>("opportunity_quotes", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Opportunity>("opportunity_quotes", "opportunity_quotes", null, value);
			}
		}
		
		/// <summary>
		/// N:1 price_level_quotes
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pricelevelid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("price_level_quotes")]
		public Xrm.PriceLevel price_level_quotes
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PriceLevel>("price_level_quotes", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PriceLevel>("price_level_quotes", "price_level_quotes", null, value);
			}
		}
		
		/// <summary>
		/// N:1 quote_customer_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("quote_customer_accounts")]
		public Xrm.Account quote_customer_accounts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("quote_customer_accounts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("quote_customer_accounts", "quote_customer_accounts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 quote_customer_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("quote_customer_contacts")]
		public Xrm.Contact quote_customer_contacts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("quote_customer_contacts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("quote_customer_contacts", "quote_customer_contacts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 system_user_quotes
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_quotes")]
		public Xrm.SystemUser system_user_quotes
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("system_user_quotes", null);
			}
		}
		
		/// <summary>
		/// N:1 team_quotes
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_quotes")]
		public Xrm.Team team_quotes
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_quotes", null);
			}
		}
		
		/// <summary>
		/// N:1 transactioncurrency_quote
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_quote")]
		public Xrm.TransactionCurrency transactioncurrency_quote
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_quote", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_quote", "transactioncurrency_quote", null, value);
			}
		}
	}
	
	/// <summary>
	/// Działanie generowane po zamknięciu oferty.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("quoteclose")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("QuoteCloseSet")]
	public partial class QuoteClose : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public QuoteClose() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "quoteclose";
		
		public const int EntityTypeCode = 4211;
		
		/// <summary>
		/// Unikatowy identyfikator działania dotyczącego zamknięcia oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public System.Nullable<System.Guid> ActivityId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("activityid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ActivityId", "activityid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ActivityId = value;
			}
		}
		
		/// <summary>
		/// Typ działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activitytypecode")]
		public string ActivityTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("activitytypecode");
			}
		}
		
		/// <summary>
		/// Rzeczywisty czas trwania działania dotyczącego zamknięcia oferty w minutach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualdurationminutes")]
		public System.Nullable<int> ActualDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("actualdurationminutes");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ActualDurationMinutes", "actualdurationminutes", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista godzina zakończenia działania dotyczącego zamknięcia oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualend")]
		public System.Nullable<System.DateTime> ActualEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualEnd", "actualend", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista godzina rozpoczęcia działania dotyczącego zamknięcia oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualstart")]
		public System.Nullable<System.DateTime> ActualStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualStart", "actualstart", value);
			}
		}
		
		/// <summary>
		/// Kategoria działania dotyczącego zamknięcia oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("category")]
		public string Category
		{
			get
			{
				return this.GetAttributeValue<string>("category");
			}
			set
			{
				this.SetAttributeValue<string>("Category", "category", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył działanie dotyczące zamknięcia oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia działania dotyczącego zamknięcia oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył zamknięcie oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Działanie generowane po zamknięciu oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy działanie dotyczące zamknięcia oferty zostało zafakturowane jako część obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isbilled")]
		public System.Nullable<bool> IsBilled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isbilled");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsBilled", "isbilled", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy działanie ma charakter regularny, czy też jest zdarzeniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isregularactivity")]
		public System.Nullable<bool> IsRegularActivity
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isregularactivity");
			}
		}
		
		/// <summary>
		/// Informacja, czy działanie dotyczące zamknięcia oferty zostało utworzone na podstawie reguły przepływu pracy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isworkflowcreated")]
		public System.Nullable<bool> IsWorkflowCreated
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isworkflowcreated");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsWorkflowCreated", "isworkflowcreated", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował działanie dotyczące zamknięcia oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji działania dotyczącego zamknięcia oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował zamknięcie oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem działania dotyczącego zamknięcia oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem działania dotyczącego zamknięcia oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, do którego należy działanie dotyczące zamknięcia oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem działania dotyczącego zamknięcia oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator oferty, z którą jest skojarzone działanie dotyczące zamknięcia oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quoteid")]
		public Microsoft.Xrm.Client.CrmEntityReference QuoteId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("quoteid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("QuoteId", "quoteid", value);
			}
		}
		
		/// <summary>
		/// Numer oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quotenumber")]
		public string QuoteNumber
		{
			get
			{
				return this.GetAttributeValue<string>("quotenumber");
			}
			set
			{
				this.SetAttributeValue<string>("QuoteNumber", "quotenumber", value);
			}
		}
		
		/// <summary>
		/// Numer poprawki do oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("revision")]
		public System.Nullable<int> Revision
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("revision");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Revision", "revision", value);
			}
		}
		
		/// <summary>
		/// Zaplanowany czas trwania działania dotyczącego zamknięcia oferty w minutach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduleddurationminutes")]
		public System.Nullable<int> ScheduledDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("scheduleddurationminutes");
			}
		}
		
		/// <summary>
		/// Zaplanowana godzina zakończenia działania dotyczącego zamknięcia oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledend")]
		public System.Nullable<System.DateTime> ScheduledEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ScheduledEnd", "scheduledend", value);
			}
		}
		
		/// <summary>
		/// Zaplanowana godzina rozpoczęcia działania dotyczącego zamknięcia oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledstart")]
		public System.Nullable<System.DateTime> ScheduledStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ScheduledStart", "scheduledstart", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator usługi, z którą jest skojarzone działanie dotyczące zamknięcia oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		public Microsoft.Xrm.Client.CrmEntityReference ServiceId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("serviceid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ServiceId", "serviceid", value);
			}
		}
		
		/// <summary>
		/// Stan działania dotyczącego zamknięcia oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu działania dotyczącego zamknięcia oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Podkategoria działania dotyczącego zamknięcia oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subcategory")]
		public string Subcategory
		{
			get
			{
				return this.GetAttributeValue<string>("subcategory");
			}
			set
			{
				this.SetAttributeValue<string>("Subcategory", "subcategory", value);
			}
		}
		
		/// <summary>
		/// Temat skojarzony z działaniem dotyczącym zamknięcia oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subject")]
		public string Subject
		{
			get
			{
				return this.GetAttributeValue<string>("subject");
			}
			set
			{
				this.SetAttributeValue<string>("Subject", "subject", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji działania dotyczącego zamknięcia oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N quoteclose_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("quoteclose_activity_parties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> quoteclose_activity_parties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("quoteclose_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("quoteclose_activity_parties", "quoteclose_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N QuoteClose_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("QuoteClose_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> QuoteClose_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("QuoteClose_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("QuoteClose_Annotation", "QuoteClose_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N QuoteClose_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("QuoteClose_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> QuoteClose_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("QuoteClose_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("QuoteClose_AsyncOperations", "QuoteClose_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N QuoteClose_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("QuoteClose_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> QuoteClose_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("QuoteClose_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("QuoteClose_BulkDeleteFailures", "QuoteClose_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_quoteclose
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_quoteclose")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_quoteclose
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_quoteclose", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_quoteclose", "userentityinstancedata_quoteclose", null, value);
			}
		}
		
		/// <summary>
		/// N:1 activity_pointer_quote_close
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_quote_close")]
		public Xrm.ActivityPointer activity_pointer_quote_close
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_quote_close", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_quote_close", "activity_pointer_quote_close", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_quote_close_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_quote_close_activities")]
		public Xrm.BusinessUnit business_unit_quote_close_activities
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_quote_close_activities", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_quoteclose_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quoteclose_createdby")]
		public Xrm.SystemUser lk_quoteclose_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_quoteclose_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_quoteclose_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quoteclose_createdonbehalfby")]
		public Xrm.SystemUser lk_quoteclose_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_quoteclose_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_quoteclose_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quoteclose_modifiedby")]
		public Xrm.SystemUser lk_quoteclose_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_quoteclose_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_quoteclose_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quoteclose_modifiedonbehalfby")]
		public Xrm.SystemUser lk_quoteclose_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_quoteclose_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 Quote_QuoteClose
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quoteid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_QuoteClose")]
		public Xrm.Quote Quote_QuoteClose
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Quote>("Quote_QuoteClose", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Quote>("Quote_QuoteClose", "Quote_QuoteClose", null, value);
			}
		}
		
		/// <summary>
		/// N:1 service_quoteclose
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_quoteclose")]
		public Xrm.Service service_quoteclose
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Service>("service_quoteclose", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Service>("service_quoteclose", "service_quoteclose", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_quoteclose
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_quoteclose")]
		public Xrm.Team team_quoteclose
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_quoteclose", null);
			}
		}
		
		/// <summary>
		/// N:1 user_quoteclose
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_quoteclose")]
		public Xrm.SystemUser user_quoteclose
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_quoteclose", null);
			}
		}
	}
	
	/// <summary>
	/// Pozycja produktu w ofercie. Informacje zawierają takie dane, jak identyfikator produktu, opis, ilość i koszt.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("quotedetail")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("QuoteDetailSet")]
	public partial class QuoteDetail : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public QuoteDetail() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "quotedetail";
		
		public const int EntityTypeCode = 1085;
		
		/// <summary>
		/// Suma częściowa produktu oferowanego przed uwzględnieniem rabatów i podatków.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baseamount")]
		public System.Nullable<decimal> BaseAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("baseamount");
			}
		}
		
		/// <summary>
		/// Suma częściowa oferowanego produktu przed uwzględnieniem rabatów i podatków w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baseamount_base")]
		public System.Nullable<decimal> BaseAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("baseamount_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył produkt oferowany.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia produktu oferowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył szczegółowe informacje o ofercie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis produktu oferowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej ze szczegółowymi informacjami o ofercie w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Suma częściowa produktu oferowanego po uwzględnieniu rabatów i podatków.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("extendedamount")]
		public System.Nullable<decimal> ExtendedAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("extendedamount");
			}
		}
		
		/// <summary>
		/// Suma częściowa oferowanego produktu z uwzględnieniem rabatów i podatków w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("extendedamount_base")]
		public System.Nullable<decimal> ExtendedAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("extendedamount_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy zastępować ceny katalogowe produktów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ispriceoverridden")]
		public System.Nullable<bool> IsPriceOverridden
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ispriceoverridden");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsPriceOverridden", "ispriceoverridden", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy produkt jest produktem dopisanym, czy istniejącym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isproductoverridden")]
		public System.Nullable<bool> IsProductOverridden
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isproductoverridden");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsProductOverridden", "isproductoverridden", value);
			}
		}
		
		/// <summary>
		/// Numer pozycji produktu oferowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("lineitemnumber")]
		public System.Nullable<int> LineItemNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("lineitemnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("LineItemNumber", "lineitemnumber", value);
			}
		}
		
		/// <summary>
		/// Dostosowana kwota rabatu produktu oferowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("manualdiscountamount")]
		public System.Nullable<decimal> ManualDiscountAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("manualdiscountamount");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("ManualDiscountAmount", "manualdiscountamount", value);
			}
		}
		
		/// <summary>
		/// Kwota rabatu niestandardowego na oferowany produkt w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("manualdiscountamount_base")]
		public System.Nullable<decimal> ManualDiscountAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("manualdiscountamount_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował produkt oferowany.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji produktu oferowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował szczegółowe informacje o ofercie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, do którego należą szczegółowe informacje o ofercie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem szczegółowych informacji o ofercie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public System.Nullable<System.Guid> OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem szczegółowych informacji o ofercie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public System.Nullable<System.Guid> OwningUser
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owninguser");
			}
		}
		
		/// <summary>
		/// Cena jednostkowa produktu oferowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("priceperunit")]
		public System.Nullable<decimal> PricePerUnit
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("priceperunit");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("PricePerUnit", "priceperunit", value);
			}
		}
		
		/// <summary>
		/// Cena jednostkowa oferowanego produktu w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("priceperunit_base")]
		public System.Nullable<decimal> PricePerUnit_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("priceperunit_base");
			}
		}
		
		/// <summary>
		/// Błąd kalkulacji ceny produktu oferowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pricingerrorcode")]
		public System.Nullable<int> PricingErrorCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("pricingerrorcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PricingErrorCode", "pricingerrorcode", value);
			}
		}
		
		/// <summary>
		/// Opis produktu oferowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productdescription")]
		public string ProductDescription
		{
			get
			{
				return this.GetAttributeValue<string>("productdescription");
			}
			set
			{
				this.SetAttributeValue<string>("ProductDescription", "productdescription", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator produktu skojarzonego z produktem oferowanym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productid")]
		public Microsoft.Xrm.Client.CrmEntityReference ProductId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("productid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ProductId", "productid", value);
			}
		}
		
		/// <summary>
		/// Ilość produktu określona dla produktu oferowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quantity")]
		public System.Nullable<decimal> Quantity
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("quantity");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("Quantity", "quantity", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator pozycji produktu w ofercie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quotedetailid")]
		public System.Nullable<System.Guid> QuoteDetailId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("quotedetailid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("QuoteDetailId", "quotedetailid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quotedetailid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.QuoteDetailId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator oferty dla produktu oferowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quoteid")]
		public Microsoft.Xrm.Client.CrmEntityReference QuoteId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("quoteid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("QuoteId", "quoteid", value);
			}
		}
		
		/// <summary>
		/// Stan produktu oferowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quotestatecode")]
		public System.Nullable<int> QuoteStateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("quotestatecode");
			}
		}
		
		/// <summary>
		/// Żądana data dostawy produktu oferowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("requestdeliveryby")]
		public System.Nullable<System.DateTime> RequestDeliveryBy
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("requestdeliveryby");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("RequestDeliveryBy", "requestdeliveryby", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator sprzedawcy skojarzonego z produktem oferowanym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salesrepid")]
		public Microsoft.Xrm.Client.CrmEntityReference SalesRepId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("salesrepid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("SalesRepId", "salesrepid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator adresu dostawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_addressid")]
		public System.Nullable<System.Guid> ShipTo_AddressId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("shipto_addressid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("ShipTo_AddressId", "shipto_addressid", value);
			}
		}
		
		/// <summary>
		/// Nazwa miasta dla adresu wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_city")]
		public string ShipTo_City
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_city");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_City", "shipto_city", value);
			}
		}
		
		/// <summary>
		/// Nazwa kontaktu w adresie dostawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_contactname")]
		public string ShipTo_ContactName
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_contactname");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_ContactName", "shipto_contactname", value);
			}
		}
		
		/// <summary>
		/// Nazwa kraju/regionu w adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_country")]
		public string ShipTo_Country
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_country");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Country", "shipto_country", value);
			}
		}
		
		/// <summary>
		/// Numer faksu skojarzony z adresem wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_fax")]
		public string ShipTo_Fax
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_fax");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Fax", "shipto_fax", value);
			}
		}
		
		/// <summary>
		/// Warunki frachtu dla adresu wysyłkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_freighttermscode")]
		public System.Nullable<int> ShipTo_FreightTermsCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("shipto_freighttermscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ShipTo_FreightTermsCode", "shipto_freighttermscode", value);
			}
		}
		
		/// <summary>
		/// Pierwszy wiersz do wprowadzenia informacji o adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_line1")]
		public string ShipTo_Line1
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_line1");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Line1", "shipto_line1", value);
			}
		}
		
		/// <summary>
		/// Drugi wiersz do wprowadzenia informacji o adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_line2")]
		public string ShipTo_Line2
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_line2");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Line2", "shipto_line2", value);
			}
		}
		
		/// <summary>
		/// Trzeci wiersz do wprowadzenia informacji o adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_line3")]
		public string ShipTo_Line3
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_line3");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Line3", "shipto_line3", value);
			}
		}
		
		/// <summary>
		/// Nazwa do wprowadzenia w adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_name")]
		public string ShipTo_Name
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_name");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Name", "shipto_name", value);
			}
		}
		
		/// <summary>
		/// Kod pocztowy w adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_postalcode")]
		public string ShipTo_PostalCode
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_postalcode");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_PostalCode", "shipto_postalcode", value);
			}
		}
		
		/// <summary>
		/// Województwo w adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_stateorprovince")]
		public string ShipTo_StateOrProvince
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_stateorprovince");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_StateOrProvince", "shipto_stateorprovince", value);
			}
		}
		
		/// <summary>
		/// Numer telefonu skojarzony z adresem wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_telephone")]
		public string ShipTo_Telephone
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_telephone");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Telephone", "shipto_telephone", value);
			}
		}
		
		/// <summary>
		/// Kwota podatku dla produktu oferowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("tax")]
		public System.Nullable<decimal> Tax
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("tax");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Tax", "tax", value);
			}
		}
		
		/// <summary>
		/// Kwota podatku dla oferowanego produktu w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("tax_base")]
		public System.Nullable<decimal> Tax_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("tax_base");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej ze szczegółowymi informacjami o ofercie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki skojarzonej z produktem oferowanym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("uomid")]
		public Microsoft.Xrm.Client.CrmEntityReference UoMId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("uomid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("UoMId", "uomid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji szczegółowych informacji o ofercie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// Kwota rabatu hurtowego produktu oferowanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("volumediscountamount")]
		public System.Nullable<decimal> VolumeDiscountAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("volumediscountamount");
			}
		}
		
		/// <summary>
		/// Kwota rabatu hurtowego na oferowany produkt w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("volumediscountamount_base")]
		public System.Nullable<decimal> VolumeDiscountAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("volumediscountamount_base");
			}
		}
		
		/// <summary>
		/// Informacja, czy klient zgłosi się po oferowane produkty, czy produkty mają zostać wysłane.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("willcall")]
		public System.Nullable<bool> WillCall
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("willcall");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("WillCall", "willcall", value);
			}
		}
		
		/// <summary>
		/// 1:N QuoteDetail_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("QuoteDetail_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> QuoteDetail_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("QuoteDetail_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("QuoteDetail_AsyncOperations", "QuoteDetail_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N QuoteDetail_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("QuoteDetail_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> QuoteDetail_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("QuoteDetail_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("QuoteDetail_BulkDeleteFailures", "QuoteDetail_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N quotedetail_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("quotedetail_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> quotedetail_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("quotedetail_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("quotedetail_principalobjectattributeaccess", "quotedetail_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N QuoteDetail_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("QuoteDetail_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> QuoteDetail_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("QuoteDetail_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("QuoteDetail_ProcessSessions", "QuoteDetail_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_quotedetail
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_quotedetail")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_quotedetail
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_quotedetail", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_quotedetail", "userentityinstancedata_quotedetail", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_quotedetail_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quotedetail_createdonbehalfby")]
		public Xrm.SystemUser lk_quotedetail_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_quotedetail_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_quotedetail_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quotedetail_modifiedonbehalfby")]
		public Xrm.SystemUser lk_quotedetail_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_quotedetail_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_quotedetailbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quotedetailbase_createdby")]
		public Xrm.SystemUser lk_quotedetailbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_quotedetailbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_quotedetailbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quotedetailbase_modifiedby")]
		public Xrm.SystemUser lk_quotedetailbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_quotedetailbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 product_quote_details
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("product_quote_details")]
		public Xrm.Product product_quote_details
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Product>("product_quote_details", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Product>("product_quote_details", "product_quote_details", null, value);
			}
		}
		
		/// <summary>
		/// N:1 quote_details
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quoteid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("quote_details")]
		public Xrm.Quote quote_details
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Quote>("quote_details", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Quote>("quote_details", "quote_details", null, value);
			}
		}
		
		/// <summary>
		/// N:1 system_user_quotedetail
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salesrepid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_quotedetail")]
		public Xrm.SystemUser system_user_quotedetail
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("system_user_quotedetail", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("system_user_quotedetail", "system_user_quotedetail", null, value);
			}
		}
		
		/// <summary>
		/// N:1 transactioncurrency_quotedetail
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_quotedetail")]
		public Xrm.TransactionCurrency transactioncurrency_quotedetail
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_quotedetail", null);
			}
		}
		
		/// <summary>
		/// N:1 unit_of_measurement_quote_details
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("uomid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("unit_of_measurement_quote_details")]
		public Xrm.UoM unit_of_measurement_quote_details
		{
			get
			{
				return this.GetRelatedEntity<Xrm.UoM>("unit_of_measurement_quote_details", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.UoM>("unit_of_measurement_quote_details", "unit_of_measurement_quote_details", null, value);
			}
		}
	}
	
	/// <summary>
	/// Reguła cyklu reprezentuje wzorzec występowania cyklicznych encji.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("recurrencerule")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("RecurrenceRuleSet")]
	public partial class RecurrenceRule : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public RecurrenceRule() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "recurrencerule";
		
		public const int EntityTypeCode = 4250;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył regułę cyklu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia reguły cyklu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył regułę cyklu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Dzień miesiąca, w którym występuje termin cykliczny (zadanie cykliczne).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("dayofmonth")]
		public System.Nullable<int> DayOfMonth
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("dayofmonth");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("DayOfMonth", "dayofmonth", value);
			}
		}
		
		/// <summary>
		/// Maska bitów reprezentująca dni tygodnia, w których występuje termin cykliczny (zadanie cykliczne).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("daysofweekmask")]
		public System.Nullable<int> DaysOfWeekMask
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("daysofweekmask");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("DaysOfWeekMask", "daysofweekmask", value);
			}
		}
		
		/// <summary>
		/// Czas trwania wzorca cyklu w minutach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duration")]
		public System.Nullable<int> Duration
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("duration");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Duration", "duration", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista data zakończenia rozszerzenia wzorca cyklu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("effectiveenddate")]
		public System.Nullable<System.DateTime> EffectiveEndDate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("effectiveenddate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("EffectiveEndDate", "effectiveenddate", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista data rozpoczęcia rozszerzenia wzorca cyklu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("effectivestartdate")]
		public System.Nullable<System.DateTime> EffectiveStartDate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("effectivestartdate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("EffectiveStartDate", "effectivestartdate", value);
			}
		}
		
		/// <summary>
		/// Godzina zakończenia skojarzonego działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("endtime")]
		public System.Nullable<System.DateTime> EndTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("endtime");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("EndTime", "endtime", value);
			}
		}
		
		/// <summary>
		/// Pierwszy dzień tygodnia wzorca cyklu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("firstdayofweek")]
		public System.Nullable<int> FirstDayOfWeek
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("firstdayofweek");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("FirstDayOfWeek", "firstdayofweek", value);
			}
		}
		
		/// <summary>
		/// Określa liczbę, dla której wzorzec cyklu obowiązuje w danym przedziale.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("instance")]
		public System.Nullable<int> Instance
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("instance");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Instance", "instance", value);
			}
		}
		
		/// <summary>
		/// Liczba jednostek danego typu cyklu między wystąpieniami.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("interval")]
		public System.Nullable<int> Interval
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("interval");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Interval", "interval", value);
			}
		}
		
		/// <summary>
		/// Określa, czy wzorzec cyklu miesięcznego to określona liczba miesięcy i obowiązuje tylko w cyklu miesięcznym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isnthmonthly")]
		public System.Nullable<bool> IsNthMonthly
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isnthmonthly");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsNthMonthly", "isnthmonthly", value);
			}
		}
		
		/// <summary>
		/// Określa, czy wzorzec cyklu rocznego to określona liczba lat i obowiązuje tylko w cyklu rocznym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isnthyearly")]
		public System.Nullable<bool> IsNthYearly
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isnthyearly");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsNthYearly", "isnthyearly", value);
			}
		}
		
		/// <summary>
		/// Dotyczy tylko zadań cyklicznych. Wskazuje, czy zadanie powinno być generowane ponownie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isregenerate")]
		public System.Nullable<bool> IsRegenerate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isregenerate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsRegenerate", "isregenerate", value);
			}
		}
		
		/// <summary>
		/// Określa, czy wzorzec cyklu tygodniowego to codzienny wzorzec wszystkich dni powszednich i obowiązuje tylko w cyklu tygodniowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isweekdaypattern")]
		public System.Nullable<bool> IsWeekDayPattern
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isweekdaypattern");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsWeekDayPattern", "isweekdaypattern", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował regułę cyklu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji reguły cyklu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który zmodyfikował regułę cyklu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Określa miesiąc roku obowiązujący we wzorcu cyklu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("monthofyear")]
		public System.Nullable<int> MonthOfYear
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("monthofyear");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("MonthOfYear", "monthofyear", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obiektu, z którym jest skojarzona reguła cyklu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		public Microsoft.Xrm.Client.CrmEntityReference ObjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("objectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ObjectId", "objectid", value);
			}
		}
		
		/// <summary>
		/// Liczba wystąpień wzorca cyklu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("occurrences")]
		public System.Nullable<int> Occurrences
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("occurrences");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Occurrences", "occurrences", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, do którego należy reguła cyklu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, do której należy reguła cyklu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Data zakończenia zakresu cyklu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("patternenddate")]
		public System.Nullable<System.DateTime> PatternEndDate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("patternenddate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("PatternEndDate", "patternenddate", value);
			}
		}
		
		/// <summary>
		/// Typ zakończenia wzorca serii cyklicznej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("patternendtype")]
		public System.Nullable<int> PatternEndType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("patternendtype");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PatternEndType", "patternendtype", value);
			}
		}
		
		/// <summary>
		/// Data rozpoczęcia zakresu cyklu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("patternstartdate")]
		public System.Nullable<System.DateTime> PatternStartDate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("patternstartdate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("PatternStartDate", "patternstartdate", value);
			}
		}
		
		/// <summary>
		/// Typ cyklu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("recurrencepatterntype")]
		public System.Nullable<int> RecurrencePatternType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("recurrencepatterntype");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("RecurrencePatternType", "recurrencepatterntype", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator encji skojarzonej z regułą cyklu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ruleid")]
		public System.Nullable<System.Guid> RuleId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("ruleid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("RuleId", "ruleid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ruleid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.RuleId = value;
			}
		}
		
		/// <summary>
		/// Godzina rozpoczęcia działania cyklicznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("starttime")]
		public System.Nullable<System.DateTime> StartTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("starttime");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("StartTime", "starttime", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N recurrencerule_recurringappointmentmaster
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("recurrencerule_recurringappointmentmaster")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurringAppointmentMaster> recurrencerule_recurringappointmentmaster
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurringAppointmentMaster>("recurrencerule_recurringappointmentmaster", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurringAppointmentMaster>("recurrencerule_recurringappointmentmaster", "recurrencerule_recurringappointmentmaster", null, value);
			}
		}
		
		/// <summary>
		/// N:1 activity_pointer_recurrencerule
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_recurrencerule")]
		public Xrm.ActivityPointer activity_pointer_recurrencerule
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_recurrencerule", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_recurrencerule", "activity_pointer_recurrencerule", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_recurrencerule
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_recurrencerule")]
		public Xrm.BusinessUnit business_unit_recurrencerule
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_recurrencerule", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_recurrencerule_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_recurrencerule_createdby")]
		public Xrm.SystemUser lk_recurrencerule_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_recurrencerule_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_recurrencerule_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_recurrencerule_modifiedby")]
		public Xrm.SystemUser lk_recurrencerule_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_recurrencerule_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_recurrencerulebase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_recurrencerulebase_createdonbehalfby")]
		public Xrm.SystemUser lk_recurrencerulebase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_recurrencerulebase_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_recurrencerulebase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_recurrencerulebase_modifiedonbehalfby")]
		public Xrm.SystemUser lk_recurrencerulebase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_recurrencerulebase_modifiedonbehalfby", null);
			}
		}
	}
	
	/// <summary>
	/// Termin główny serii terminów cyklicznych.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("recurringappointmentmaster")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("RecurringAppointmentMasterSet")]
	public partial class RecurringAppointmentMaster : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public RecurringAppointmentMaster() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "recurringappointmentmaster";
		
		public const int EntityTypeCode = 4251;
		
		/// <summary>
		/// Unikatowy identyfikator serii terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public System.Nullable<System.Guid> ActivityId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("activityid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ActivityId", "activityid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ActivityId = value;
			}
		}
		
		/// <summary>
		/// Typ działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activitytypecode")]
		public string ActivityTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("activitytypecode");
			}
		}
		
		/// <summary>
		/// Kategoria serii terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("category")]
		public string Category
		{
			get
			{
				return this.GetAttributeValue<string>("category");
			}
			set
			{
				this.SetAttributeValue<string>("Category", "category", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył serię terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia serii terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył serię terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Dzień miesiąca, w którym występuje termin cykliczny.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("dayofmonth")]
		public System.Nullable<int> DayOfMonth
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("dayofmonth");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("DayOfMonth", "dayofmonth", value);
			}
		}
		
		/// <summary>
		/// Maska bitów reprezentująca dni tygodnia, w których występuje termin cykliczny.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("daysofweekmask")]
		public System.Nullable<int> DaysOfWeekMask
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("daysofweekmask");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("DaysOfWeekMask", "daysofweekmask", value);
			}
		}
		
		/// <summary>
		/// Lista usuniętych wystąpień serii terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("deletedexceptionslist")]
		public string DeletedExceptionsList
		{
			get
			{
				return this.GetAttributeValue<string>("deletedexceptionslist");
			}
		}
		
		/// <summary>
		/// Opis serii terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Czas trwania serii terminów cyklicznych w minutach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duration")]
		public System.Nullable<int> Duration
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("duration");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Duration", "duration", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista data zakończenia serii terminów cyklicznych oparta na określonej dacie zakończenia i wzorcu cyklu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("effectiveenddate")]
		public System.Nullable<System.DateTime> EffectiveEndDate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("effectiveenddate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("EffectiveEndDate", "effectiveenddate", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista data rozpoczęcia serii terminów cyklicznych oparta na określonej dacie rozpoczęcia i wzorcu cyklu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("effectivestartdate")]
		public System.Nullable<System.DateTime> EffectiveStartDate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("effectivestartdate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("EffectiveStartDate", "effectivestartdate", value);
			}
		}
		
		/// <summary>
		/// Godzina zakończenia skojarzonego działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("endtime")]
		public System.Nullable<System.DateTime> EndTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("endtime");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("EndTime", "endtime", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z serią terminów cyklicznych w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Kod stanu wskazujący, czy seria terminów cyklicznych została rozwinięta całkowicie czy częściowo.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("expansionstatecode")]
		public System.Nullable<int> ExpansionStateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("expansionstatecode");
			}
		}
		
		/// <summary>
		/// Pierwszy dzień tygodnia wzorca cyklu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("firstdayofweek")]
		public System.Nullable<int> FirstDayOfWeek
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("firstdayofweek");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("FirstDayOfWeek", "firstdayofweek", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator programu Outlook służący do korelowania serii terminów cyklicznych w różnych skrzynkach pocztowych programu Exchange.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("globalobjectid")]
		public string GlobalObjectId
		{
			get
			{
				return this.GetAttributeValue<string>("globalobjectid");
			}
			set
			{
				this.SetAttributeValue<string>("GlobalObjectId", "globalobjectid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator serii terminów cyklicznych, dla której zaktualizowano informacje o cyklu. 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("groupid")]
		public Microsoft.Xrm.Client.CrmEntityReference GroupId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("groupid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Określa występowanie serii terminów cyklicznych w każdym określonym dniu miesiąca. Obowiązuje wyłącznie we wzorcach cykli miesięcznych i rocznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("instance")]
		public System.Nullable<int> Instance
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("instance");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Instance", "instance", value);
			}
		}
		
		/// <summary>
		/// Typ wystąpienia serii terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("instancetypecode")]
		public System.Nullable<int> InstanceTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("instancetypecode");
			}
		}
		
		/// <summary>
		/// Liczba jednostek danego typu cyklu między wystąpieniami.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("interval")]
		public System.Nullable<int> Interval
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("interval");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Interval", "interval", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy seria terminów cyklicznych jest zdarzeniem całodniowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isalldayevent")]
		public System.Nullable<bool> IsAllDayEvent
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isalldayevent");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsAllDayEvent", "isalldayevent", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy seria terminów cyklicznych została zafakturowana podczas rozwiązywania sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isbilled")]
		public System.Nullable<bool> IsBilled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isbilled");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsBilled", "isbilled", value);
			}
		}
		
		/// <summary>
		/// Wskazuje czy seria terminów cyklicznych powinna występować zawsze po określonej liczbie miesięcy. Obowiązuje wyłącznie we wzorcu cyklu miesięcznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isnthmonthly")]
		public System.Nullable<bool> IsNthMonthly
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isnthmonthly");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsNthMonthly", "isnthmonthly", value);
			}
		}
		
		/// <summary>
		/// Wskazuje czy seria terminów cyklicznych powinna występować zawsze po określonej liczbie lat. Obowiązuje wyłącznie we wzorcu cyklu rocznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isnthyearly")]
		public System.Nullable<bool> IsNthYearly
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isnthyearly");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsNthYearly", "isnthyearly", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isregenerate")]
		public System.Nullable<bool> IsRegenerate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isregenerate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsRegenerate", "isregenerate", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy działanie jest typem zwykłego działania czy typem zdarzenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isregularactivity")]
		public System.Nullable<bool> IsRegularActivity
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isregularactivity");
			}
		}
		
		/// <summary>
		/// Wskazuje, czy wzorzec cyklu tygodniowego to codzienny wzorzec dni powszednich. Obowiązuje tylko w cyklu tygodniowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isweekdaypattern")]
		public System.Nullable<bool> IsWeekDayPattern
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isweekdaypattern");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsWeekDayPattern", "isweekdaypattern", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy seria terminów cyklicznych została utworzona z reguły przepływu pracy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isworkflowcreated")]
		public System.Nullable<bool> IsWorkflowCreated
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isworkflowcreated");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsWorkflowCreated", "isworkflowcreated", value);
			}
		}
		
		/// <summary>
		/// Data ostatnio rozwiniętego wystąpienia serii terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("lastexpandedinstancedate")]
		public System.Nullable<System.DateTime> LastExpandedInstanceDate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("lastexpandedinstancedate");
			}
		}
		
		/// <summary>
		/// Lokalizacja przyszłego wystąpienia serii terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("location")]
		public string Location
		{
			get
			{
				return this.GetAttributeValue<string>("location");
			}
			set
			{
				this.SetAttributeValue<string>("Location", "location", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował serię terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji serii terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który zmodyfikował serię terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Wskazuje miesiąc roku we wzorcu cyklu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("monthofyear")]
		public System.Nullable<int> MonthOfYear
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("monthofyear");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("MonthOfYear", "monthofyear", value);
			}
		}
		
		/// <summary>
		/// Data następnego rozwiniętego wystąpienia serii terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("nextexpansioninstancedate")]
		public System.Nullable<System.DateTime> NextExpansionInstanceDate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("nextexpansioninstancedate");
			}
		}
		
		/// <summary>
		/// Liczba wystąpień terminu w serii terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("occurrences")]
		public System.Nullable<int> Occurrences
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("occurrences");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Occurrences", "occurrences", value);
			}
		}
		
		/// <summary>
		/// Lista opcjonalnych uczestników serii terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("optionalattendees")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> OptionalAttendees
		{
			get
			{
				return this.GetAttributeCollectionValue<Xrm.ActivityParty>("optionalattendees");
			}
			set
			{
				this.SetAttributeCollectionValue<Xrm.ActivityParty>("OptionalAttendees", "optionalattendees", value);
			}
		}
		
		/// <summary>
		/// Osoba, która zorganizowała serię terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizer")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> Organizer
		{
			get
			{
				return this.GetAttributeCollectionValue<Xrm.ActivityParty>("organizer");
			}
			set
			{
				this.SetAttributeCollectionValue<Xrm.ActivityParty>("Organizer", "organizer", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator właściciela serii terminów cyklicznych programu Microsoft Office Outlook, skorelowany z właściwością PR_OWNER_APPT_ID MAPI.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("outlookownerapptid")]
		public System.Nullable<int> OutlookOwnerApptId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("outlookownerapptid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("OutlookOwnerApptId", "outlookownerapptid", value);
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, do którego należy seria terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, do której należy seria terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, do którego należy seria terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, do którego należy seria terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Data zakończenia zakresu cyklu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("patternenddate")]
		public System.Nullable<System.DateTime> PatternEndDate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("patternenddate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("PatternEndDate", "patternenddate", value);
			}
		}
		
		/// <summary>
		/// Typ zakończenia zakresu cyklu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("patternendtype")]
		public System.Nullable<int> PatternEndType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("patternendtype");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PatternEndType", "patternendtype", value);
			}
		}
		
		/// <summary>
		/// Data rozpoczęcia zakresu cyklu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("patternstartdate")]
		public System.Nullable<System.DateTime> PatternStartDate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("patternstartdate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("PatternStartDate", "patternstartdate", value);
			}
		}
		
		/// <summary>
		/// Priorytet serii terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("prioritycode")]
		public System.Nullable<int> PriorityCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("prioritycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PriorityCode", "prioritycode", value);
			}
		}
		
		/// <summary>
		/// Typ wzorca cyklu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("recurrencepatterntype")]
		public System.Nullable<int> RecurrencePatternType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("recurrencepatterntype");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("RecurrencePatternType", "recurrencepatterntype", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obiektu, z którym jest skojarzona seria terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		public Microsoft.Xrm.Client.CrmEntityReference RegardingObjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("regardingobjectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RegardingObjectId", "regardingobjectid", value);
			}
		}
		
		/// <summary>
		/// Lista wymaganych uczestników serii terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("requiredattendees")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> RequiredAttendees
		{
			get
			{
				return this.GetAttributeCollectionValue<Xrm.ActivityParty>("requiredattendees");
			}
			set
			{
				this.SetAttributeCollectionValue<Xrm.ActivityParty>("RequiredAttendees", "requiredattendees", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator reguły cyklu, która jest skojarzona z serią terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ruleid")]
		public Microsoft.Xrm.Client.CrmEntityReference RuleId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ruleid");
			}
		}
		
		/// <summary>
		/// Zaplanowana godzina zakończenia serii terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledend")]
		public System.Nullable<System.DateTime> ScheduledEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledend");
			}
		}
		
		/// <summary>
		/// Zaplanowana godzina rozpoczęcia serii terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledstart")]
		public System.Nullable<System.DateTime> ScheduledStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledstart");
			}
		}
		
		/// <summary>
		/// Wskazuje, czy seria terminów cyklicznych jest aktywna czy nieaktywna.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("seriesstatus")]
		public System.Nullable<bool> SeriesStatus
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("seriesstatus");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("SeriesStatus", "seriesstatus", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonej usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		public Microsoft.Xrm.Client.CrmEntityReference ServiceId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("serviceid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ServiceId", "serviceid", value);
			}
		}
		
		/// <summary>
		/// Godzina rozpoczęcia serii terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("starttime")]
		public System.Nullable<System.DateTime> StartTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("starttime");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("StartTime", "starttime", value);
			}
		}
		
		/// <summary>
		/// Stan serii terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("StateCode", "statecode", value);
			}
		}
		
		/// <summary>
		/// Przyczyna stanu serii terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Podkategoria serii terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subcategory")]
		public string Subcategory
		{
			get
			{
				return this.GetAttributeValue<string>("subcategory");
			}
			set
			{
				this.SetAttributeValue<string>("Subcategory", "subcategory", value);
			}
		}
		
		/// <summary>
		/// Temat skojarzony z serią terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subject")]
		public string Subject
		{
			get
			{
				return this.GetAttributeValue<string>("subject");
			}
			set
			{
				this.SetAttributeValue<string>("Subject", "subject", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subscriptionid")]
		public System.Nullable<System.Guid> SubscriptionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("subscriptionid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("SubscriptionId", "subscriptionid", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z serią terminów cyklicznych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N recurringappointmentmaster_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("recurringappointmentmaster_activity_parties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> recurringappointmentmaster_activity_parties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("recurringappointmentmaster_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("recurringappointmentmaster_activity_parties", "recurringappointmentmaster_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N RecurringAppointmentMaster_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("RecurringAppointmentMaster_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> RecurringAppointmentMaster_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("RecurringAppointmentMaster_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("RecurringAppointmentMaster_Annotation", "RecurringAppointmentMaster_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N recurringappointmentmaster_appointment
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("recurringappointmentmaster_appointment")]
		public System.Collections.Generic.IEnumerable<Xrm.Appointment> recurringappointmentmaster_appointment
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Appointment>("recurringappointmentmaster_appointment", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Appointment>("recurringappointmentmaster_appointment", "recurringappointmentmaster_appointment", null, value);
			}
		}
		
		/// <summary>
		/// 1:N RecurringAppointmentMaster_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("RecurringAppointmentMaster_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> RecurringAppointmentMaster_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("RecurringAppointmentMaster_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("RecurringAppointmentMaster_AsyncOperations", "RecurringAppointmentMaster_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N RecurringAppointmentMaster_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("RecurringAppointmentMaster_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> RecurringAppointmentMaster_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("RecurringAppointmentMaster_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("RecurringAppointmentMaster_BulkDeleteFailures", "RecurringAppointmentMaster_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N recurringappointmentmaster_campaignresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("recurringappointmentmaster_campaignresponse")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignResponse> recurringappointmentmaster_campaignresponse
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignResponse>("recurringappointmentmaster_campaignresponse", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignResponse>("recurringappointmentmaster_campaignresponse", "recurringappointmentmaster_campaignresponse", null, value);
			}
		}
		
		/// <summary>
		/// 1:N recurringappointmentmaster_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("recurringappointmentmaster_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> recurringappointmentmaster_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("recurringappointmentmaster_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("recurringappointmentmaster_connections1", "recurringappointmentmaster_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N recurringappointmentmaster_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("recurringappointmentmaster_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> recurringappointmentmaster_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("recurringappointmentmaster_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("recurringappointmentmaster_connections2", "recurringappointmentmaster_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N RecurringAppointmentMaster_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("RecurringAppointmentMaster_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> RecurringAppointmentMaster_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("RecurringAppointmentMaster_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("RecurringAppointmentMaster_DuplicateBaseRecord", "RecurringAppointmentMaster_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N RecurringAppointmentMaster_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("RecurringAppointmentMaster_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> RecurringAppointmentMaster_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("RecurringAppointmentMaster_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("RecurringAppointmentMaster_DuplicateMatchingRecord", "RecurringAppointmentMaster_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N recurringappointmentmaster_PostFollows
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("recurringappointmentmaster_PostFollows")]
		public System.Collections.Generic.IEnumerable<Xrm.PostFollow> recurringappointmentmaster_PostFollows
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PostFollow>("recurringappointmentmaster_PostFollows", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PostFollow>("recurringappointmentmaster_PostFollows", "recurringappointmentmaster_PostFollows", null, value);
			}
		}
		
		/// <summary>
		/// 1:N recurringappointmentmaster_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("recurringappointmentmaster_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> recurringappointmentmaster_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("recurringappointmentmaster_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("recurringappointmentmaster_principalobjectattributeaccess", "recurringappointmentmaster_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N RecurringAppointmentMaster_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("RecurringAppointmentMaster_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> RecurringAppointmentMaster_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("RecurringAppointmentMaster_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("RecurringAppointmentMaster_ProcessSessions", "RecurringAppointmentMaster_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N RecurringAppointmentMaster_QueueItem
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("RecurringAppointmentMaster_QueueItem")]
		public System.Collections.Generic.IEnumerable<Xrm.QueueItem> RecurringAppointmentMaster_QueueItem
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QueueItem>("RecurringAppointmentMaster_QueueItem", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QueueItem>("RecurringAppointmentMaster_QueueItem", "RecurringAppointmentMaster_QueueItem", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_recurringappointmentmaster
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_recurringappointmentmaster")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_recurringappointmentmaster
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_recurringappointmentmaster", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_recurringappointmentmaster", "userentityinstancedata_recurringappointmentmaster", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Account_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_RecurringAppointmentMasters")]
		public Xrm.Account Account_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("Account_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("Account_RecurringAppointmentMasters", "Account_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 activity_pointer_recurringappointmentmaster
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_recurringappointmentmaster")]
		public Xrm.ActivityPointer activity_pointer_recurringappointmentmaster
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_recurringappointmentmaster", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_recurringappointmentmaster", "activity_pointer_recurringappointmentmaster", null, value);
			}
		}
		
		/// <summary>
		/// N:1 BulkOperation_RecurringAppointmentMaster
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("BulkOperation_RecurringAppointmentMaster")]
		public Xrm.BulkOperation BulkOperation_RecurringAppointmentMaster
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BulkOperation>("BulkOperation_RecurringAppointmentMaster", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BulkOperation>("BulkOperation_RecurringAppointmentMaster", "BulkOperation_RecurringAppointmentMaster", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_recurringappointmentmaster_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_recurringappointmentmaster_activities")]
		public Xrm.BusinessUnit business_unit_recurringappointmentmaster_activities
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_recurringappointmentmaster_activities", null);
			}
		}
		
		/// <summary>
		/// N:1 Campaign_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_RecurringAppointmentMasters")]
		public Xrm.Campaign Campaign_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Campaign>("Campaign_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Campaign>("Campaign_RecurringAppointmentMasters", "Campaign_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 CampaignActivity_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignActivity_RecurringAppointmentMasters")]
		public Xrm.CampaignActivity CampaignActivity_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignActivity>("CampaignActivity_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CampaignActivity>("CampaignActivity_RecurringAppointmentMasters", "CampaignActivity_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Contact_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_RecurringAppointmentMasters")]
		public Xrm.Contact Contact_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("Contact_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("Contact_RecurringAppointmentMasters", "Contact_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Contract_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_RecurringAppointmentMasters")]
		public Xrm.Contract Contract_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contract>("Contract_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contract>("Contract_RecurringAppointmentMasters", "Contract_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Incident_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_RecurringAppointmentMasters")]
		public Xrm.Incident Incident_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Incident>("Incident_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Incident>("Incident_RecurringAppointmentMasters", "Incident_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Invoice_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Invoice_RecurringAppointmentMasters")]
		public Xrm.Invoice Invoice_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Invoice>("Invoice_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Invoice>("Invoice_RecurringAppointmentMasters", "Invoice_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Lead_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_RecurringAppointmentMasters")]
		public Xrm.Lead Lead_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Lead>("Lead_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Lead>("Lead_RecurringAppointmentMasters", "Lead_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_recurringappointmentmaster_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_recurringappointmentmaster_createdby")]
		public Xrm.SystemUser lk_recurringappointmentmaster_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_recurringappointmentmaster_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_recurringappointmentmaster_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_recurringappointmentmaster_createdonbehalfby")]
		public Xrm.SystemUser lk_recurringappointmentmaster_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_recurringappointmentmaster_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_recurringappointmentmaster_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_recurringappointmentmaster_modifiedby")]
		public Xrm.SystemUser lk_recurringappointmentmaster_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_recurringappointmentmaster_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_recurringappointmentmaster_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_recurringappointmentmaster_modifiedonbehalfby")]
		public Xrm.SystemUser lk_recurringappointmentmaster_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_recurringappointmentmaster_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postalbum_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_RecurringAppointmentMasters")]
		public Xrm.msdyn_PostAlbum msdyn_postalbum_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_RecurringAppointmentMasters", "msdyn_postalbum_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownicy_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_RecurringAppointmentMasters")]
		public Xrm.new_uzytkownicy new_uzytkownicy_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_RecurringAppointmentMasters", "new_uzytkownicy_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownikkontakty_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_RecurringAppointmentMasters")]
		public Xrm.new_uzytkownikkontakty new_uzytkownikkontakty_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_RecurringAppointmentMasters", "new_uzytkownikkontakty_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_zainteresowanie_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_RecurringAppointmentMasters")]
		public Xrm.new_zainteresowanie new_zainteresowanie_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_RecurringAppointmentMasters", "new_zainteresowanie_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Opportunity_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_RecurringAppointmentMasters")]
		public Xrm.Opportunity Opportunity_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Opportunity>("Opportunity_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Opportunity>("Opportunity_RecurringAppointmentMasters", "Opportunity_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Quote_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_RecurringAppointmentMasters")]
		public Xrm.Quote Quote_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Quote>("Quote_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Quote>("Quote_RecurringAppointmentMasters", "Quote_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 recurrencerule_recurringappointmentmaster
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("recurrencerule_recurringappointmentmaster")]
		public Xrm.RecurrenceRule recurrencerule_recurringappointmentmaster
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RecurrenceRule>("recurrencerule_recurringappointmentmaster", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.RecurrenceRule>("recurrencerule_recurringappointmentmaster", "recurrencerule_recurringappointmentmaster", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SalesOrder_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrder_RecurringAppointmentMasters")]
		public Xrm.SalesOrder SalesOrder_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesOrder>("SalesOrder_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesOrder>("SalesOrder_RecurringAppointmentMasters", "SalesOrder_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 service_recurringappointmentmasters
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_recurringappointmentmasters")]
		public Xrm.Service service_recurringappointmentmasters
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Service>("service_recurringappointmentmasters", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Service>("service_recurringappointmentmasters", "service_recurringappointmentmasters", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_recurringappointmentmaster
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_recurringappointmentmaster")]
		public Xrm.Team team_recurringappointmentmaster
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_recurringappointmentmaster", null);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_RecurringAppointmentMaster
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_RecurringAppointmentMaster")]
		public Xrm.TransactionCurrency TransactionCurrency_RecurringAppointmentMaster
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_RecurringAppointmentMaster", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_RecurringAppointmentMaster", "TransactionCurrency_RecurringAppointmentMaster", null, value);
			}
		}
		
		/// <summary>
		/// N:1 user_recurringappointmentmaster
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_recurringappointmentmaster")]
		public Xrm.SystemUser user_recurringappointmentmaster
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_recurringappointmentmaster", null);
			}
		}
	}
	
	/// <summary>
	/// Relacja między kontem lub kontaktem a szansą sprzedaży.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("relationshiprole")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("RelationshipRoleSet")]
	public partial class RelationshipRole : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public RelationshipRole() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "relationshiprole";
		
		public const int EntityTypeCode = 4500;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył rolę w relacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia roli w relacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył rolę w relacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis roli w relacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował rolę w relacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji roli w relacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował rolę w relacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa roli w relacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji, do której należy ta rola w relacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator roli w relacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("relationshiproleid")]
		public System.Nullable<System.Guid> RelationshipRoleId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("relationshiproleid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("RelationshipRoleId", "relationshiproleid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("relationshiproleid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.RelationshipRoleId = value;
			}
		}
		
		/// <summary>
		/// Stan roli w relacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu roli w relacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N relationship_role_customer_opportunity_roles
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("relationship_role_customer_opportunity_roles")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerOpportunityRole> relationship_role_customer_opportunity_roles
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerOpportunityRole>("relationship_role_customer_opportunity_roles", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerOpportunityRole>("relationship_role_customer_opportunity_roles", "relationship_role_customer_opportunity_roles", null, value);
			}
		}
		
		/// <summary>
		/// 1:N relationship_role_customer_role
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("relationship_role_customer_role")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerRelationship> relationship_role_customer_role
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerRelationship>("relationship_role_customer_role", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerRelationship>("relationship_role_customer_role", "relationship_role_customer_role", null, value);
			}
		}
		
		/// <summary>
		/// 1:N relationship_role_partner_role
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("relationship_role_partner_role")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerRelationship> relationship_role_partner_role
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerRelationship>("relationship_role_partner_role", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerRelationship>("relationship_role_partner_role", "relationship_role_partner_role", null, value);
			}
		}
		
		/// <summary>
		/// 1:N relationship_role_relationship_role_map
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("relationship_role_relationship_role_map")]
		public System.Collections.Generic.IEnumerable<Xrm.RelationshipRoleMap> relationship_role_relationship_role_map
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RelationshipRoleMap>("relationship_role_relationship_role_map", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RelationshipRoleMap>("relationship_role_relationship_role_map", "relationship_role_relationship_role_map", null, value);
			}
		}
		
		/// <summary>
		/// 1:N RelationshipRole_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("RelationshipRole_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> RelationshipRole_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("RelationshipRole_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("RelationshipRole_AsyncOperations", "RelationshipRole_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N RelationshipRole_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("RelationshipRole_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> RelationshipRole_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("RelationshipRole_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("RelationshipRole_BulkDeleteFailures", "RelationshipRole_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N RelationshipRole_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("RelationshipRole_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> RelationshipRole_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("RelationshipRole_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("RelationshipRole_ProcessSessions", "RelationshipRole_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_relationshiprole
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_relationshiprole")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_relationshiprole
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_relationshiprole", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_relationshiprole", "userentityinstancedata_relationshiprole", null, value);
			}
		}
		
		/// <summary>
		/// N:1 createdby_relationship_role
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_relationship_role")]
		public Xrm.SystemUser createdby_relationship_role
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("createdby_relationship_role", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_relationshiprole_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_relationshiprole_createdonbehalfby")]
		public Xrm.SystemUser lk_relationshiprole_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_relationshiprole_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_relationshiprole_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_relationshiprole_modifiedonbehalfby")]
		public Xrm.SystemUser lk_relationshiprole_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_relationshiprole_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 modifiedby_relationship_role
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_relationship_role")]
		public Xrm.SystemUser modifiedby_relationship_role
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("modifiedby_relationship_role", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_relationship_roles
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_relationship_roles")]
		public Xrm.Organization organization_relationship_roles
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_relationship_roles", null);
			}
		}
	}
	
	/// <summary>
	/// Mapowanie podstawowych skojarzonych obiektów, których dotyczy rola w relacji.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("relationshiprolemap")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("RelationshipRoleMapSet")]
	public partial class RelationshipRoleMap : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public RelationshipRoleMap() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "relationshiprolemap";
		
		public const int EntityTypeCode = 4501;
		
		/// <summary>
		/// Typ skojarzonej encji w mapowaniu roli w relacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("associateobjecttypecode")]
		public string AssociateObjectTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("associateobjecttypecode");
			}
			set
			{
				this.SetAttributeValue<string>("AssociateObjectTypeCode", "associateobjecttypecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył mapowanie roli w relacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia mapowania roli w relacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył mapowanie roli w relacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował mapowanie roli w relacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji rekordu mapowania roli w relacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował mapowanie roli w relacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji, z którą jest skojarzone mapowanie roli w relacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public System.Nullable<System.Guid> OrganizationId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("organizationid");
			}
		}
		
		/// <summary>
		/// Typ encji podstawowej w mapowaniu roli w relacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("primaryobjecttypecode")]
		public string PrimaryObjectTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("primaryobjecttypecode");
			}
			set
			{
				this.SetAttributeValue<string>("PrimaryObjectTypeCode", "primaryobjecttypecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator roli w relacji. Ta rola w relacji obowiązuje tylko w relacji między encją o typie określonym we właściwości kodu typu obiektu podstawowego, a encją o typie określonym we właściwości kodu typu obiektu skojarzonego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("relationshiproleid")]
		public Microsoft.Xrm.Client.CrmEntityReference RelationshipRoleId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("relationshiproleid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RelationshipRoleId", "relationshiproleid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator mapowania roli w relacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("relationshiprolemapid")]
		public System.Nullable<System.Guid> RelationshipRoleMapId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("relationshiprolemapid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("RelationshipRoleMapId", "relationshiprolemapid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("relationshiprolemapid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.RelationshipRoleMapId = value;
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N RelationshipRoleMap_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("RelationshipRoleMap_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> RelationshipRoleMap_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("RelationshipRoleMap_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("RelationshipRoleMap_AsyncOperations", "RelationshipRoleMap_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N RelationshipRoleMap_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("RelationshipRoleMap_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> RelationshipRoleMap_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("RelationshipRoleMap_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("RelationshipRoleMap_BulkDeleteFailures", "RelationshipRoleMap_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_relationshiprolemap
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_relationshiprolemap")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_relationshiprolemap
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_relationshiprolemap", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_relationshiprolemap", "userentityinstancedata_relationshiprolemap", null, value);
			}
		}
		
		/// <summary>
		/// N:1 createdby_relationship_role_map
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_relationship_role_map")]
		public Xrm.SystemUser createdby_relationship_role_map
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("createdby_relationship_role_map", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_relationshiprolemap_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_relationshiprolemap_createdonbehalfby")]
		public Xrm.SystemUser lk_relationshiprolemap_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_relationshiprolemap_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_relationshiprolemap_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_relationshiprolemap_modifiedonbehalfby")]
		public Xrm.SystemUser lk_relationshiprolemap_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_relationshiprolemap_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 modifiedby_relationship_role_map
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_relationship_role_map")]
		public Xrm.SystemUser modifiedby_relationship_role_map
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("modifiedby_relationship_role_map", null);
			}
		}
		
		/// <summary>
		/// N:1 relationship_role_relationship_role_map
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("relationshiproleid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("relationship_role_relationship_role_map")]
		public Xrm.RelationshipRole relationship_role_relationship_role_map
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RelationshipRole>("relationship_role_relationship_role_map", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.RelationshipRole>("relationship_role_relationship_role_map", "relationship_role_relationship_role_map", null, value);
			}
		}
	}
	
	/// <summary>
	/// Podsumowanie danych w czytelnym układzie.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("report")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ReportSet")]
	public partial class Report : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Report() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "report";
		
		public const int EntityTypeCode = 9100;
		
		/// <summary>
		/// Treść raportu w formacie binarnym (kodowanie base-64).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("bodybinary")]
		public string BodyBinary
		{
			get
			{
				return this.GetAttributeValue<string>("bodybinary");
			}
			set
			{
				this.SetAttributeValue<string>("BodyBinary", "bodybinary", value);
			}
		}
		
		/// <summary>
		/// Zawartość tekstowa pliku RDL dla raportu usług Reporting Services.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("bodytext")]
		public string BodyText
		{
			get
			{
				return this.GetAttributeValue<string>("bodytext");
			}
			set
			{
				this.SetAttributeValue<string>("BodyText", "bodytext", value);
			}
		}
		
		/// <summary>
		/// Adres URL prowadzący do połączonego raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("bodyurl")]
		public string BodyUrl
		{
			get
			{
				return this.GetAttributeValue<string>("bodyurl");
			}
			set
			{
				this.SetAttributeValue<string>("BodyUrl", "bodyurl", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył raport.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył raport.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Kod XML definiujący raport niestandardowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customreportxml")]
		public string CustomReportXml
		{
			get
			{
				return this.GetAttributeValue<string>("customreportxml");
			}
		}
		
		/// <summary>
		/// Domyślny filtr używany w raporcie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("defaultfilter")]
		public string DefaultFilter
		{
			get
			{
				return this.GetAttributeValue<string>("defaultfilter");
			}
			set
			{
				this.SetAttributeValue<string>("DefaultFilter", "defaultfilter", value);
			}
		}
		
		/// <summary>
		/// Opis raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Nazwa pliku raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("filename")]
		public string FileName
		{
			get
			{
				return this.GetAttributeValue<string>("filename");
			}
			set
			{
				this.SetAttributeValue<string>("FileName", "filename", value);
			}
		}
		
		/// <summary>
		/// Rozmiar pliku raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("filesize")]
		public System.Nullable<int> FileSize
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("filesize");
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy można dostosować ten składnik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomizable")]
		public Microsoft.Xrm.Sdk.BooleanManagedProperty IsCustomizable
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("iscustomizable");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("IsCustomizable", "iscustomizable", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy raport jest niestandardowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomreport")]
		public System.Nullable<bool> IsCustomReport
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("iscustomreport");
			}
		}
		
		/// <summary>
		/// Wskazuje, czy składnik rozwiązania jest częścią rozwiązania zarządzanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Informacja, czy raport jest prywatny czy dostępny dla wszystkich użytkowników.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ispersonal")]
		public System.Nullable<bool> IsPersonal
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ispersonal");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsPersonal", "ispersonal", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy raport jest zaplanowany.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isscheduledreport")]
		public System.Nullable<bool> IsScheduledReport
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isscheduledreport");
			}
		}
		
		/// <summary>
		/// Język, w którym będzie wyświetlany raport.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("languagecode")]
		public System.Nullable<int> LanguageCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("languagecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("LanguageCode", "languagecode", value);
			}
		}
		
		/// <summary>
		/// Typ MIME raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("mimetype")]
		public string MimeType
		{
			get
			{
				return this.GetAttributeValue<string>("mimetype");
			}
			set
			{
				this.SetAttributeValue<string>("MimeType", "mimetype", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował raport.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował raport.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Oryginalna zawartość tekstowa pliku RDL dla raportu usług Reporting Services.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("originalbodytext")]
		public string OriginalBodyText
		{
			get
			{
				return this.GetAttributeValue<string>("originalbodytext");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, do którego należy raport.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator raportu nadrzędnego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentreportid")]
		public Microsoft.Xrm.Client.CrmEntityReference ParentReportId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("parentreportid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ParentReportId", "parentreportid", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("queryinfo")]
		public string QueryInfo
		{
			get
			{
				return this.GetAttributeValue<string>("queryinfo");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportid")]
		public System.Nullable<System.Guid> ReportId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("reportid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ReportId", "reportid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ReportId = value;
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportidunique")]
		public System.Nullable<System.Guid> ReportIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("reportidunique");
			}
		}
		
		/// <summary>
		/// Nazwa raportu w SRS.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportnameonsrs")]
		public string ReportNameOnSRS
		{
			get
			{
				return this.GetAttributeValue<string>("reportnameonsrs");
			}
		}
		
		/// <summary>
		/// Typ raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reporttypecode")]
		public System.Nullable<int> ReportTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("reporttypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ReportTypeCode", "reporttypecode", value);
			}
		}
		
		/// <summary>
		/// Kod XML definiujący harmonogram raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("schedulexml")]
		public string ScheduleXml
		{
			get
			{
				return this.GetAttributeValue<string>("schedulexml");
			}
		}
		
		/// <summary>
		/// Data podpisu pod raportem, używana do identyfikacji raportu na potrzeby uaktualnień i poprawek.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("signaturedate")]
		public System.Nullable<System.DateTime> SignatureDate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("signaturedate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("SignatureDate", "signaturedate", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator podpisu pod raportem, używany do identyfikacji raportu na potrzeby uaktualnień i poprawek.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("signatureid")]
		public System.Nullable<System.Guid> SignatureId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("signatureid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("SignatureId", "signatureid", value);
			}
		}
		
		/// <summary>
		/// Kod języka podpisu pod raportem, używany do identyfikacji raportu na potrzeby uaktualnień i poprawek.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("signaturelcid")]
		public System.Nullable<int> SignatureLcid
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("signaturelcid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("SignatureLcid", "signaturelcid", value);
			}
		}
		
		/// <summary>
		/// Główna wersja podpisu pod raportem, używana do identyfikacji raportu na potrzeby uaktualnień i poprawek.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("signaturemajorversion")]
		public System.Nullable<int> SignatureMajorVersion
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("signaturemajorversion");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("SignatureMajorVersion", "signaturemajorversion", value);
			}
		}
		
		/// <summary>
		/// Pomocnicza wersja podpisu pod raportem używana do identyfikacji raportu na potrzeby uaktualnień i poprawek.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("signatureminorversion")]
		public System.Nullable<int> SignatureMinorVersion
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("signatureminorversion");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("SignatureMinorVersion", "signatureminorversion", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N Report_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Report_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Report_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Report_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Report_AsyncOperations", "Report_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N report_parent_report
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("report_parent_report", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.Report> Referencedreport_parent_report
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Report>("report_parent_report", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Report>("Referencedreport_parent_report", "report_parent_report", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// 1:N Report_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Report_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Report_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Report_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Report_ProcessSessions", "Report_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N report_reportcategories
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("report_reportcategories")]
		public System.Collections.Generic.IEnumerable<Xrm.ReportCategory> report_reportcategories
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ReportCategory>("report_reportcategories", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ReportCategory>("report_reportcategories", "report_reportcategories", null, value);
			}
		}
		
		/// <summary>
		/// 1:N report_reportentities
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("report_reportentities")]
		public System.Collections.Generic.IEnumerable<Xrm.ReportEntity> report_reportentities
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ReportEntity>("report_reportentities", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ReportEntity>("report_reportentities", "report_reportentities", null, value);
			}
		}
		
		/// <summary>
		/// 1:N report_reportlink
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("report_reportlink")]
		public System.Collections.Generic.IEnumerable<Xrm.ReportLink> report_reportlink
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ReportLink>("report_reportlink", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ReportLink>("report_reportlink", "report_reportlink", null, value);
			}
		}
		
		/// <summary>
		/// 1:N report_reportlink_sub
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("report_reportlink_sub")]
		public System.Collections.Generic.IEnumerable<Xrm.ReportLink> report_reportlink_sub
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ReportLink>("report_reportlink_sub", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ReportLink>("report_reportlink_sub", "report_reportlink_sub", null, value);
			}
		}
		
		/// <summary>
		/// 1:N report_reportvisibility
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("report_reportvisibility")]
		public System.Collections.Generic.IEnumerable<Xrm.ReportVisibility> report_reportvisibility
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ReportVisibility>("report_reportvisibility", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ReportVisibility>("report_reportvisibility", "report_reportvisibility", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_report
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_report")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_report
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_report", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_report", "userentityinstancedata_report", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_reports
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_reports")]
		public Xrm.BusinessUnit business_unit_reports
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_reports", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_report_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_report_createdonbehalfby")]
		public Xrm.SystemUser lk_report_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_report_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_report_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_report_modifiedonbehalfby")]
		public Xrm.SystemUser lk_report_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_report_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_reportbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportbase_createdby")]
		public Xrm.SystemUser lk_reportbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_reportbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_reportbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportbase_modifiedby")]
		public Xrm.SystemUser lk_reportbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_reportbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 report_parent_report
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentreportid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("report_parent_report", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.Report Referencingreport_parent_report
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Report>("report_parent_report", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Report>("Referencingreport_parent_report", "report_parent_report", Microsoft.Xrm.Sdk.EntityRole.Referencing, value);
			}
		}
	}
	
	/// <summary>
	/// Kategorie dotyczące raportu. Raport może być związany z wieloma kategoriami.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("reportcategory")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ReportCategorySet")]
	public partial class ReportCategory : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ReportCategory() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "reportcategory";
		
		public const int EntityTypeCode = 9102;
		
		/// <summary>
		/// Kategoria raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("categorycode")]
		public System.Nullable<int> CategoryCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("categorycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("CategoryCode", "categorycode", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył kategorię raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia rekordu kategorii.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył kategorię raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z kategorią raportu w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy można dostosować ten składnik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomizable")]
		public Microsoft.Xrm.Sdk.BooleanManagedProperty IsCustomizable
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("iscustomizable");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("IsCustomizable", "iscustomizable", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy składnik rozwiązania jest częścią rozwiązania zarządzanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował kategorię raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji kategorii raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował kategorię raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, do którego należy kategoria raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem kategorii raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public System.Nullable<System.Guid> OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem kategorii raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public System.Nullable<System.Guid> OwningUser
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owninguser");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kategorii raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportcategoryid")]
		public System.Nullable<System.Guid> ReportCategoryId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("reportcategoryid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ReportCategoryId", "reportcategoryid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportcategoryid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ReportCategoryId = value;
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportcategoryidunique")]
		public System.Nullable<System.Guid> ReportCategoryIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("reportcategoryidunique");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportid")]
		public Microsoft.Xrm.Client.CrmEntityReference ReportId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("reportid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ReportId", "reportid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z kategorią raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji kategorii raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N reportcategory_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("reportcategory_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> reportcategory_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("reportcategory_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("reportcategory_principalobjectattributeaccess", "reportcategory_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_reportcategory
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_reportcategory")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_reportcategory
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_reportcategory", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_reportcategory", "userentityinstancedata_reportcategory", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_reportcategory_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportcategory_createdonbehalfby")]
		public Xrm.SystemUser lk_reportcategory_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_reportcategory_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_reportcategory_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportcategory_modifiedonbehalfby")]
		public Xrm.SystemUser lk_reportcategory_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_reportcategory_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_reportcategorybase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportcategorybase_createdby")]
		public Xrm.SystemUser lk_reportcategorybase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_reportcategorybase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_reportcategorybase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportcategorybase_modifiedby")]
		public Xrm.SystemUser lk_reportcategorybase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_reportcategorybase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 report_reportcategories
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("report_reportcategories")]
		public Xrm.Report report_reportcategories
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Report>("report_reportcategories", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Report>("report_reportcategories", "report_reportcategories", null, value);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_ReportCategory
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_ReportCategory")]
		public Xrm.TransactionCurrency TransactionCurrency_ReportCategory
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_ReportCategory", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_ReportCategory", "TransactionCurrency_ReportCategory", null, value);
			}
		}
	}
	
	/// <summary>
	/// Encje dotyczące raportu. Raport może być związany z wieloma encjami.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("reportentity")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ReportEntitySet")]
	public partial class ReportEntity : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ReportEntity() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "reportentity";
		
		public const int EntityTypeCode = 9101;
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył rekord raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia rekordu raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył encję raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy można dostosować ten składnik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomizable")]
		public Microsoft.Xrm.Sdk.BooleanManagedProperty IsCustomizable
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("iscustomizable");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("IsCustomizable", "iscustomizable", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy raport można filtrować.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isfilterable")]
		public System.Nullable<bool> IsFilterable
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isfilterable");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsFilterable", "isfilterable", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował rekord raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji rekordu raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował encję raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Typ rekordu, z którym jest skojarzony raport.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objecttypecode")]
		public string ObjectTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("objecttypecode");
			}
			set
			{
				this.SetAttributeValue<string>("ObjectTypeCode", "objecttypecode", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, do którego należy encja raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem rekordu raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public System.Nullable<System.Guid> OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem rekordu raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public System.Nullable<System.Guid> OwningUser
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owninguser");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator rekordu raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportentityid")]
		public System.Nullable<System.Guid> ReportEntityId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("reportentityid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ReportEntityId", "reportentityid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportentityid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ReportEntityId = value;
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportentityidunique")]
		public System.Nullable<System.Guid> ReportEntityIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("reportentityidunique");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportid")]
		public Microsoft.Xrm.Client.CrmEntityReference ReportId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("reportid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ReportId", "reportid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_reportentity
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_reportentity")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_reportentity
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_reportentity", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_reportentity", "userentityinstancedata_reportentity", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_reportentity_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportentity_createdonbehalfby")]
		public Xrm.SystemUser lk_reportentity_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_reportentity_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_reportentity_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportentity_modifiedonbehalfby")]
		public Xrm.SystemUser lk_reportentity_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_reportentity_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_reportentitybase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportentitybase_createdby")]
		public Xrm.SystemUser lk_reportentitybase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_reportentitybase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_reportentitybase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportentitybase_modifiedby")]
		public Xrm.SystemUser lk_reportentitybase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_reportentitybase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 report_reportentities
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("report_reportentities")]
		public Xrm.Report report_reportentities
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Report>("report_reportentities", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Report>("report_reportentities", "report_reportentities", null, value);
			}
		}
	}
	
	/// <summary>
	/// Łącza i zależności między raportami. Raport może się odwoływać do uszczegółowień zawartych w innym raporcie albo mieć własny podraport.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("reportlink")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ReportLinkSet")]
	public partial class ReportLink : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ReportLink() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "reportlink";
		
		public const int EntityTypeCode = 9104;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył łącze do raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia rekordu łącza do raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył łącze do raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator połączonego raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("linkedreportid")]
		public Microsoft.Xrm.Client.CrmEntityReference LinkedReportId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("linkedreportid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("LinkedReportId", "linkedreportid", value);
			}
		}
		
		/// <summary>
		/// Nazwa, pod którą jest używany połączony raport.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("linkedreportname")]
		public string LinkedReportName
		{
			get
			{
				return this.GetAttributeValue<string>("linkedreportname");
			}
			set
			{
				this.SetAttributeValue<string>("LinkedReportName", "linkedreportname", value);
			}
		}
		
		/// <summary>
		/// Typ łącza do raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("linktypecode")]
		public System.Nullable<int> LinkTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("linktypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("LinkTypeCode", "linktypecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował łącze do raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji łącza do raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował łącze do raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, do którego należy łącze do raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem łącza do raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public System.Nullable<System.Guid> OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem łącza do raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public System.Nullable<System.Guid> OwningUser
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owninguser");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator raportu głównego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportid")]
		public Microsoft.Xrm.Client.CrmEntityReference ReportId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("reportid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ReportId", "reportid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator łącza do raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportlinkid")]
		public System.Nullable<System.Guid> ReportLinkId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("reportlinkid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ReportLinkId", "reportlinkid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportlinkid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ReportLinkId = value;
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportlinkidunique")]
		public System.Nullable<System.Guid> ReportLinkIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("reportlinkidunique");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_reportlink
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_reportlink")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_reportlink
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_reportlink", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_reportlink", "userentityinstancedata_reportlink", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_reportlink_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportlink_createdonbehalfby")]
		public Xrm.SystemUser lk_reportlink_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_reportlink_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_reportlink_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportlink_modifiedonbehalfby")]
		public Xrm.SystemUser lk_reportlink_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_reportlink_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_reportlinkbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportlinkbase_createdby")]
		public Xrm.SystemUser lk_reportlinkbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_reportlinkbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_reportlinkbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportlinkbase_modifiedby")]
		public Xrm.SystemUser lk_reportlinkbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_reportlinkbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 report_reportlink
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("report_reportlink")]
		public Xrm.Report report_reportlink
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Report>("report_reportlink", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Report>("report_reportlink", "report_reportlink", null, value);
			}
		}
		
		/// <summary>
		/// N:1 report_reportlink_sub
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("linkedreportid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("report_reportlink_sub")]
		public Xrm.Report report_reportlink_sub
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Report>("report_reportlink_sub", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Report>("report_reportlink_sub", "report_reportlink_sub", null, value);
			}
		}
	}
	
	/// <summary>
	/// Obszar, w którym ma być wyświetlany raport. Jeden raport może być prezentowany w kilku obszarach.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("reportvisibility")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ReportVisibilitySet")]
	public partial class ReportVisibility : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ReportVisibility() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "reportvisibility";
		
		public const int EntityTypeCode = 9103;
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył rekord widoczności raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia rekordu widoczności raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył widoczność raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy można dostosować ten składnik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomizable")]
		public Microsoft.Xrm.Sdk.BooleanManagedProperty IsCustomizable
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("iscustomizable");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("IsCustomizable", "iscustomizable", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował rekord widoczności raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji rekordu widoczności raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował widoczność raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, do którego należy widoczność raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem rekordu widoczności raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public System.Nullable<System.Guid> OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem rekordu widoczności raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public System.Nullable<System.Guid> OwningUser
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owninguser");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportid")]
		public Microsoft.Xrm.Client.CrmEntityReference ReportId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("reportid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ReportId", "reportid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator rekordu widoczności raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportvisibilityid")]
		public System.Nullable<System.Guid> ReportVisibilityId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("reportvisibilityid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ReportVisibilityId", "reportvisibilityid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportvisibilityid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ReportVisibilityId = value;
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportvisibilityidunique")]
		public System.Nullable<System.Guid> ReportVisibilityIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("reportvisibilityidunique");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// Typ widoczności raportu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("visibilitycode")]
		public System.Nullable<int> VisibilityCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("visibilitycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("VisibilityCode", "visibilitycode", value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_reportvisibility
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_reportvisibility")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_reportvisibility
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_reportvisibility", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_reportvisibility", "userentityinstancedata_reportvisibility", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_reportvisibility_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportvisibility_createdonbehalfby")]
		public Xrm.SystemUser lk_reportvisibility_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_reportvisibility_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_reportvisibility_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportvisibility_modifiedonbehalfby")]
		public Xrm.SystemUser lk_reportvisibility_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_reportvisibility_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_reportvisibilitybase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportvisibilitybase_createdby")]
		public Xrm.SystemUser lk_reportvisibilitybase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_reportvisibilitybase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_reportvisibilitybase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportvisibilitybase_modifiedby")]
		public Xrm.SystemUser lk_reportvisibilitybase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_reportvisibilitybase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 report_reportvisibility
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("report_reportvisibility")]
		public Xrm.Report report_reportvisibility
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Report>("report_reportvisibility", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Report>("report_reportvisibility", "report_reportvisibility", null, value);
			}
		}
	}
	
	/// <summary>
	/// Użytkownik pomieszczenia/sprzętu, którego można użyć w planowaniu wykonania usługi.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("resource")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ResourceSet")]
	public partial class Resource : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Resource() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "resource";
		
		public const int EntityTypeCode = 4002;
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, z którą jest skojarzony zasób.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		public Microsoft.Xrm.Client.CrmEntityReference BusinessUnitId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("businessunitid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("BusinessUnitId", "businessunitid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kalendarza dla zasobu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("calendarid")]
		public System.Nullable<System.Guid> CalendarId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("calendarid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("CalendarId", "calendarid", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("displayinserviceviews")]
		public System.Nullable<bool> DisplayInServiceViews
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("displayinserviceviews");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DisplayInServiceViews", "displayinserviceviews", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy zasób jest włączony.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isdisabled")]
		public System.Nullable<bool> IsDisabled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isdisabled");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsDisabled", "isdisabled", value);
			}
		}
		
		/// <summary>
		/// Nazwa zasobu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Typ encji, z którą jest skojarzony zasób.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objecttypecode")]
		public string ObjectTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("objecttypecode");
			}
			set
			{
				this.SetAttributeValue<string>("ObjectTypeCode", "objecttypecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji, z którą jest skojarzony zasób.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zasobu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("resourceid")]
		public System.Nullable<System.Guid> ResourceId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("resourceid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ResourceId", "resourceid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("resourceid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ResourceId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator lokalizacji, w której znajduje się zasób.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("siteid")]
		public Microsoft.Xrm.Client.CrmEntityReference SiteId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("siteid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("SiteId", "siteid", value);
			}
		}
		
		/// <summary>
		/// Numer wersji zasobu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N Resource_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Resource_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Resource_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Resource_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Resource_AsyncOperations", "Resource_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Resource_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Resource_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Resource_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Resource_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Resource_BulkDeleteFailures", "Resource_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_resource
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_resource")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_resource
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_resource", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_resource", "userentityinstancedata_resource", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_resources
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_resources")]
		public Xrm.BusinessUnit business_unit_resources
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_resources", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BusinessUnit>("business_unit_resources", "business_unit_resources", null, value);
			}
		}
		
		/// <summary>
		/// N:1 equipment_resources
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("resourceid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("equipment_resources")]
		public Xrm.Equipment equipment_resources
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Equipment>("equipment_resources", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Equipment>("equipment_resources", "equipment_resources", null, value);
			}
		}
		
		/// <summary>
		/// N:1 organization_resources
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_resources")]
		public Xrm.Organization organization_resources
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_resources", null);
			}
		}
		
		/// <summary>
		/// N:1 resourcespec_resources
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("resourceid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("resourcespec_resources")]
		public Xrm.ResourceSpec resourcespec_resources
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ResourceSpec>("resourcespec_resources", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ResourceSpec>("resourcespec_resources", "resourcespec_resources", null, value);
			}
		}
		
		/// <summary>
		/// N:1 site_resources
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("siteid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("site_resources")]
		public Xrm.Site site_resources
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Site>("site_resources", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Site>("site_resources", "site_resources", null, value);
			}
		}
		
		/// <summary>
		/// N:1 systemuser_resources
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("resourceid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("systemuser_resources")]
		public Xrm.SystemUser systemuser_resources
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("systemuser_resources", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("systemuser_resources", "systemuser_resources", null, value);
			}
		}
	}
	
	/// <summary>
	/// Grupa zasobów lub zespół, którego członków można uwzględnić w planowaniu wykonania usługi.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("resourcegroup")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ResourceGroupSet")]
	public partial class ResourceGroup : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ResourceGroup() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "resourcegroup";
		
		public const int EntityTypeCode = 4005;
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, z którą jest skojarzona grupa planowania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		public Microsoft.Xrm.Client.CrmEntityReference BusinessUnitId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("businessunitid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("BusinessUnitId", "businessunitid", value);
			}
		}
		
		/// <summary>
		/// Kod typu grupy planowania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("grouptypecode")]
		public System.Nullable<int> GroupTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("grouptypecode");
			}
		}
		
		/// <summary>
		/// Nazwa grupy planowania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Typ encji, z którą jest skojarzona grupa planowania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objecttypecode")]
		public string ObjectTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("objecttypecode");
			}
			set
			{
				this.SetAttributeValue<string>("ObjectTypeCode", "objecttypecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji, z którą jest skojarzona grupa planowania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator grupy planowania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("resourcegroupid")]
		public System.Nullable<System.Guid> ResourceGroupId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("resourcegroupid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ResourceGroupId", "resourcegroupid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("resourcegroupid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ResourceGroupId = value;
			}
		}
		
		/// <summary>
		/// Numer wersji grupy planowania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N ResourceGroup_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ResourceGroup_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> ResourceGroup_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("ResourceGroup_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("ResourceGroup_AsyncOperations", "ResourceGroup_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ResourceGroup_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ResourceGroup_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> ResourceGroup_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("ResourceGroup_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("ResourceGroup_BulkDeleteFailures", "ResourceGroup_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N resourcegroup_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("resourcegroup_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> resourcegroup_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("resourcegroup_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("resourcegroup_connections1", "resourcegroup_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N resourcegroup_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("resourcegroup_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> resourcegroup_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("resourcegroup_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("resourcegroup_connections2", "resourcegroup_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ResourceGroup_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ResourceGroup_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> ResourceGroup_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("ResourceGroup_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("ResourceGroup_DuplicateBaseRecord", "ResourceGroup_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ResourceGroup_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ResourceGroup_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> ResourceGroup_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("ResourceGroup_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("ResourceGroup_DuplicateMatchingRecord", "ResourceGroup_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_resourcegroup
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_resourcegroup")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_resourcegroup
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_resourcegroup", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_resourcegroup", "userentityinstancedata_resourcegroup", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_resource_groups
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_resource_groups")]
		public Xrm.BusinessUnit business_unit_resource_groups
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_resource_groups", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BusinessUnit>("business_unit_resource_groups", "business_unit_resource_groups", null, value);
			}
		}
		
		/// <summary>
		/// N:1 constraintbasedgroup_resource_groups
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("resourcegroupid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("constraintbasedgroup_resource_groups")]
		public Xrm.ConstraintBasedGroup constraintbasedgroup_resource_groups
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ConstraintBasedGroup>("constraintbasedgroup_resource_groups", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ConstraintBasedGroup>("constraintbasedgroup_resource_groups", "constraintbasedgroup_resource_groups", null, value);
			}
		}
		
		/// <summary>
		/// N:1 organization_resource_groups
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_resource_groups")]
		public Xrm.Organization organization_resource_groups
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_resource_groups", null);
			}
		}
		
		/// <summary>
		/// N:1 team_resource_groups
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("resourcegroupid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_resource_groups")]
		public Xrm.Team team_resource_groups
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_resource_groups", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Team>("team_resource_groups", "team_resource_groups", null, value);
			}
		}
	}
	
	/// <summary>
	/// Reguła wyboru umożliwiająca aparatowi planowania wybranie zasobów z puli zasobów. Reguły mogą być skojarzone z usługą.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("resourcespec")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ResourceSpecSet")]
	public partial class ResourceSpec : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ResourceSpec() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "resourcespec";
		
		public const int EntityTypeCode = 4006;
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, z którą jest skojarzona specyfikacja zasobów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		public Microsoft.Xrm.Client.CrmEntityReference BusinessUnitId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("businessunitid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("BusinessUnitId", "businessunitid", value);
			}
		}
		
		/// <summary>
		/// Dodatkowe ograniczenia określone jako wyrażenia i używane do filtrowania zestawu prawidłowych zasobów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("constraints")]
		public string Constraints
		{
			get
			{
				return this.GetAttributeValue<string>("constraints");
			}
			set
			{
				this.SetAttributeValue<string>("Constraints", "constraints", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył specyfikację zasobów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia specyfikacji zasobów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył specyfikację zasobów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Reguła wyboru umożliwiająca aparatowi planowania wybranie zasobów z puli zasobów. Reguły mogą być skojarzone z usługą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Liczba określająca minimalny nakład pracy zasobów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("effortrequired")]
		public System.Nullable<double> EffortRequired
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("effortrequired");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("EffortRequired", "effortrequired", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator grupy planowania, z którą jest skojarzona specyfikacja zasobów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("groupobjectid")]
		public System.Nullable<System.Guid> GroupObjectId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("groupobjectid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("GroupObjectId", "groupobjectid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował specyfikację zasobów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji specyfikacji zasobów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował specyfikację zasobów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa specyfikacji zasobów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Strategia wyszukiwania używana dla specyfikacji zasobów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectiveexpression")]
		public string ObjectiveExpression
		{
			get
			{
				return this.GetAttributeValue<string>("objectiveexpression");
			}
			set
			{
				this.SetAttributeValue<string>("ObjectiveExpression", "objectiveexpression", value);
			}
		}
		
		/// <summary>
		/// Typ encji, z którą jest skojarzona specyfikacja zasobów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objecttypecode")]
		public string ObjectTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("objecttypecode");
			}
			set
			{
				this.SetAttributeValue<string>("ObjectTypeCode", "objecttypecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji, z którą jest skojarzona specyfikacja zasobów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Wymagana liczba dostępnych zasobów. Wartość -1 oznacza wszystkie zasoby.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("requiredcount")]
		public System.Nullable<int> RequiredCount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("requiredcount");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("RequiredCount", "requiredcount", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator specyfikacji zasobów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("resourcespecid")]
		public System.Nullable<System.Guid> ResourceSpecId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("resourcespecid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ResourceSpecId", "resourcespecid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("resourcespecid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ResourceSpecId = value;
			}
		}
		
		/// <summary>
		/// Wartość określająca, że wszystkie prawidłowe i dostępne zasoby muszą się znajdować w tej samej lokalizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("samesite")]
		public System.Nullable<bool> SameSite
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("samesite");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("SameSite", "samesite", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N ActivityPartyResourceSpec
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ActivityPartyResourceSpec")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> ActivityPartyResourceSpec
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("ActivityPartyResourceSpec", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("ActivityPartyResourceSpec", "ActivityPartyResourceSpec", null, value);
			}
		}
		
		/// <summary>
		/// 1:N resource_spec_services
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("resource_spec_services")]
		public System.Collections.Generic.IEnumerable<Xrm.Service> resource_spec_services
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Service>("resource_spec_services", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Service>("resource_spec_services", "resource_spec_services", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ResourceSpec_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ResourceSpec_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> ResourceSpec_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("ResourceSpec_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("ResourceSpec_Annotation", "ResourceSpec_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ResourceSpec_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ResourceSpec_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> ResourceSpec_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("ResourceSpec_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("ResourceSpec_AsyncOperations", "ResourceSpec_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ResourceSpec_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ResourceSpec_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> ResourceSpec_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("ResourceSpec_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("ResourceSpec_BulkDeleteFailures", "ResourceSpec_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N resourcespec_resources
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("resourcespec_resources")]
		public System.Collections.Generic.IEnumerable<Xrm.Resource> resourcespec_resources
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Resource>("resourcespec_resources", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Resource>("resourcespec_resources", "resourcespec_resources", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_resourcespec
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_resourcespec")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_resourcespec
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_resourcespec", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_resourcespec", "userentityinstancedata_resourcespec", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_resource_specs
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_resource_specs")]
		public Xrm.BusinessUnit business_unit_resource_specs
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_resource_specs", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BusinessUnit>("business_unit_resource_specs", "business_unit_resource_specs", null, value);
			}
		}
		
		/// <summary>
		/// N:1 constraint_based_group_resource_specs
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("groupobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("constraint_based_group_resource_specs")]
		public Xrm.ConstraintBasedGroup constraint_based_group_resource_specs
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ConstraintBasedGroup>("constraint_based_group_resource_specs", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ConstraintBasedGroup>("constraint_based_group_resource_specs", "constraint_based_group_resource_specs", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_resourcespec_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_resourcespec_createdby")]
		public Xrm.SystemUser lk_resourcespec_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_resourcespec_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_resourcespec_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_resourcespec_createdonbehalfby")]
		public Xrm.SystemUser lk_resourcespec_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_resourcespec_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_resourcespec_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_resourcespec_modifiedby")]
		public Xrm.SystemUser lk_resourcespec_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_resourcespec_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_resourcespec_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_resourcespec_modifiedonbehalfby")]
		public Xrm.SystemUser lk_resourcespec_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_resourcespec_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_resource_specs
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_resource_specs")]
		public Xrm.Organization organization_resource_specs
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_resource_specs", null);
			}
		}
		
		/// <summary>
		/// N:1 team_resource_specs
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("groupobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_resource_specs")]
		public Xrm.Team team_resource_specs
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_resource_specs", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Team>("team_resource_specs", "team_resource_specs", null, value);
			}
		}
	}
	
	/// <summary>
	/// Dostosowania wstążek dotyczące szablonów wstążek aplikacji i wstążek encji.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("ribboncustomization")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("RibbonCustomizationSet")]
	public partial class RibbonCustomization : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public RibbonCustomization() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "ribboncustomization";
		
		public const int EntityTypeCode = 1120;
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// Określa, do których wstążek encji stosuje się to dostosowanie. Jeśli podano wartość null, dostosowania dotyczą wstążek globalnie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("entity")]
		public string Entity
		{
			get
			{
				return this.GetAttributeValue<string>("entity");
			}
			set
			{
				this.SetAttributeValue<string>("Entity", "entity", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("publishedon")]
		public System.Nullable<System.DateTime> PublishedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("publishedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ribboncustomizationid")]
		public System.Nullable<System.Guid> RibbonCustomizationId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("ribboncustomizationid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("RibbonCustomizationId", "ribboncustomizationid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ribboncustomizationid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.RibbonCustomizationId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator tego wiersza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ribboncustomizationuniqueid")]
		public System.Nullable<System.Guid> RibbonCustomizationUniqueId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("ribboncustomizationuniqueid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// Reprezentuje wersję niestandardowych elementów, które mają zostać zsynchronizowane z klientem programu Microsoft Dynamics CRM dla programu Outlook.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_ribboncustomization
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_ribboncustomization")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_ribboncustomization
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_ribboncustomization", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_ribboncustomization", "userentityinstancedata_ribboncustomization", null, value);
			}
		}
		
		/// <summary>
		/// N:1 organization_ribbon_customization
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_ribbon_customization")]
		public Xrm.Organization organization_ribbon_customization
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_ribbon_customization", null);
			}
		}
	}
	
	/// <summary>
	/// Zbiór uprawnień związanych z zabezpieczeniami. Role przypisywane do użytkowników umożliwiają autoryzowanie ich dostępu do systemu Microsoft CRM.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("role")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("RoleSet")]
	public partial class Role : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Role() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "role";
		
		public const int EntityTypeCode = 1036;
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, z którą jest skojarzona rola.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		public Microsoft.Xrm.Client.CrmEntityReference BusinessUnitId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("businessunitid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("BusinessUnitId", "businessunitid", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył rolę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia roli.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył rolę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy można dostosować ten składnik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomizable")]
		public Microsoft.Xrm.Sdk.BooleanManagedProperty IsCustomizable
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("iscustomizable");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("IsCustomizable", "iscustomizable", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy składnik rozwiązania jest częścią rozwiązania zarządzanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował rolę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji roli.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował rolę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa roli.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z rolą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public System.Nullable<System.Guid> OrganizationId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("organizationid");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator roli nadrzędnej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentroleid")]
		public Microsoft.Xrm.Client.CrmEntityReference ParentRoleId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("parentroleid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator roli głównej na obiekcie nadrzędnym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentrootroleid")]
		public Microsoft.Xrm.Client.CrmEntityReference ParentRootRoleId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("parentrootroleid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator roli.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("roleid")]
		public System.Nullable<System.Guid> RoleId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("roleid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("RoleId", "roleid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("roleid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.RoleId = value;
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("roleidunique")]
		public System.Nullable<System.Guid> RoleIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("roleidunique");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator szablonu roli skojarzonego z rolą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("roletemplateid")]
		public Microsoft.Xrm.Client.CrmEntityReference RoleTemplateId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("roletemplateid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// Numer wersji roli.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N Role_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Role_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Role_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Role_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Role_AsyncOperations", "Role_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Role_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Role_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Role_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Role_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Role_BulkDeleteFailures", "Role_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N role_parent_role
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("role_parent_role", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.Role> Referencedrole_parent_role
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Role>("role_parent_role", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Role>("Referencedrole_parent_role", "role_parent_role", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// 1:N role_parent_root_role
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("role_parent_root_role", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.Role> Referencedrole_parent_root_role
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Role>("role_parent_root_role", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Role>("Referencedrole_parent_root_role", "role_parent_root_role", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_role
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_role")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_role
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_role", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_role", "userentityinstancedata_role", null, value);
			}
		}
		
		/// <summary>
		/// N:N roleprivileges_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("roleprivileges_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Privilege> roleprivileges_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Privilege>("roleprivileges_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Privilege>("roleprivileges_association", "roleprivileges_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N systemuserroles_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("systemuserroles_association")]
		public System.Collections.Generic.IEnumerable<Xrm.SystemUser> systemuserroles_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SystemUser>("systemuserroles_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SystemUser>("systemuserroles_association", "systemuserroles_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N teamroles_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("teamroles_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Team> teamroles_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Team>("teamroles_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Team>("teamroles_association", "teamroles_association", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_roles
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_roles")]
		public Xrm.BusinessUnit business_unit_roles
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_roles", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BusinessUnit>("business_unit_roles", "business_unit_roles", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_role_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_role_createdonbehalfby")]
		public Xrm.SystemUser lk_role_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_role_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_role_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_role_modifiedonbehalfby")]
		public Xrm.SystemUser lk_role_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_role_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_rolebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_rolebase_createdby")]
		public Xrm.SystemUser lk_rolebase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_rolebase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_rolebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_rolebase_modifiedby")]
		public Xrm.SystemUser lk_rolebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_rolebase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_roles
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_roles")]
		public Xrm.Organization organization_roles
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_roles", null);
			}
		}
		
		/// <summary>
		/// N:1 role_parent_role
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentroleid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("role_parent_role", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.Role Referencingrole_parent_role
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Role>("role_parent_role", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
		}
		
		/// <summary>
		/// N:1 role_parent_root_role
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentrootroleid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("role_parent_root_role", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.Role Referencingrole_parent_root_role
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Role>("role_parent_root_role", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
		}
	}
	
	/// <summary>
	/// Zbiór uprawnień służących do klasyfikowania użytkowników w celu zapewnienia odpowiedniego dostępu do encji.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("roleprivileges")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("RolePrivilegesSet")]
	public partial class RolePrivileges : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public RolePrivileges() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "roleprivileges";
		
		public const int EntityTypeCode = 12;
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// Wygenerowany przez system atrybut, w którym są przechowywane uprawnienia skojarzone z rolą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("privilegedepthmask")]
		public System.Nullable<int> PrivilegeDepthMask
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("privilegedepthmask");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("PrivilegeDepthMask", "privilegedepthmask", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator uprawnienia skojarzonego z rolą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("privilegeid")]
		public System.Nullable<System.Guid> PrivilegeId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("privilegeid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator roli skojarzonej z uprawnieniem roli.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("roleid")]
		public System.Nullable<System.Guid> RoleId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("roleid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator uprawnienia roli.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("roleprivilegeid")]
		public System.Nullable<System.Guid> RolePrivilegeId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("roleprivilegeid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("RolePrivilegeId", "roleprivilegeid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("roleprivilegeid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.RolePrivilegeId = value;
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("roleprivilegeidunique")]
		public System.Nullable<System.Guid> RolePrivilegeIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("roleprivilegeidunique");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// N:N roleprivileges_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("roleprivileges_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Privilege> roleprivileges_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Privilege>("roleprivileges_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Privilege>("roleprivileges_association", "roleprivileges_association", null, value);
			}
		}
	}
	
	/// <summary>
	/// 
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("roletemplateprivileges")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("RoleTemplatePrivilegesSet")]
	public partial class RoleTemplatePrivileges : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public RoleTemplatePrivileges() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "roletemplateprivileges";
		
		public const int EntityTypeCode = 28;
		
		/// <summary>
		/// Informacja określająca, czy rola w szablonie dotyczy użytkownika, jego zespołu czy udostępnianych przez niego obiektów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isbasic")]
		public System.Nullable<bool> IsBasic
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isbasic");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsBasic", "isbasic", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy rola w szablonie dotyczy podrzędnych jednostek biznesowych jednostki biznesowej skojarzonej z użytkownikiem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isdeep")]
		public System.Nullable<bool> IsDeep
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isdeep");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsDeep", "isdeep", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy rola w szablonie dotyczy całej organizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isglobal")]
		public System.Nullable<bool> IsGlobal
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isglobal");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsGlobal", "isglobal", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy rola w szablonie dotyczy jednostki biznesowej użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("islocal")]
		public System.Nullable<bool> IsLocal
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("islocal");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsLocal", "islocal", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator uprawnienia przypisanego do szablonu roli.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("privilegeid")]
		public System.Nullable<System.Guid> PrivilegeId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("privilegeid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator szablonu roli skojarzonego z uprawnieniem roli.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("roletemplateid")]
		public System.Nullable<System.Guid> RoleTemplateId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("roletemplateid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator uprawnień szablonu roli.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("roletemplateprivilegeid")]
		public System.Nullable<System.Guid> RoleTemplatePrivilegeId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("roletemplateprivilegeid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("RoleTemplatePrivilegeId", "roletemplateprivilegeid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("roletemplateprivilegeid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.RoleTemplatePrivilegeId = value;
			}
		}
	}
	
	/// <summary>
	/// Pole, które ma zostać uwzględnione w zestawieniu umożliwiającym obliczenie wartości rzeczywistych i bieżących w odniesieniu do założonego celu.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("rollupfield")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("RollupFieldSet")]
	public partial class RollupField : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public RollupField() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "rollupfield";
		
		public const int EntityTypeCode = 9604;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Pole daty sprawdzane w odniesieniu do okresu wyznaczonego dla celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("dateattribute")]
		public string DateAttribute
		{
			get
			{
				return this.GetAttributeValue<string>("dateattribute");
			}
			set
			{
				this.SetAttributeValue<string>("DateAttribute", "dateattribute", value);
			}
		}
		
		/// <summary>
		/// Encja pola daty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("entityfordateattribute")]
		public string EntityForDateAttribute
		{
			get
			{
				return this.GetAttributeValue<string>("entityfordateattribute");
			}
			set
			{
				this.SetAttributeValue<string>("EntityForDateAttribute", "entityfordateattribute", value);
			}
		}
		
		/// <summary>
		/// Pole zestawienia dotyczącego celu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("goalattribute")]
		public string GoalAttribute
		{
			get
			{
				return this.GetAttributeValue<string>("goalattribute");
			}
			set
			{
				this.SetAttributeValue<string>("GoalAttribute", "goalattribute", value);
			}
		}
		
		/// <summary>
		/// Numer sekwencji operacji importu, w wyniku której ten rekord został utworzony.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy stan lub status należą do encji nadrzędnej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isstateparententityattribute")]
		public System.Nullable<bool> IsStateParentEntityAttribute
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isstateparententityattribute");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsStateParentEntityAttribute", "isstateparententityattribute", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator metryki celu skojarzonej z polem zestawienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("metricid")]
		public Microsoft.Xrm.Client.CrmEntityReference MetricId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("metricid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("MetricId", "metricid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który zmodyfikował rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina modyfikacji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który zmodyfikował rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator pola zestawienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("rollupfieldid")]
		public System.Nullable<System.Guid> RollupFieldId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("rollupfieldid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("RollupFieldId", "rollupfieldid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("rollupfieldid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.RollupFieldId = value;
			}
		}
		
		/// <summary>
		/// Pole, z którego są zestawiane dane.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sourceattribute")]
		public string SourceAttribute
		{
			get
			{
				return this.GetAttributeValue<string>("sourceattribute");
			}
			set
			{
				this.SetAttributeValue<string>("SourceAttribute", "sourceattribute", value);
			}
		}
		
		/// <summary>
		/// Encja, z której są zestawiane dane.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sourceentity")]
		public string SourceEntity
		{
			get
			{
				return this.GetAttributeValue<string>("sourceentity");
			}
			set
			{
				this.SetAttributeValue<string>("SourceEntity", "sourceentity", value);
			}
		}
		
		/// <summary>
		/// Stan encji źródłowej, która jest brana pod uwagę do zestawienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sourcestate")]
		public System.Nullable<int> SourceState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("sourcestate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("SourceState", "sourcestate", value);
			}
		}
		
		/// <summary>
		/// Przyczyna, dla której encja źródłowa jest brana pod uwagę do zestawienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sourcestatus")]
		public System.Nullable<int> SourceStatus
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("sourcestatus");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("SourceStatus", "sourcestatus", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji pola zestawienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N rollupfield_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("rollupfield_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> rollupfield_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("rollupfield_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("rollupfield_AsyncOperations", "rollupfield_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N rollupfield_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("rollupfield_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> rollupfield_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("rollupfield_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("rollupfield_ProcessSessions", "rollupfield_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_rollupfield
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_rollupfield")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_rollupfield
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_rollupfield", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_rollupfield", "userentityinstancedata_rollupfield", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_rollupfield_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_rollupfield_createdby")]
		public Xrm.SystemUser lk_rollupfield_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_rollupfield_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_rollupfield_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_rollupfield_createdonbehalfby")]
		public Xrm.SystemUser lk_rollupfield_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_rollupfield_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_rollupfield_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_rollupfield_modifiedby")]
		public Xrm.SystemUser lk_rollupfield_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_rollupfield_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_rollupfield_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_rollupfield_modifiedonbehalfby")]
		public Xrm.SystemUser lk_rollupfield_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_rollupfield_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 metric_rollupfield
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("metricid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("metric_rollupfield")]
		public Xrm.Metric metric_rollupfield
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Metric>("metric_rollupfield", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Metric>("metric_rollupfield", "metric_rollupfield", null, value);
			}
		}
	}
	
	/// <summary>
	/// Magazyn materiałów sprzedażowych, który może zawierać jeden lub większą liczbę dokumentów.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("salesliterature")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SalesLiteratureSet")]
	public partial class SalesLiterature : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public SalesLiterature() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "salesliterature";
		
		public const int EntityTypeCode = 1038;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył materiały sprzedażowe.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia materiałów sprzedażowych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył materiały sprzedażowe.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis materiałów sprzedażowych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest odpowiedzialny za materiały sprzedażowe.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("employeecontactid")]
		public Microsoft.Xrm.Client.CrmEntityReference EmployeeContactId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("employeecontactid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("EmployeeContactId", "employeecontactid", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z materiałami sprzedażowymi w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Data wygaśnięcia elementu materiałów sprzedażowych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("expirationdate")]
		public System.Nullable<System.DateTime> ExpirationDate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("expirationdate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ExpirationDate", "expirationdate", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy materiały sprzedażowe zawierają załączniki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("hasattachments")]
		public System.Nullable<bool> HasAttachments
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("hasattachments");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("HasAttachments", "hasattachments", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy materiały sprzedażowe mają być widoczne dla klientów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomerviewable")]
		public System.Nullable<bool> IsCustomerViewable
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("iscustomerviewable");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsCustomerViewable", "iscustomerviewable", value);
			}
		}
		
		/// <summary>
		/// Słowa kluczowe używane do wyszukiwania w materiałach sprzedażowych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("keywords")]
		public string KeyWords
		{
			get
			{
				return this.GetAttributeValue<string>("keywords");
			}
			set
			{
				this.SetAttributeValue<string>("KeyWords", "keywords", value);
			}
		}
		
		/// <summary>
		/// Typ materiałów sprzedażowych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("literaturetypecode")]
		public System.Nullable<int> LiteratureTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("literaturetypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("LiteratureTypeCode", "literaturetypecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował materiały sprzedażowe.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji materiałów sprzedażowych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował materiały sprzedażowe.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa materiałów sprzedażowych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z materiałami sprzedażowymi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator materiałów sprzedażowych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salesliteratureid")]
		public System.Nullable<System.Guid> SalesLiteratureId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("salesliteratureid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("SalesLiteratureId", "salesliteratureid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salesliteratureid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.SalesLiteratureId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator tematu materiałów sprzedażowych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subjectid")]
		public Microsoft.Xrm.Client.CrmEntityReference SubjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("subjectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("SubjectId", "subjectid", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z materiałami sprzedażowymi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji materiałów sprzedażowych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N sales_literature_items
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sales_literature_items")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesLiteratureItem> sales_literature_items
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesLiteratureItem>("sales_literature_items", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesLiteratureItem>("sales_literature_items", "sales_literature_items", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SalesLiterature_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesLiterature_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> SalesLiterature_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("SalesLiterature_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("SalesLiterature_AsyncOperations", "SalesLiterature_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SalesLiterature_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesLiterature_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> SalesLiterature_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("SalesLiterature_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("SalesLiterature_BulkDeleteFailures", "SalesLiterature_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N salesliterature_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("salesliterature_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> salesliterature_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("salesliterature_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("salesliterature_principalobjectattributeaccess", "salesliterature_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SalesLiterature_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesLiterature_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> SalesLiterature_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("SalesLiterature_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("SalesLiterature_ProcessSessions", "SalesLiterature_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SalesLiterature_SharepointDocumentLocation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesLiterature_SharepointDocumentLocation")]
		public System.Collections.Generic.IEnumerable<Xrm.SharePointDocumentLocation> SalesLiterature_SharepointDocumentLocation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SharePointDocumentLocation>("SalesLiterature_SharepointDocumentLocation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SharePointDocumentLocation>("SalesLiterature_SharepointDocumentLocation", "SalesLiterature_SharepointDocumentLocation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_salesliterature
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_salesliterature")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_salesliterature
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_salesliterature", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_salesliterature", "userentityinstancedata_salesliterature", null, value);
			}
		}
		
		/// <summary>
		/// N:N campaignactivitysalesliterature_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaignactivitysalesliterature_association")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignActivity> campaignactivitysalesliterature_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignActivity>("campaignactivitysalesliterature_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignActivity>("campaignactivitysalesliterature_association", "campaignactivitysalesliterature_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N campaignsalesliterature_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaignsalesliterature_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Campaign> campaignsalesliterature_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Campaign>("campaignsalesliterature_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Campaign>("campaignsalesliterature_association", "campaignsalesliterature_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N competitorsalesliterature_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("competitorsalesliterature_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Competitor> competitorsalesliterature_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Competitor>("competitorsalesliterature_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Competitor>("competitorsalesliterature_association", "competitorsalesliterature_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N productsalesliterature_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("productsalesliterature_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Product> productsalesliterature_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Product>("productsalesliterature_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Product>("productsalesliterature_association", "productsalesliterature_association", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_salesliterature_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesliterature_createdonbehalfby")]
		public Xrm.SystemUser lk_salesliterature_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_salesliterature_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_salesliterature_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesliterature_modifiedonbehalfby")]
		public Xrm.SystemUser lk_salesliterature_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_salesliterature_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_salesliteraturebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesliteraturebase_createdby")]
		public Xrm.SystemUser lk_salesliteraturebase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_salesliteraturebase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_salesliteraturebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesliteraturebase_modifiedby")]
		public Xrm.SystemUser lk_salesliteraturebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_salesliteraturebase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_sales_literature
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_sales_literature")]
		public Xrm.Organization organization_sales_literature
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_sales_literature", null);
			}
		}
		
		/// <summary>
		/// N:1 subject_sales_literature
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("subject_sales_literature")]
		public Xrm.Subject subject_sales_literature
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Subject>("subject_sales_literature", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Subject>("subject_sales_literature", "subject_sales_literature", null, value);
			}
		}
		
		/// <summary>
		/// N:1 system_user_sales_literature
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("employeecontactid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_sales_literature")]
		public Xrm.SystemUser system_user_sales_literature
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("system_user_sales_literature", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("system_user_sales_literature", "system_user_sales_literature", null, value);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_SalesLiterature
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_SalesLiterature")]
		public Xrm.TransactionCurrency TransactionCurrency_SalesLiterature
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_SalesLiterature", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_SalesLiterature", "TransactionCurrency_SalesLiterature", null, value);
			}
		}
	}
	
	/// <summary>
	/// Element w kolekcji materiałów sprzedażowych.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("salesliteratureitem")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SalesLiteratureItemSet")]
	public partial class SalesLiteratureItem : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public SalesLiteratureItem() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "salesliteratureitem";
		
		public const int EntityTypeCode = 1070;
		
		/// <summary>
		/// Streszczenie dokumentu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("abstract")]
		public string Abstract
		{
			get
			{
				return this.GetAttributeValue<string>("abstract");
			}
			set
			{
				this.SetAttributeValue<string>("Abstract", "abstract", value);
			}
		}
		
		/// <summary>
		/// Adres URL witryny sieci Web, w której znajduje się dokument.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("attacheddocumenturl")]
		public string AttachedDocumentUrl
		{
			get
			{
				return this.GetAttributeValue<string>("attacheddocumenturl");
			}
			set
			{
				this.SetAttributeValue<string>("AttachedDocumentUrl", "attacheddocumenturl", value);
			}
		}
		
		/// <summary>
		/// Imię i nazwisko autora dokumentu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("authorname")]
		public string AuthorName
		{
			get
			{
				return this.GetAttributeValue<string>("authorname");
			}
			set
			{
				this.SetAttributeValue<string>("AuthorName", "authorname", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył dokument.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia dokumentu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył element materiałów sprzedażowych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Tekst załącznika skojarzonego z materiałami sprzedażowymi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("documentbody")]
		public string DocumentBody
		{
			get
			{
				return this.GetAttributeValue<string>("documentbody");
			}
			set
			{
				this.SetAttributeValue<string>("DocumentBody", "documentbody", value);
			}
		}
		
		/// <summary>
		/// Nazwa pliku dokumentu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("filename")]
		public string FileName
		{
			get
			{
				return this.GetAttributeValue<string>("filename");
			}
			set
			{
				this.SetAttributeValue<string>("FileName", "filename", value);
			}
		}
		
		/// <summary>
		/// Rozmiar pliku dokumentu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("filesize")]
		public System.Nullable<int> FileSize
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("filesize");
			}
		}
		
		/// <summary>
		/// Typ pliku dokumentu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("filetypecode")]
		public System.Nullable<int> FileTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("filetypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("FileTypeCode", "filetypecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy dokumenty mają być widoczne dla klientów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomerviewable")]
		public System.Nullable<bool> IsCustomerViewable
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("iscustomerviewable");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsCustomerViewable", "iscustomerviewable", value);
			}
		}
		
		/// <summary>
		/// Słowa kluczowe używane do wyszukiwania w dokumentach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("keywords")]
		public string KeyWords
		{
			get
			{
				return this.GetAttributeValue<string>("keywords");
			}
			set
			{
				this.SetAttributeValue<string>("KeyWords", "keywords", value);
			}
		}
		
		/// <summary>
		/// Typ MIME dokumentu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("mimetype")]
		public string MimeType
		{
			get
			{
				return this.GetAttributeValue<string>("mimetype");
			}
			set
			{
				this.SetAttributeValue<string>("MimeType", "mimetype", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował dokument.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji dokumentu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował element materiałów sprzedażowych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z dokumentem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public System.Nullable<System.Guid> OrganizationId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("organizationid");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator materiałów sprzedażowych, które są skojarzone z pojedynczym elementem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salesliteratureid")]
		public Microsoft.Xrm.Client.CrmEntityReference SalesLiteratureId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("salesliteratureid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("SalesLiteratureId", "salesliteratureid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator dokumentu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salesliteratureitemid")]
		public System.Nullable<System.Guid> SalesLiteratureItemId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("salesliteratureitemid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("SalesLiteratureItemId", "salesliteratureitemid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salesliteratureitemid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.SalesLiteratureItemId = value;
			}
		}
		
		/// <summary>
		/// Tytuł dokumentu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("title")]
		public string Title
		{
			get
			{
				return this.GetAttributeValue<string>("title");
			}
			set
			{
				this.SetAttributeValue<string>("Title", "title", value);
			}
		}
		
		/// <summary>
		/// Numer wersji elementu materiałów sprzedażowych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N SalesLiteratureItem_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesLiteratureItem_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> SalesLiteratureItem_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("SalesLiteratureItem_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("SalesLiteratureItem_AsyncOperations", "SalesLiteratureItem_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SalesLiteratureItem_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesLiteratureItem_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> SalesLiteratureItem_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("SalesLiteratureItem_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("SalesLiteratureItem_BulkDeleteFailures", "SalesLiteratureItem_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SalesLiteratureItem_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesLiteratureItem_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> SalesLiteratureItem_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("SalesLiteratureItem_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("SalesLiteratureItem_ProcessSessions", "SalesLiteratureItem_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_salesliteratureitem
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_salesliteratureitem")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_salesliteratureitem
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_salesliteratureitem", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_salesliteratureitem", "userentityinstancedata_salesliteratureitem", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_salesliteratureitem_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesliteratureitem_createdonbehalfby")]
		public Xrm.SystemUser lk_salesliteratureitem_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_salesliteratureitem_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_salesliteratureitem_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesliteratureitem_modifiedonbehalfby")]
		public Xrm.SystemUser lk_salesliteratureitem_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_salesliteratureitem_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_salesliteratureitembase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesliteratureitembase_createdby")]
		public Xrm.SystemUser lk_salesliteratureitembase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_salesliteratureitembase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_salesliteratureitembase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesliteratureitembase_modifiedby")]
		public Xrm.SystemUser lk_salesliteratureitembase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_salesliteratureitembase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 sales_literature_items
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salesliteratureid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sales_literature_items")]
		public Xrm.SalesLiterature sales_literature_items
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesLiterature>("sales_literature_items", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesLiterature>("sales_literature_items", "sales_literature_items", null, value);
			}
		}
	}
	
	/// <summary>
	/// Oferta, która została przyjęta.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("salesorder")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SalesOrderSet")]
	public partial class SalesOrder : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public SalesOrder() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "salesorder";
		
		public const int EntityTypeCode = 1088;
		
		/// <summary>
		/// Unikatowy identyfikator konta skojarzonego z zamówieniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("accountid")]
		public Microsoft.Xrm.Client.CrmEntityReference AccountId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("accountid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator adresu fakturowania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_addressid")]
		public System.Nullable<System.Guid> BillTo_AddressId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("billto_addressid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("BillTo_AddressId", "billto_addressid", value);
			}
		}
		
		/// <summary>
		/// Nazwa miasta dla adresu na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_city")]
		public string BillTo_City
		{
			get
			{
				return this.GetAttributeValue<string>("billto_city");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_City", "billto_city", value);
			}
		}
		
		/// <summary>
		/// Nazwa kontaktu w adresie fakturowania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_contactname")]
		public string BillTo_ContactName
		{
			get
			{
				return this.GetAttributeValue<string>("billto_contactname");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_ContactName", "billto_contactname", value);
			}
		}
		
		/// <summary>
		/// Nazwa kraju/regionu w adresie na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_country")]
		public string BillTo_Country
		{
			get
			{
				return this.GetAttributeValue<string>("billto_country");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_Country", "billto_country", value);
			}
		}
		
		/// <summary>
		/// Numer faksu skojarzony z adresem na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_fax")]
		public string BillTo_Fax
		{
			get
			{
				return this.GetAttributeValue<string>("billto_fax");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_Fax", "billto_fax", value);
			}
		}
		
		/// <summary>
		/// Pierwszy wiersz do wprowadzenia informacji o adresie na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_line1")]
		public string BillTo_Line1
		{
			get
			{
				return this.GetAttributeValue<string>("billto_line1");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_Line1", "billto_line1", value);
			}
		}
		
		/// <summary>
		/// Drugi wiersz do wprowadzenia informacji o adresie na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_line2")]
		public string BillTo_Line2
		{
			get
			{
				return this.GetAttributeValue<string>("billto_line2");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_Line2", "billto_line2", value);
			}
		}
		
		/// <summary>
		/// Trzeci wiersz do wprowadzenia informacji o adresie na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_line3")]
		public string BillTo_Line3
		{
			get
			{
				return this.GetAttributeValue<string>("billto_line3");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_Line3", "billto_line3", value);
			}
		}
		
		/// <summary>
		/// Nazwa do wprowadzenia w adresie na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_name")]
		public string BillTo_Name
		{
			get
			{
				return this.GetAttributeValue<string>("billto_name");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_Name", "billto_name", value);
			}
		}
		
		/// <summary>
		/// Kod pocztowy w adresie na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_postalcode")]
		public string BillTo_PostalCode
		{
			get
			{
				return this.GetAttributeValue<string>("billto_postalcode");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_PostalCode", "billto_postalcode", value);
			}
		}
		
		/// <summary>
		/// Województwo w adresie na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_stateorprovince")]
		public string BillTo_StateOrProvince
		{
			get
			{
				return this.GetAttributeValue<string>("billto_stateorprovince");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_StateOrProvince", "billto_stateorprovince", value);
			}
		}
		
		/// <summary>
		/// Numer telefonu skojarzony z adresem na fakturze.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("billto_telephone")]
		public string BillTo_Telephone
		{
			get
			{
				return this.GetAttributeValue<string>("billto_telephone");
			}
			set
			{
				this.SetAttributeValue<string>("BillTo_Telephone", "billto_telephone", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kampanii źródłowej skojarzonej z zamówieniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("campaignid")]
		public Microsoft.Xrm.Client.CrmEntityReference CampaignId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("campaignid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("CampaignId", "campaignid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kontaktu skojarzonego z zamówieniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contactid")]
		public Microsoft.Xrm.Client.CrmEntityReference ContactId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("contactid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył zamówienie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył zamówienie sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator konta lub kontaktu skojarzonego z zamówieniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		public Microsoft.Xrm.Client.CrmEntityReference CustomerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("customerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("CustomerId", "customerid", value);
			}
		}
		
		/// <summary>
		/// Data realizacji zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("datefulfilled")]
		public System.Nullable<System.DateTime> DateFulfilled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("datefulfilled");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("DateFulfilled", "datefulfilled", value);
			}
		}
		
		/// <summary>
		/// Opis zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Rabat określony jako kwota pieniężna dla zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("discountamount")]
		public System.Nullable<decimal> DiscountAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("discountamount");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("DiscountAmount", "discountamount", value);
			}
		}
		
		/// <summary>
		/// Rabat określony jako kwota pieniężna wymieniona w zamówieniu w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("discountamount_base")]
		public System.Nullable<decimal> DiscountAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("discountamount_base");
			}
		}
		
		/// <summary>
		/// Rabat określony jako procent zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("discountpercentage")]
		public System.Nullable<decimal> DiscountPercentage
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("discountpercentage");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("DiscountPercentage", "discountpercentage", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z zamówieniem sprzedaży w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Koszt frachtu dla zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("freightamount")]
		public System.Nullable<decimal> FreightAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("freightamount");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("FreightAmount", "freightamount", value);
			}
		}
		
		/// <summary>
		/// Koszt frachtu wymieniony w zamówieniu przeliczony na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("freightamount_base")]
		public System.Nullable<decimal> FreightAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("freightamount_base");
			}
		}
		
		/// <summary>
		/// Warunki frachtu dla zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("freighttermscode")]
		public System.Nullable<int> FreightTermsCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("freighttermscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("FreightTermsCode", "freighttermscode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy ceny zamówienia są zablokowane.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ispricelocked")]
		public System.Nullable<bool> IsPriceLocked
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ispricelocked");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniego przesłania zamówienia do programu Microsoft Great Plains.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("lastbackofficesubmit")]
		public System.Nullable<System.DateTime> LastBackofficeSubmit
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("lastbackofficesubmit");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("LastBackofficeSubmit", "lastbackofficesubmit", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował zamówienie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował zamówienie sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator szansy sprzedaży, z którą skojarzono zamówienie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("opportunityid")]
		public Microsoft.Xrm.Client.CrmEntityReference OpportunityId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("opportunityid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OpportunityId", "opportunityid", value);
			}
		}
		
		/// <summary>
		/// Numer zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ordernumber")]
		public string OrderNumber
		{
			get
			{
				return this.GetAttributeValue<string>("ordernumber");
			}
			set
			{
				this.SetAttributeValue<string>("OrderNumber", "ordernumber", value);
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, który jest właścicielem zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, który jest właścicielem zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Warunki płatności dla zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("paymenttermscode")]
		public System.Nullable<int> PaymentTermsCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("paymenttermscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PaymentTermsCode", "paymenttermscode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator cennika skojarzonego z zamówieniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pricelevelid")]
		public Microsoft.Xrm.Client.CrmEntityReference PriceLevelId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("pricelevelid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("PriceLevelId", "pricelevelid", value);
			}
		}
		
		/// <summary>
		/// Błąd kalkulacji ceny dla zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pricingerrorcode")]
		public System.Nullable<int> PricingErrorCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("pricingerrorcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PricingErrorCode", "pricingerrorcode", value);
			}
		}
		
		/// <summary>
		/// Priorytet zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("prioritycode")]
		public System.Nullable<int> PriorityCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("prioritycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PriorityCode", "prioritycode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator oferty, na podstawie której utworzono zamówienie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quoteid")]
		public Microsoft.Xrm.Client.CrmEntityReference QuoteId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("quoteid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("QuoteId", "quoteid", value);
			}
		}
		
		/// <summary>
		/// Żądana data dostawy dla zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("requestdeliveryby")]
		public System.Nullable<System.DateTime> RequestDeliveryBy
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("requestdeliveryby");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("RequestDeliveryBy", "requestdeliveryby", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salesorderid")]
		public System.Nullable<System.Guid> SalesOrderId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("salesorderid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("SalesOrderId", "salesorderid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salesorderid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.SalesOrderId = value;
			}
		}
		
		/// <summary>
		/// Metoda wysyłki dla zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shippingmethodcode")]
		public System.Nullable<int> ShippingMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("shippingmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ShippingMethodCode", "shippingmethodcode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator adresu dostawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_addressid")]
		public System.Nullable<System.Guid> ShipTo_AddressId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("shipto_addressid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("ShipTo_AddressId", "shipto_addressid", value);
			}
		}
		
		/// <summary>
		/// Nazwa miasta dla adresu wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_city")]
		public string ShipTo_City
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_city");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_City", "shipto_city", value);
			}
		}
		
		/// <summary>
		/// Nazwa kontaktu w adresie dostawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_contactname")]
		public string ShipTo_ContactName
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_contactname");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_ContactName", "shipto_contactname", value);
			}
		}
		
		/// <summary>
		/// Nazwa kraju/regionu w adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_country")]
		public string ShipTo_Country
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_country");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Country", "shipto_country", value);
			}
		}
		
		/// <summary>
		/// Numer faksu skojarzony z adresem wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_fax")]
		public string ShipTo_Fax
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_fax");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Fax", "shipto_fax", value);
			}
		}
		
		/// <summary>
		/// Warunki frachtu dla adresu wysyłkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_freighttermscode")]
		public System.Nullable<int> ShipTo_FreightTermsCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("shipto_freighttermscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ShipTo_FreightTermsCode", "shipto_freighttermscode", value);
			}
		}
		
		/// <summary>
		/// Pierwszy wiersz do wprowadzenia informacji o adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_line1")]
		public string ShipTo_Line1
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_line1");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Line1", "shipto_line1", value);
			}
		}
		
		/// <summary>
		/// Drugi wiersz do wprowadzenia informacji o adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_line2")]
		public string ShipTo_Line2
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_line2");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Line2", "shipto_line2", value);
			}
		}
		
		/// <summary>
		/// Trzeci wiersz do wprowadzenia informacji o adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_line3")]
		public string ShipTo_Line3
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_line3");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Line3", "shipto_line3", value);
			}
		}
		
		/// <summary>
		/// Nazwa do wprowadzenia w adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_name")]
		public string ShipTo_Name
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_name");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Name", "shipto_name", value);
			}
		}
		
		/// <summary>
		/// Kod pocztowy w adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_postalcode")]
		public string ShipTo_PostalCode
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_postalcode");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_PostalCode", "shipto_postalcode", value);
			}
		}
		
		/// <summary>
		/// Województwo w adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_stateorprovince")]
		public string ShipTo_StateOrProvince
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_stateorprovince");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_StateOrProvince", "shipto_stateorprovince", value);
			}
		}
		
		/// <summary>
		/// Numer telefonu skojarzony z adresem wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_telephone")]
		public string ShipTo_Telephone
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_telephone");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Telephone", "shipto_telephone", value);
			}
		}
		
		/// <summary>
		/// Stan zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Data przesłania zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("submitdate")]
		public System.Nullable<System.DateTime> SubmitDate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("submitdate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("SubmitDate", "submitdate", value);
			}
		}
		
		/// <summary>
		/// Stan przesłania zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("submitstatus")]
		public System.Nullable<int> SubmitStatus
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("submitstatus");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("SubmitStatus", "submitstatus", value);
			}
		}
		
		/// <summary>
		/// Opis stanu przesłania zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("submitstatusdescription")]
		public string SubmitStatusDescription
		{
			get
			{
				return this.GetAttributeValue<string>("submitstatusdescription");
			}
			set
			{
				this.SetAttributeValue<string>("SubmitStatusDescription", "submitstatusdescription", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Łączna kwota zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totalamount")]
		public System.Nullable<decimal> TotalAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totalamount");
			}
		}
		
		/// <summary>
		/// Całkowita kwota zamówienia przeliczona na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totalamount_base")]
		public System.Nullable<decimal> TotalAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totalamount_base");
			}
		}
		
		/// <summary>
		/// Łączna kwota zamówienia pomniejszona o opłaty frachtowe.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totalamountlessfreight")]
		public System.Nullable<decimal> TotalAmountLessFreight
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totalamountlessfreight");
			}
		}
		
		/// <summary>
		/// Całkowita kwota zamówienia pomniejszona o opłaty frachtowe przeliczona na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totalamountlessfreight_base")]
		public System.Nullable<decimal> TotalAmountLessFreight_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totalamountlessfreight_base");
			}
		}
		
		/// <summary>
		/// Łączny rabat dla zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totaldiscountamount")]
		public System.Nullable<decimal> TotalDiscountAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totaldiscountamount");
			}
		}
		
		/// <summary>
		/// Rabat końcowy dla zamówienia przeliczony na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totaldiscountamount_base")]
		public System.Nullable<decimal> TotalDiscountAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totaldiscountamount_base");
			}
		}
		
		/// <summary>
		/// Łączna kwota pozycji w zamówieniu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totallineitemamount")]
		public System.Nullable<decimal> TotalLineItemAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totallineitemamount");
			}
		}
		
		/// <summary>
		/// Całkowita kwota pozycji w zamówieniu przeliczona na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totallineitemamount_base")]
		public System.Nullable<decimal> TotalLineItemAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totallineitemamount_base");
			}
		}
		
		/// <summary>
		/// Łączna kwota rabatu pozycji w zamówieniu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totallineitemdiscountamount")]
		public System.Nullable<decimal> TotalLineItemDiscountAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totallineitemdiscountamount");
			}
		}
		
		/// <summary>
		/// Całkowity rabat dla pozycji w zamówieniu przeliczony na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totallineitemdiscountamount_base")]
		public System.Nullable<decimal> TotalLineItemDiscountAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totallineitemdiscountamount_base");
			}
		}
		
		/// <summary>
		/// Łączny podatek dla zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totaltax")]
		public System.Nullable<decimal> TotalTax
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totaltax");
			}
		}
		
		/// <summary>
		/// Łączny podatek dla zamówienia przeliczony na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("totaltax_base")]
		public System.Nullable<decimal> TotalTax_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("totaltax_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z zamówieniem sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji zamówienia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy klient zgłosi się po zamówione produkty, czy mają one zostać wysłane.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("willcall")]
		public System.Nullable<bool> WillCall
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("willcall");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("WillCall", "willcall", value);
			}
		}
		
		/// <summary>
		/// 1:N order_details
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("order_details")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesOrderDetail> order_details
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesOrderDetail>("order_details", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesOrderDetail>("order_details", "order_details", null, value);
			}
		}
		
		/// <summary>
		/// 1:N order_invoices
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("order_invoices")]
		public System.Collections.Generic.IEnumerable<Xrm.Invoice> order_invoices
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Invoice>("order_invoices", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Invoice>("order_invoices", "order_invoices", null, value);
			}
		}
		
		/// <summary>
		/// 1:N salesorder_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("salesorder_activity_parties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> salesorder_activity_parties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("salesorder_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("salesorder_activity_parties", "salesorder_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SalesOrder_ActivityPointers
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrder_ActivityPointers")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityPointer> SalesOrder_ActivityPointers
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityPointer>("SalesOrder_ActivityPointers", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityPointer>("SalesOrder_ActivityPointers", "SalesOrder_ActivityPointers", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SalesOrder_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrder_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> SalesOrder_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("SalesOrder_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("SalesOrder_Annotation", "SalesOrder_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SalesOrder_Appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrder_Appointments")]
		public System.Collections.Generic.IEnumerable<Xrm.Appointment> SalesOrder_Appointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Appointment>("SalesOrder_Appointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Appointment>("SalesOrder_Appointments", "SalesOrder_Appointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SalesOrder_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrder_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> SalesOrder_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("SalesOrder_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("SalesOrder_AsyncOperations", "SalesOrder_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SalesOrder_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrder_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> SalesOrder_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("SalesOrder_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("SalesOrder_BulkDeleteFailures", "SalesOrder_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N salesorder_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("salesorder_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> salesorder_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("salesorder_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("salesorder_connections1", "salesorder_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N salesorder_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("salesorder_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> salesorder_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("salesorder_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("salesorder_connections2", "salesorder_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SalesOrder_Emails
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrder_Emails")]
		public System.Collections.Generic.IEnumerable<Xrm.Email> SalesOrder_Emails
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Email>("SalesOrder_Emails", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Email>("SalesOrder_Emails", "SalesOrder_Emails", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SalesOrder_Faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrder_Faxes")]
		public System.Collections.Generic.IEnumerable<Xrm.Fax> SalesOrder_Faxes
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Fax>("SalesOrder_Faxes", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Fax>("SalesOrder_Faxes", "SalesOrder_Faxes", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SalesOrder_Letters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrder_Letters")]
		public System.Collections.Generic.IEnumerable<Xrm.Letter> SalesOrder_Letters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Letter>("SalesOrder_Letters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Letter>("SalesOrder_Letters", "SalesOrder_Letters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SalesOrder_OrderClose
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrder_OrderClose")]
		public System.Collections.Generic.IEnumerable<Xrm.OrderClose> SalesOrder_OrderClose
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OrderClose>("SalesOrder_OrderClose", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OrderClose>("SalesOrder_OrderClose", "SalesOrder_OrderClose", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SalesOrder_Phonecalls
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrder_Phonecalls")]
		public System.Collections.Generic.IEnumerable<Xrm.PhoneCall> SalesOrder_Phonecalls
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PhoneCall>("SalesOrder_Phonecalls", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PhoneCall>("SalesOrder_Phonecalls", "SalesOrder_Phonecalls", null, value);
			}
		}
		
		/// <summary>
		/// 1:N salesorder_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("salesorder_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> salesorder_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("salesorder_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("salesorder_principalobjectattributeaccess", "salesorder_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SalesOrder_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrder_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> SalesOrder_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("SalesOrder_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("SalesOrder_ProcessSessions", "SalesOrder_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SalesOrder_RecurringAppointmentMasters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrder_RecurringAppointmentMasters")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurringAppointmentMaster> SalesOrder_RecurringAppointmentMasters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurringAppointmentMaster>("SalesOrder_RecurringAppointmentMasters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurringAppointmentMaster>("SalesOrder_RecurringAppointmentMasters", "SalesOrder_RecurringAppointmentMasters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SalesOrder_ServiceAppointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrder_ServiceAppointments")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceAppointment> SalesOrder_ServiceAppointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceAppointment>("SalesOrder_ServiceAppointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceAppointment>("SalesOrder_ServiceAppointments", "SalesOrder_ServiceAppointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SalesOrder_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrder_Tasks")]
		public System.Collections.Generic.IEnumerable<Xrm.Task> SalesOrder_Tasks
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Task>("SalesOrder_Tasks", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Task>("SalesOrder_Tasks", "SalesOrder_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_salesorder
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_salesorder")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_salesorder
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_salesorder", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_salesorder", "userentityinstancedata_salesorder", null, value);
			}
		}
		
		/// <summary>
		/// N:N contactorders_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contactorders_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Contact> contactorders_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contact>("contactorders_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contact>("contactorders_association", "contactorders_association", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_orders
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_orders")]
		public Xrm.BusinessUnit business_unit_orders
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_orders", null);
			}
		}
		
		/// <summary>
		/// N:1 campaign_orders
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("campaignid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("campaign_orders")]
		public Xrm.Campaign campaign_orders
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Campaign>("campaign_orders", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Campaign>("campaign_orders", "campaign_orders", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_salesorder_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesorder_createdonbehalfby")]
		public Xrm.SystemUser lk_salesorder_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_salesorder_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_salesorder_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesorder_modifiedonbehalfby")]
		public Xrm.SystemUser lk_salesorder_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_salesorder_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_salesorderbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesorderbase_createdby")]
		public Xrm.SystemUser lk_salesorderbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_salesorderbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_salesorderbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesorderbase_modifiedby")]
		public Xrm.SystemUser lk_salesorderbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_salesorderbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 opportunity_sales_orders
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("opportunityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunity_sales_orders")]
		public Xrm.Opportunity opportunity_sales_orders
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Opportunity>("opportunity_sales_orders", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Opportunity>("opportunity_sales_orders", "opportunity_sales_orders", null, value);
			}
		}
		
		/// <summary>
		/// N:1 order_customer_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("order_customer_accounts")]
		public Xrm.Account order_customer_accounts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("order_customer_accounts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("order_customer_accounts", "order_customer_accounts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 order_customer_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("order_customer_contacts")]
		public Xrm.Contact order_customer_contacts
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("order_customer_contacts", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("order_customer_contacts", "order_customer_contacts", null, value);
			}
		}
		
		/// <summary>
		/// N:1 price_level_orders
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pricelevelid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("price_level_orders")]
		public Xrm.PriceLevel price_level_orders
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PriceLevel>("price_level_orders", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PriceLevel>("price_level_orders", "price_level_orders", null, value);
			}
		}
		
		/// <summary>
		/// N:1 quote_orders
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quoteid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("quote_orders")]
		public Xrm.Quote quote_orders
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Quote>("quote_orders", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Quote>("quote_orders", "quote_orders", null, value);
			}
		}
		
		/// <summary>
		/// N:1 system_user_orders
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_orders")]
		public Xrm.SystemUser system_user_orders
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("system_user_orders", null);
			}
		}
		
		/// <summary>
		/// N:1 team_orders
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_orders")]
		public Xrm.Team team_orders
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_orders", null);
			}
		}
		
		/// <summary>
		/// N:1 transactioncurrency_salesorder
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_salesorder")]
		public Xrm.TransactionCurrency transactioncurrency_salesorder
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_salesorder", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_salesorder", "transactioncurrency_salesorder", null, value);
			}
		}
	}
	
	/// <summary>
	/// Pozycja w zamówieniu sprzedaży.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("salesorderdetail")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SalesOrderDetailSet")]
	public partial class SalesOrderDetail : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public SalesOrderDetail() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "salesorderdetail";
		
		public const int EntityTypeCode = 1089;
		
		/// <summary>
		/// Cena zamówionego produktu przed zastosowaniem rabatów i dodaniem podatków.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baseamount")]
		public System.Nullable<decimal> BaseAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("baseamount");
			}
		}
		
		/// <summary>
		/// Cena zamówionego produktu przed uwzględnieniem rabatów i podatków w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baseamount_base")]
		public System.Nullable<decimal> BaseAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("baseamount_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył zamówiony produkt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia zamówionego produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył szczegóły zamówienia sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis zamówionego produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej ze szczegółami zamówienia sprzedaży w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Suma częściowa zamówionego produktu po zastosowaniu rabatów i dodaniu podatków.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("extendedamount")]
		public System.Nullable<decimal> ExtendedAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("extendedamount");
			}
		}
		
		/// <summary>
		/// Suma częściowa zamówionego produktu z uwzględnieniem rabatów i podatków w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("extendedamount_base")]
		public System.Nullable<decimal> ExtendedAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("extendedamount_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy pozycja została skopiowana z oferty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscopied")]
		public System.Nullable<bool> IsCopied
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("iscopied");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsCopied", "iscopied", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy zastępować ceny katalogowe produktów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ispriceoverridden")]
		public System.Nullable<bool> IsPriceOverridden
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ispriceoverridden");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsPriceOverridden", "ispriceoverridden", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy produkt jest produktem dopisanym, czy istniejącym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isproductoverridden")]
		public System.Nullable<bool> IsProductOverridden
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isproductoverridden");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsProductOverridden", "isproductoverridden", value);
			}
		}
		
		/// <summary>
		/// Numer pozycji zamówionego produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("lineitemnumber")]
		public System.Nullable<int> LineItemNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("lineitemnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("LineItemNumber", "lineitemnumber", value);
			}
		}
		
		/// <summary>
		/// Kwota dostosowanego rabatu dla zamówionego produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("manualdiscountamount")]
		public System.Nullable<decimal> ManualDiscountAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("manualdiscountamount");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("ManualDiscountAmount", "manualdiscountamount", value);
			}
		}
		
		/// <summary>
		/// Kwota rabatu niestandardowego na zamówiony produkt w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("manualdiscountamount_base")]
		public System.Nullable<decimal> ManualDiscountAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("manualdiscountamount_base");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował zamówiony produkt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji zamówionego produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował szczegóły zamówienia sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, który jest właścicielem szczegółów zamówienia sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem produktu zamówionego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public System.Nullable<System.Guid> OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem produktu zamówionego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public System.Nullable<System.Guid> OwningUser
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owninguser");
			}
		}
		
		/// <summary>
		/// Cena jednostkowa zamówionego produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("priceperunit")]
		public System.Nullable<decimal> PricePerUnit
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("priceperunit");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("PricePerUnit", "priceperunit", value);
			}
		}
		
		/// <summary>
		/// Cena jednostkowa zamówionego produktu w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("priceperunit_base")]
		public System.Nullable<decimal> PricePerUnit_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("priceperunit_base");
			}
		}
		
		/// <summary>
		/// Błąd kalkulacji ceny dla zamówionego produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pricingerrorcode")]
		public System.Nullable<int> PricingErrorCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("pricingerrorcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PricingErrorCode", "pricingerrorcode", value);
			}
		}
		
		/// <summary>
		/// Opis zamówionego produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productdescription")]
		public string ProductDescription
		{
			get
			{
				return this.GetAttributeValue<string>("productdescription");
			}
			set
			{
				this.SetAttributeValue<string>("ProductDescription", "productdescription", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator produktu skojarzonego z zamówionym produktem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productid")]
		public Microsoft.Xrm.Client.CrmEntityReference ProductId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("productid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ProductId", "productid", value);
			}
		}
		
		/// <summary>
		/// Określona ilość zamówionego produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quantity")]
		public System.Nullable<decimal> Quantity
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("quantity");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("Quantity", "quantity", value);
			}
		}
		
		/// <summary>
		/// Ilość produktu w zamówieniach niezrealizowanych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quantitybackordered")]
		public System.Nullable<decimal> QuantityBackordered
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("quantitybackordered");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("QuantityBackordered", "quantitybackordered", value);
			}
		}
		
		/// <summary>
		/// Ilość anulowana dla zamówionego produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quantitycancelled")]
		public System.Nullable<decimal> QuantityCancelled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("quantitycancelled");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("QuantityCancelled", "quantitycancelled", value);
			}
		}
		
		/// <summary>
		/// Ilość wysłana dla produktu określonego w zamówieniu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quantityshipped")]
		public System.Nullable<decimal> QuantityShipped
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("quantityshipped");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("QuantityShipped", "quantityshipped", value);
			}
		}
		
		/// <summary>
		/// Żądana data dostawy zamówionego produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("requestdeliveryby")]
		public System.Nullable<System.DateTime> RequestDeliveryBy
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("requestdeliveryby");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("RequestDeliveryBy", "requestdeliveryby", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator produktu określonego w zamówieniu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salesorderdetailid")]
		public System.Nullable<System.Guid> SalesOrderDetailId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("salesorderdetailid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("SalesOrderDetailId", "salesorderdetailid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salesorderdetailid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.SalesOrderDetailId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zamówienia skojarzonego z zamówionym produktem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salesorderid")]
		public Microsoft.Xrm.Client.CrmEntityReference SalesOrderId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("salesorderid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("SalesOrderId", "salesorderid", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy ceny produktów zamówionych są zablokowane.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salesorderispricelocked")]
		public System.Nullable<bool> SalesOrderIsPriceLocked
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("salesorderispricelocked");
			}
		}
		
		/// <summary>
		/// Stan zamówionego produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salesorderstatecode")]
		public System.Nullable<int> SalesOrderStateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("salesorderstatecode");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator sprzedawcy skojarzonego z zamówionym produktem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salesrepid")]
		public Microsoft.Xrm.Client.CrmEntityReference SalesRepId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("salesrepid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("SalesRepId", "salesrepid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator adresu dostawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_addressid")]
		public System.Nullable<System.Guid> ShipTo_AddressId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("shipto_addressid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("ShipTo_AddressId", "shipto_addressid", value);
			}
		}
		
		/// <summary>
		/// Nazwa miasta dla adresu wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_city")]
		public string ShipTo_City
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_city");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_City", "shipto_city", value);
			}
		}
		
		/// <summary>
		/// Nazwa kontaktu w adresie dostawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_contactname")]
		public string ShipTo_ContactName
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_contactname");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_ContactName", "shipto_contactname", value);
			}
		}
		
		/// <summary>
		/// Nazwa kraju/regionu w adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_country")]
		public string ShipTo_Country
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_country");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Country", "shipto_country", value);
			}
		}
		
		/// <summary>
		/// Numer faksu skojarzony z adresem wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_fax")]
		public string ShipTo_Fax
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_fax");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Fax", "shipto_fax", value);
			}
		}
		
		/// <summary>
		/// Warunki frachtu dla adresu wysyłkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_freighttermscode")]
		public System.Nullable<int> ShipTo_FreightTermsCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("shipto_freighttermscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ShipTo_FreightTermsCode", "shipto_freighttermscode", value);
			}
		}
		
		/// <summary>
		/// Pierwszy wiersz do wprowadzenia informacji o adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_line1")]
		public string ShipTo_Line1
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_line1");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Line1", "shipto_line1", value);
			}
		}
		
		/// <summary>
		/// Drugi wiersz do wprowadzenia informacji o adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_line2")]
		public string ShipTo_Line2
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_line2");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Line2", "shipto_line2", value);
			}
		}
		
		/// <summary>
		/// Trzeci wiersz do wprowadzenia informacji o adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_line3")]
		public string ShipTo_Line3
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_line3");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Line3", "shipto_line3", value);
			}
		}
		
		/// <summary>
		/// Nazwa do wprowadzenia w adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_name")]
		public string ShipTo_Name
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_name");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Name", "shipto_name", value);
			}
		}
		
		/// <summary>
		/// Kod pocztowy w adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_postalcode")]
		public string ShipTo_PostalCode
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_postalcode");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_PostalCode", "shipto_postalcode", value);
			}
		}
		
		/// <summary>
		/// Województwo w adresie wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_stateorprovince")]
		public string ShipTo_StateOrProvince
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_stateorprovince");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_StateOrProvince", "shipto_stateorprovince", value);
			}
		}
		
		/// <summary>
		/// Numer telefonu skojarzony z adresem wysyłkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("shipto_telephone")]
		public string ShipTo_Telephone
		{
			get
			{
				return this.GetAttributeValue<string>("shipto_telephone");
			}
			set
			{
				this.SetAttributeValue<string>("ShipTo_Telephone", "shipto_telephone", value);
			}
		}
		
		/// <summary>
		/// Kwota podatku dla zamówionego produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("tax")]
		public System.Nullable<decimal> Tax
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("tax");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("Tax", "tax", value);
			}
		}
		
		/// <summary>
		/// Kwota podatku dla zamówionego produktu w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("tax_base")]
		public System.Nullable<decimal> Tax_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("tax_base");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej ze szczegółami zamówienia sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki skojarzonej z zamówionym produktem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("uomid")]
		public Microsoft.Xrm.Client.CrmEntityReference UoMId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("uomid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("UoMId", "uomid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji szczegółów zamówienia sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// Kwota rabatu hurtowego na zamówiony produkt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("volumediscountamount")]
		public System.Nullable<decimal> VolumeDiscountAmount
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("volumediscountamount");
			}
		}
		
		/// <summary>
		/// Kwota rabatu hurtowego na zamówiony produkt w przeliczeniu na walutę podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("volumediscountamount_base")]
		public System.Nullable<decimal> VolumeDiscountAmount_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("volumediscountamount_base");
			}
		}
		
		/// <summary>
		/// Określa, czy klient zgłosi się po zamówione produkty, czy mają one zostać wysłane.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("willcall")]
		public System.Nullable<bool> WillCall
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("willcall");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("WillCall", "willcall", value);
			}
		}
		
		/// <summary>
		/// 1:N SalesOrderDetail_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrderDetail_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> SalesOrderDetail_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("SalesOrderDetail_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("SalesOrderDetail_AsyncOperations", "SalesOrderDetail_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SalesOrderDetail_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrderDetail_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> SalesOrderDetail_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("SalesOrderDetail_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("SalesOrderDetail_BulkDeleteFailures", "SalesOrderDetail_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N salesorderdetail_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("salesorderdetail_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> salesorderdetail_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("salesorderdetail_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("salesorderdetail_principalobjectattributeaccess", "salesorderdetail_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SalesOrderDetail_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrderDetail_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> SalesOrderDetail_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("SalesOrderDetail_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("SalesOrderDetail_ProcessSessions", "SalesOrderDetail_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_salesorderdetail
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_salesorderdetail")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_salesorderdetail
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_salesorderdetail", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_salesorderdetail", "userentityinstancedata_salesorderdetail", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_salesorderdetail_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesorderdetail_createdonbehalfby")]
		public Xrm.SystemUser lk_salesorderdetail_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_salesorderdetail_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_salesorderdetail_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesorderdetail_modifiedonbehalfby")]
		public Xrm.SystemUser lk_salesorderdetail_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_salesorderdetail_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_salesorderdetailbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesorderdetailbase_createdby")]
		public Xrm.SystemUser lk_salesorderdetailbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_salesorderdetailbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_salesorderdetailbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesorderdetailbase_modifiedby")]
		public Xrm.SystemUser lk_salesorderdetailbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_salesorderdetailbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 order_details
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salesorderid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("order_details")]
		public Xrm.SalesOrder order_details
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesOrder>("order_details", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesOrder>("order_details", "order_details", null, value);
			}
		}
		
		/// <summary>
		/// N:1 product_order_details
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("productid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("product_order_details")]
		public Xrm.Product product_order_details
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Product>("product_order_details", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Product>("product_order_details", "product_order_details", null, value);
			}
		}
		
		/// <summary>
		/// N:1 system_user_salesorderdetail
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salesrepid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_salesorderdetail")]
		public Xrm.SystemUser system_user_salesorderdetail
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("system_user_salesorderdetail", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("system_user_salesorderdetail", "system_user_salesorderdetail", null, value);
			}
		}
		
		/// <summary>
		/// N:1 transactioncurrency_salesorderdetail
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_salesorderdetail")]
		public Xrm.TransactionCurrency transactioncurrency_salesorderdetail
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_salesorderdetail", null);
			}
		}
		
		/// <summary>
		/// N:1 unit_of_measurement_order_details
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("uomid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("unit_of_measurement_order_details")]
		public Xrm.UoM unit_of_measurement_order_details
		{
			get
			{
				return this.GetRelatedEntity<Xrm.UoM>("unit_of_measurement_order_details", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.UoM>("unit_of_measurement_order_details", "unit_of_measurement_order_details", null, value);
			}
		}
	}
	
	/// <summary>
	/// Zapisane zapytanie w bazie danych.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("savedquery")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SavedQuerySet")]
	public partial class SavedQuery : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public SavedQuery() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "savedquery";
		
		public const int EntityTypeCode = 1039;
		
		/// <summary>
		/// Kolumna Grupuj według — zaawansowane.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("advancedgroupby")]
		public string AdvancedGroupBy
		{
			get
			{
				return this.GetAttributeValue<string>("advancedgroupby");
			}
			set
			{
				this.SetAttributeValue<string>("AdvancedGroupBy", "advancedgroupby", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy można usunąć widok.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("canbedeleted")]
		public Microsoft.Xrm.Sdk.BooleanManagedProperty CanBeDeleted
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("canbedeleted");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("CanBeDeleted", "canbedeleted", value);
			}
		}
		
		/// <summary>
		/// Definicja kolumn uwzględnionych w widoku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("columnsetxml")]
		public string ColumnSetXml
		{
			get
			{
				return this.GetAttributeValue<string>("columnsetxml");
			}
			set
			{
				this.SetAttributeValue<string>("ColumnSetXml", "columnsetxml", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// Formatowanie warunkowe tego widoku
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("conditionalformatting")]
		public string ConditionalFormatting
		{
			get
			{
				return this.GetAttributeValue<string>("conditionalformatting");
			}
			set
			{
				this.SetAttributeValue<string>("ConditionalFormatting", "conditionalformatting", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył widok.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia widoku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył zapisane zapytanie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis widoku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Ciąg określający zapytanie w języku Fetch XML.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fetchxml")]
		public string FetchXml
		{
			get
			{
				return this.GetAttributeValue<string>("fetchxml");
			}
			set
			{
				this.SetAttributeValue<string>("FetchXml", "fetchxml", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy widok można dostosować.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomizable")]
		public Microsoft.Xrm.Sdk.BooleanManagedProperty IsCustomizable
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("iscustomizable");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("IsCustomizable", "iscustomizable", value);
			}
		}
		
		/// <summary>
		/// Informacja o widoku domyślnym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isdefault")]
		public System.Nullable<bool> IsDefault
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isdefault");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsDefault", "isdefault", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy składnik rozwiązania jest częścią rozwiązania zarządzanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Wskazuje, czy pozycja jest widoczna dla całej organizacji czy nie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isprivate")]
		[System.ObsoleteAttribute()]
		public System.Nullable<bool> IsPrivate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isprivate");
			}
		}
		
		/// <summary>
		/// Informacja o widoku szybkiego szukania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isquickfindquery")]
		public System.Nullable<bool> IsQuickFindQuery
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isquickfindquery");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsQuickFindQuery", "isquickfindquery", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy zapytanie zostało utworzone przez użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isuserdefined")]
		public System.Nullable<bool> IsUserDefined
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isuserdefined");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("layoutxml")]
		public string LayoutXml
		{
			get
			{
				return this.GetAttributeValue<string>("layoutxml");
			}
			set
			{
				this.SetAttributeValue<string>("LayoutXml", "layoutxml", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował widok.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji widoku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował zapisane zapytanie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa widoku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z widokiem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Kolejność tabulacji w organizacji domyślnej
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationtaborder")]
		public System.Nullable<int> OrganizationTabOrder
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("organizationtaborder");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("queryapi")]
		public string QueryAPI
		{
			get
			{
				return this.GetAttributeValue<string>("queryapi");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("queryappusage")]
		public System.Nullable<int> QueryAppUsage
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("queryappusage");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("QueryAppUsage", "queryappusage", value);
			}
		}
		
		/// <summary>
		/// Typ widoku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("querytype")]
		public System.Nullable<int> QueryType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("querytype");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("QueryType", "querytype", value);
			}
		}
		
		/// <summary>
		/// Typ encji wyświetlanej w widoku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("returnedtypecode")]
		public string ReturnedTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("returnedtypecode");
			}
			set
			{
				this.SetAttributeValue<string>("ReturnedTypeCode", "returnedtypecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator widoku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("savedqueryid")]
		public System.Nullable<System.Guid> SavedQueryId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("savedqueryid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("SavedQueryId", "savedqueryid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("savedqueryid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.SavedQueryId = value;
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("savedqueryidunique")]
		public System.Nullable<System.Guid> SavedQueryIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("savedqueryidunique");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// Stan widoku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu widoku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji widoku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N SavedQuery_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SavedQuery_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> SavedQuery_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("SavedQuery_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("SavedQuery_AsyncOperations", "SavedQuery_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SavedQuery_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SavedQuery_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> SavedQuery_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("SavedQuery_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("SavedQuery_BulkDeleteFailures", "SavedQuery_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_savedquery
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_savedquery")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_savedquery
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_savedquery", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_savedquery", "userentityinstancedata_savedquery", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_savedquery_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_savedquery_createdonbehalfby")]
		public Xrm.SystemUser lk_savedquery_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_savedquery_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_savedquery_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_savedquery_modifiedonbehalfby")]
		public Xrm.SystemUser lk_savedquery_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_savedquery_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_savedquerybase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_savedquerybase_createdby")]
		public Xrm.SystemUser lk_savedquerybase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_savedquerybase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_savedquerybase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_savedquerybase_modifiedby")]
		public Xrm.SystemUser lk_savedquerybase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_savedquerybase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_saved_queries
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_saved_queries")]
		public Xrm.Organization organization_saved_queries
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_saved_queries", null);
			}
		}
	}
	
	/// <summary>
	/// Wykres systemowy dołączony do encji.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("savedqueryvisualization")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SavedQueryVisualizationSet")]
	public partial class SavedQueryVisualization : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public SavedQueryVisualization() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "savedqueryvisualization";
		
		public const int EntityTypeCode = 1111;
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył wykres systemowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia wykresu systemowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył wykres systemowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Ciąg XML użyty do zdefiniowania danych bazowych wykresu systemowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("datadescription")]
		public string DataDescription
		{
			get
			{
				return this.GetAttributeValue<string>("datadescription");
			}
			set
			{
				this.SetAttributeValue<string>("DataDescription", "datadescription", value);
			}
		}
		
		/// <summary>
		/// Opis wykresu systemowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy można dostosować ten składnik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomizable")]
		public Microsoft.Xrm.Sdk.BooleanManagedProperty IsCustomizable
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("iscustomizable");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("IsCustomizable", "iscustomizable", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy wykres systemowy jest domyślnym wykresem danej encji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isdefault")]
		public System.Nullable<bool> IsDefault
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isdefault");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsDefault", "isdefault", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy składnik rozwiązania jest częścią rozwiązania zarządzanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował wykres systemowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji wykresu systemowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował wykres systemowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa wykresu systemowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z wykresem systemowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// Ciąg XML użyty do zdefiniowania właściwości prezentacji wykresu systemowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("presentationdescription")]
		public string PresentationDescription
		{
			get
			{
				return this.GetAttributeValue<string>("presentationdescription");
			}
			set
			{
				this.SetAttributeValue<string>("PresentationDescription", "presentationdescription", value);
			}
		}
		
		/// <summary>
		/// Typ encji, do której jest dołączony wykres systemowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("primaryentitytypecode")]
		public string PrimaryEntityTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("primaryentitytypecode");
			}
			set
			{
				this.SetAttributeValue<string>("PrimaryEntityTypeCode", "primaryentitytypecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator wykresu systemowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("savedqueryvisualizationid")]
		public System.Nullable<System.Guid> SavedQueryVisualizationId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("savedqueryvisualizationid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("SavedQueryVisualizationId", "savedqueryvisualizationid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("savedqueryvisualizationid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.SavedQueryVisualizationId = value;
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("savedqueryvisualizationidunique")]
		public System.Nullable<System.Guid> SavedQueryVisualizationIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("savedqueryvisualizationidunique");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// Numer wersji wykresu systemowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zasobu sieci Web, który będzie wyświetlany na wykresie systemowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("webresourceid")]
		public Microsoft.Xrm.Client.CrmEntityReference WebResourceId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("webresourceid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("WebResourceId", "webresourceid", value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_savedqueryvisualization
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_savedqueryvisualization")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_savedqueryvisualization
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_savedqueryvisualization", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_savedqueryvisualization", "userentityinstancedata_savedqueryvisualization", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_savedqueryvisualizationbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_savedqueryvisualizationbase_createdby")]
		public Xrm.SystemUser lk_savedqueryvisualizationbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_savedqueryvisualizationbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_savedqueryvisualizationbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_savedqueryvisualizationbase_createdonbehalfby")]
		public Xrm.SystemUser lk_savedqueryvisualizationbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_savedqueryvisualizationbase_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_savedqueryvisualizationbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_savedqueryvisualizationbase_modifiedby")]
		public Xrm.SystemUser lk_savedqueryvisualizationbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_savedqueryvisualizationbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_savedqueryvisualizationbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_savedqueryvisualizationbase_modifiedonbehalfby")]
		public Xrm.SystemUser lk_savedqueryvisualizationbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_savedqueryvisualizationbase_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_saved_query_visualizations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_saved_query_visualizations")]
		public Xrm.Organization organization_saved_query_visualizations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_saved_query_visualizations", null);
			}
		}
		
		/// <summary>
		/// N:1 webresource_savedqueryvisualizations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("webresourceid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("webresource_savedqueryvisualizations")]
		public Xrm.WebResource webresource_savedqueryvisualizations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.WebResource>("webresource_savedqueryvisualizations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.WebResource>("webresource_savedqueryvisualizations", "webresource_savedqueryvisualizations", null, value);
			}
		}
	}
	
	/// <summary>
	/// Komunikat obsługiwany przez zestaw SDK.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("sdkmessage")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SdkMessageSet")]
	public partial class SdkMessage : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public SdkMessage() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "sdkmessage";
		
		public const int EntityTypeCode = 4606;
		
		/// <summary>
		/// Informacja, czy w reakcji na komunikat zestawu SDK są automatycznie wykonywane jakieś operacje.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("autotransact")]
		public System.Nullable<bool> AutoTransact
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("autotransact");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("AutoTransact", "autotransact", value);
			}
		}
		
		/// <summary>
		/// Identyfikuje, gdzie metoda będzie uwidoczniona. 0 - serwer, 1 - klient, 2 - serwer i klient.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("availability")]
		public System.Nullable<int> Availability
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("availability");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Availability", "availability", value);
			}
		}
		
		/// <summary>
		/// Jeśli metoda zawiera podział na kategorie, jest to nazwa kategorii. W przeciwnym razie jest przyjmowana wartość Brak.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("categoryname")]
		public string CategoryName
		{
			get
			{
				return this.GetAttributeValue<string>("categoryname");
			}
			set
			{
				this.SetAttributeValue<string>("CategoryName", "categoryname", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Poziom dostosowania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationlevel")]
		public System.Nullable<int> CustomizationLevel
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("customizationlevel");
			}
		}
		
		/// <summary>
		/// Informacja, czy żądania zawarte w komunikacie zestawu SDK powinny być rozwijane dla encji podstawowej zdefiniowanej w jego filtrach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("expand")]
		public System.Nullable<bool> Expand
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("expand");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("Expand", "expand", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy komunikat zestawu SDK jest prywatny.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isprivate")]
		public System.Nullable<bool> IsPrivate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isprivate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsPrivate", "isprivate", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji, z którą jest skojarzony komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator encji komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageid")]
		public System.Nullable<System.Guid> SdkMessageId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("sdkmessageid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("SdkMessageId", "sdkmessageid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.SdkMessageId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageidunique")]
		public System.Nullable<System.Guid> SdkMessageIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("sdkmessageidunique");
			}
		}
		
		/// <summary>
		/// Informacja, czy komunikat zestawu SDK jest szablonem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("template")]
		public System.Nullable<bool> Template
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("template");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("Template", "template", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("throttlesettings")]
		public string ThrottleSettings
		{
			get
			{
				return this.GetAttributeValue<string>("throttlesettings");
			}
		}
		
		/// <summary>
		/// Liczba identyfikująca określoną poprawkę komunikatu zestawu SDK. 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N message_sdkmessagepair
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("message_sdkmessagepair")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessagePair> message_sdkmessagepair
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessagePair>("message_sdkmessagepair", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessagePair>("message_sdkmessagepair", "message_sdkmessagepair", null, value);
			}
		}
		
		/// <summary>
		/// 1:N sdkmessageid_sdkmessagefilter
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessageid_sdkmessagefilter")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageFilter> sdkmessageid_sdkmessagefilter
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageFilter>("sdkmessageid_sdkmessagefilter", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageFilter>("sdkmessageid_sdkmessagefilter", "sdkmessageid_sdkmessagefilter", null, value);
			}
		}
		
		/// <summary>
		/// 1:N sdkmessageid_sdkmessageprocessingstep
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessageid_sdkmessageprocessingstep")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageProcessingStep> sdkmessageid_sdkmessageprocessingstep
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageProcessingStep>("sdkmessageid_sdkmessageprocessingstep", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageProcessingStep>("sdkmessageid_sdkmessageprocessingstep", "sdkmessageid_sdkmessageprocessingstep", null, value);
			}
		}
		
		/// <summary>
		/// 1:N sdkmessageid_workflow_dependency
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessageid_workflow_dependency")]
		public System.Collections.Generic.IEnumerable<Xrm.WorkflowDependency> sdkmessageid_workflow_dependency
		{
			get
			{
				return this.GetRelatedEntities<Xrm.WorkflowDependency>("sdkmessageid_workflow_dependency", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.WorkflowDependency>("sdkmessageid_workflow_dependency", "sdkmessageid_workflow_dependency", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_sdkmessage
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_sdkmessage")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_sdkmessage
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_sdkmessage", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_sdkmessage", "userentityinstancedata_sdkmessage", null, value);
			}
		}
		
		/// <summary>
		/// N:1 createdby_sdkmessage
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_sdkmessage")]
		public Xrm.SystemUser createdby_sdkmessage
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("createdby_sdkmessage", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_sdkmessage_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessage_createdonbehalfby")]
		public Xrm.SystemUser lk_sdkmessage_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sdkmessage_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_sdkmessage_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessage_modifiedonbehalfby")]
		public Xrm.SystemUser lk_sdkmessage_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sdkmessage_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 modifiedby_sdkmessage
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_sdkmessage")]
		public Xrm.SystemUser modifiedby_sdkmessage
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("modifiedby_sdkmessage", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_sdkmessage
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_sdkmessage")]
		public Xrm.Organization organization_sdkmessage
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_sdkmessage", null);
			}
		}
	}
	
	/// <summary>
	/// Filtr definiujący, które komunikaty zestawu SDK są prawidłowe dla poszczególnych typów encji.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("sdkmessagefilter")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SdkMessageFilterSet")]
	public partial class SdkMessageFilter : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public SdkMessageFilter() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "sdkmessagefilter";
		
		public const int EntityTypeCode = 4607;
		
		/// <summary>
		/// Identyfikuje, gdzie metoda będzie uwidoczniona. 0 - serwer, 1 - klient, 2 - serwer i klient.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("availability")]
		public System.Nullable<int> Availability
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("availability");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Availability", "availability", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył filtr komunikatów zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia filtru komunikatów zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył filtr komunikatów zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Poziom dostosowania filtru komunikatów zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationlevel")]
		public System.Nullable<int> CustomizationLevel
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("customizationlevel");
			}
		}
		
		/// <summary>
		/// Wskazuje, czy dozwolony jest niestandardowy krok przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomprocessingstepallowed")]
		public System.Nullable<bool> IsCustomProcessingStepAllowed
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("iscustomprocessingstepallowed");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsCustomProcessingStepAllowed", "iscustomprocessingstepallowed", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy filtr ma być widoczny.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isvisible")]
		public System.Nullable<bool> IsVisible
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isvisible");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował filtr komunikatów zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji filtru komunikatów zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował filtr komunikatów zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji, z którą jest skojarzony filtr komunikatów zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Typ encji, z którą filtr komunikatów zestawu SDK jest skojarzony w relacji głównej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("primaryobjecttypecode")]
		public string PrimaryObjectTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("primaryobjecttypecode");
			}
		}
		
		/// <summary>
		/// Identyfikator encji filtru komunikatów zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagefilterid")]
		public System.Nullable<System.Guid> SdkMessageFilterId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("sdkmessagefilterid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("SdkMessageFilterId", "sdkmessagefilterid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagefilterid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.SdkMessageFilterId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator filtru komunikatów zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagefilteridunique")]
		public System.Nullable<System.Guid> SdkMessageFilterIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("sdkmessagefilteridunique");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator powiązanego komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageid")]
		public Microsoft.Xrm.Client.CrmEntityReference SdkMessageId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("sdkmessageid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("SdkMessageId", "sdkmessageid", value);
			}
		}
		
		/// <summary>
		/// Typ encji, z którą filtr komunikatów zestawu SDK jest skojarzony w relacji pomocniczej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("secondaryobjecttypecode")]
		public string SecondaryObjectTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("secondaryobjecttypecode");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N sdkmessagefilterid_sdkmessageprocessingstep
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessagefilterid_sdkmessageprocessingstep")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageProcessingStep> sdkmessagefilterid_sdkmessageprocessingstep
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageProcessingStep>("sdkmessagefilterid_sdkmessageprocessingstep", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageProcessingStep>("sdkmessagefilterid_sdkmessageprocessingstep", "sdkmessagefilterid_sdkmessageprocessingstep", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_sdkmessagefilter
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_sdkmessagefilter")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_sdkmessagefilter
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_sdkmessagefilter", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_sdkmessagefilter", "userentityinstancedata_sdkmessagefilter", null, value);
			}
		}
		
		/// <summary>
		/// N:1 createdby_sdkmessagefilter
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_sdkmessagefilter")]
		public Xrm.SystemUser createdby_sdkmessagefilter
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("createdby_sdkmessagefilter", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_sdkmessagefilter_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessagefilter_createdonbehalfby")]
		public Xrm.SystemUser lk_sdkmessagefilter_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sdkmessagefilter_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_sdkmessagefilter_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessagefilter_modifiedonbehalfby")]
		public Xrm.SystemUser lk_sdkmessagefilter_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sdkmessagefilter_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 modifiedby_sdkmessagefilter
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_sdkmessagefilter")]
		public Xrm.SystemUser modifiedby_sdkmessagefilter
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("modifiedby_sdkmessagefilter", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_sdkmessagefilter
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_sdkmessagefilter")]
		public Xrm.Organization organization_sdkmessagefilter
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_sdkmessagefilter", null);
			}
		}
		
		/// <summary>
		/// N:1 sdkmessageid_sdkmessagefilter
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessageid_sdkmessagefilter")]
		public Xrm.SdkMessage sdkmessageid_sdkmessagefilter
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SdkMessage>("sdkmessageid_sdkmessagefilter", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SdkMessage>("sdkmessageid_sdkmessagefilter", "sdkmessageid_sdkmessagefilter", null, value);
			}
		}
	}
	
	/// <summary>
	/// Tylko do użytku wewnętrznego.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("sdkmessagepair")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SdkMessagePairSet")]
	public partial class SdkMessagePair : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public SdkMessagePair() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "sdkmessagepair";
		
		public const int EntityTypeCode = 4613;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył parę komunikatów zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia pary komunikatów zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył parę komunikatów zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Poziom dostosowania filtru komunikatów zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationlevel")]
		public System.Nullable<int> CustomizationLevel
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("customizationlevel");
			}
		}
		
		/// <summary>
		/// Punkt końcowy, z którym jest skojarzona para komunikatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("endpoint")]
		public string Endpoint
		{
			get
			{
				return this.GetAttributeValue<string>("endpoint");
			}
			set
			{
				this.SetAttributeValue<string>("Endpoint", "endpoint", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował parę komunikatów zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji pary komunikatów zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował parę komunikatów zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Obszar nazw, z którym skojarzona jest para komunikatów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("namespace")]
		public string Namespace
		{
			get
			{
				return this.GetAttributeValue<string>("namespace");
			}
			set
			{
				this.SetAttributeValue<string>("Namespace", "namespace", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji, z którą skojarzona jest para komunikatów zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator komunikatu, z którym skojarzona jest para komunikatów zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageid")]
		public Microsoft.Xrm.Client.CrmEntityReference SdkMessageId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("sdkmessageid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator encji pary komunikatów zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagepairid")]
		public System.Nullable<System.Guid> SdkMessagePairId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("sdkmessagepairid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("SdkMessagePairId", "sdkmessagepairid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagepairid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.SdkMessagePairId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator pary komunikatów zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagepairidunique")]
		public System.Nullable<System.Guid> SdkMessagePairIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("sdkmessagepairidunique");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N messagepair_sdkmessagerequest
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("messagepair_sdkmessagerequest")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageRequest> messagepair_sdkmessagerequest
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageRequest>("messagepair_sdkmessagerequest", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageRequest>("messagepair_sdkmessagerequest", "messagepair_sdkmessagerequest", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_sdkmessagepair
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_sdkmessagepair")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_sdkmessagepair
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_sdkmessagepair", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_sdkmessagepair", "userentityinstancedata_sdkmessagepair", null, value);
			}
		}
		
		/// <summary>
		/// N:1 createdby_sdkmessagepair
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_sdkmessagepair")]
		public Xrm.SystemUser createdby_sdkmessagepair
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("createdby_sdkmessagepair", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_sdkmessagepair_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessagepair_createdonbehalfby")]
		public Xrm.SystemUser lk_sdkmessagepair_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sdkmessagepair_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_sdkmessagepair_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessagepair_modifiedonbehalfby")]
		public Xrm.SystemUser lk_sdkmessagepair_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sdkmessagepair_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 message_sdkmessagepair
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("message_sdkmessagepair")]
		public Xrm.SdkMessage message_sdkmessagepair
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SdkMessage>("message_sdkmessagepair", null);
			}
		}
		
		/// <summary>
		/// N:1 modifiedby_sdkmessagepair
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_sdkmessagepair")]
		public Xrm.SystemUser modifiedby_sdkmessagepair
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("modifiedby_sdkmessagepair", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_sdkmessagepair
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_sdkmessagepair")]
		public Xrm.Organization organization_sdkmessagepair
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_sdkmessagepair", null);
			}
		}
	}
	
	/// <summary>
	/// Etap potoku wykonania, który ma zostać wykonany przez dodatek plug-in.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("sdkmessageprocessingstep")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SdkMessageProcessingStepSet")]
	public partial class SdkMessageProcessingStep : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public SdkMessageProcessingStep() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "sdkmessageprocessingstep";
		
		public const int EntityTypeCode = 4608;
		
		/// <summary>
		/// Wskazuje, czy asynchroniczne zadanie systemowe jest usuwane automatycznie po zakończeniu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("asyncautodelete")]
		public System.Nullable<bool> AsyncAutoDelete
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("asyncautodelete");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("AsyncAutoDelete", "asyncautodelete", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// Konfiguracja typu dodatku plug-in specyficzna dla kroku. Jest przekazywana do konstruktora dodatku w czasie działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("configuration")]
		public string Configuration
		{
			get
			{
				return this.GetAttributeValue<string>("configuration");
			}
			set
			{
				this.SetAttributeValue<string>("Configuration", "configuration", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył krok przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia kroku przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył krok przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Poziom dostosowania kroku przetwarzania komunikatów zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationlevel")]
		public System.Nullable<int> CustomizationLevel
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("customizationlevel");
			}
		}
		
		/// <summary>
		/// Opis kroku przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego programu obsługi zdarzeń.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("eventhandler")]
		public Microsoft.Xrm.Client.CrmEntityReference EventHandler
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("eventhandler");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("EventHandler", "eventhandler", value);
			}
		}
		
		/// <summary>
		/// Rozdzielana przecinkami lista atrybutów. Jeśli co najmniej jeden z tych atrybutów zostanie zmodyfikowany, dodatek plug-in powinien zostać uruchomiony.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("filteringattributes")]
		public string FilteringAttributes
		{
			get
			{
				return this.GetAttributeValue<string>("filteringattributes");
			}
			set
			{
				this.SetAttributeValue<string>("FilteringAttributes", "filteringattributes", value);
			}
		}
		
		/// <summary>
		/// Identyfikator użytkownika używany w celu podszywania się pod kontekst podczas wykonywania kroku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("impersonatinguserid")]
		public Microsoft.Xrm.Client.CrmEntityReference ImpersonatingUserId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("impersonatinguserid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ImpersonatingUserId", "impersonatinguserid", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy dodatek plug-in ma zostać wykonany w ramach potoku nadrzędnego, podrzędnego, czy obu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("invocationsource")]
		[System.ObsoleteAttribute()]
		public System.Nullable<int> InvocationSource
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("invocationsource");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("InvocationSource", "invocationsource", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy można dostosować ten składnik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomizable")]
		public Microsoft.Xrm.Sdk.BooleanManagedProperty IsCustomizable
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("iscustomizable");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("IsCustomizable", "iscustomizable", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy ten składnik powinien być ukryty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ishidden")]
		public Microsoft.Xrm.Sdk.BooleanManagedProperty IsHidden
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("ishidden");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("IsHidden", "ishidden", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy ten składnik jest zarządzany.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Tryb działania (na przykład synchroniczny lub asynchroniczny).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("mode")]
		public System.Nullable<int> Mode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("mode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Mode", "mode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował krok przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji kroku przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował krok przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa kroku przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji, z którą skojarzony jest krok przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator typu dodatku plug-in skojarzonego z krokiem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("plugintypeid")]
		[System.ObsoleteAttribute()]
		public Microsoft.Xrm.Client.CrmEntityReference PluginTypeId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("plugintypeid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("PluginTypeId", "plugintypeid", value);
			}
		}
		
		/// <summary>
		/// Kolejność przetwarzania w etapie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("rank")]
		public System.Nullable<int> Rank
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("rank");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Rank", "rank", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator filtru komunikatów zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagefilterid")]
		public Microsoft.Xrm.Client.CrmEntityReference SdkMessageFilterId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("sdkmessagefilterid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("SdkMessageFilterId", "sdkmessagefilterid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageid")]
		public Microsoft.Xrm.Client.CrmEntityReference SdkMessageId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("sdkmessageid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("SdkMessageId", "sdkmessageid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator encji kroku przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepid")]
		public System.Nullable<System.Guid> SdkMessageProcessingStepId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("sdkmessageprocessingstepid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("SdkMessageProcessingStepId", "sdkmessageprocessingstepid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.SdkMessageProcessingStepId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kroku przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepidunique")]
		public System.Nullable<System.Guid> SdkMessageProcessingStepIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("sdkmessageprocessingstepidunique");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator bezpiecznej konfiguracji kroku przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepsecureconfigid")]
		public Microsoft.Xrm.Client.CrmEntityReference SdkMessageProcessingStepSecureConfigId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("sdkmessageprocessingstepsecureconfigid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("SdkMessageProcessingStepSecureConfigId", "sdkmessageprocessingstepsecureconfigid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// Etap potoku wykonania, do którego należy ten krok przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("stage")]
		public System.Nullable<int> Stage
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("stage");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Stage", "stage", value);
			}
		}
		
		/// <summary>
		/// Stan kroku przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu kroku przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Rozmieszczenie, w odniesieniu do którego ten krok przetwarzania komunikatu zestawu SDK ma zostać wykonany (serwer, klient, lub jedno i drugie).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("supporteddeployment")]
		public System.Nullable<int> SupportedDeployment
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("supporteddeployment");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("SupportedDeployment", "supporteddeployment", value);
			}
		}
		
		/// <summary>
		/// Liczba identyfikująca określoną poprawkę kroku przetwarzania komunikatu zestawu SDK. 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N SdkMessageProcessingStep_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SdkMessageProcessingStep_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> SdkMessageProcessingStep_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("SdkMessageProcessingStep_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("SdkMessageProcessingStep_AsyncOperations", "SdkMessageProcessingStep_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N sdkmessageprocessingstepid_sdkmessageprocessingstepimage
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessageprocessingstepid_sdkmessageprocessingstepimage")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageProcessingStepImage> sdkmessageprocessingstepid_sdkmessageprocessingstepimage
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageProcessingStepImage>("sdkmessageprocessingstepid_sdkmessageprocessingstepimage", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageProcessingStepImage>("sdkmessageprocessingstepid_sdkmessageprocessingstepimage", "sdkmessageprocessingstepid_sdkmessageprocessingstepimage", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_sdkmessageprocessingstep
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_sdkmessageprocessingstep")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_sdkmessageprocessingstep
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_sdkmessageprocessingstep", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_sdkmessageprocessingstep", "userentityinstancedata_sdkmessageprocessingstep", null, value);
			}
		}
		
		/// <summary>
		/// N:1 createdby_sdkmessageprocessingstep
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_sdkmessageprocessingstep")]
		public Xrm.SystemUser createdby_sdkmessageprocessingstep
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("createdby_sdkmessageprocessingstep", null);
			}
		}
		
		/// <summary>
		/// N:1 impersonatinguserid_sdkmessageprocessingstep
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("impersonatinguserid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("impersonatinguserid_sdkmessageprocessingstep")]
		public Xrm.SystemUser impersonatinguserid_sdkmessageprocessingstep
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("impersonatinguserid_sdkmessageprocessingstep", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("impersonatinguserid_sdkmessageprocessingstep", "impersonatinguserid_sdkmessageprocessingstep", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_sdkmessageprocessingstep_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessageprocessingstep_createdonbehalfby")]
		public Xrm.SystemUser lk_sdkmessageprocessingstep_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sdkmessageprocessingstep_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_sdkmessageprocessingstep_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessageprocessingstep_modifiedonbehalfby")]
		public Xrm.SystemUser lk_sdkmessageprocessingstep_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sdkmessageprocessingstep_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 modifiedby_sdkmessageprocessingstep
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_sdkmessageprocessingstep")]
		public Xrm.SystemUser modifiedby_sdkmessageprocessingstep
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("modifiedby_sdkmessageprocessingstep", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_sdkmessageprocessingstep
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_sdkmessageprocessingstep")]
		public Xrm.Organization organization_sdkmessageprocessingstep
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_sdkmessageprocessingstep", null);
			}
		}
		
		/// <summary>
		/// N:1 plugintype_sdkmessageprocessingstep
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("eventhandler")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("plugintype_sdkmessageprocessingstep")]
		public Xrm.PluginType plugintype_sdkmessageprocessingstep
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PluginType>("plugintype_sdkmessageprocessingstep", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PluginType>("plugintype_sdkmessageprocessingstep", "plugintype_sdkmessageprocessingstep", null, value);
			}
		}
		
		/// <summary>
		/// N:1 plugintypeid_sdkmessageprocessingstep
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("plugintypeid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("plugintypeid_sdkmessageprocessingstep")]
		public Xrm.PluginType plugintypeid_sdkmessageprocessingstep
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PluginType>("plugintypeid_sdkmessageprocessingstep", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PluginType>("plugintypeid_sdkmessageprocessingstep", "plugintypeid_sdkmessageprocessingstep", null, value);
			}
		}
		
		/// <summary>
		/// N:1 sdkmessagefilterid_sdkmessageprocessingstep
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagefilterid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessagefilterid_sdkmessageprocessingstep")]
		public Xrm.SdkMessageFilter sdkmessagefilterid_sdkmessageprocessingstep
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SdkMessageFilter>("sdkmessagefilterid_sdkmessageprocessingstep", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SdkMessageFilter>("sdkmessagefilterid_sdkmessageprocessingstep", "sdkmessagefilterid_sdkmessageprocessingstep", null, value);
			}
		}
		
		/// <summary>
		/// N:1 sdkmessageid_sdkmessageprocessingstep
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessageid_sdkmessageprocessingstep")]
		public Xrm.SdkMessage sdkmessageid_sdkmessageprocessingstep
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SdkMessage>("sdkmessageid_sdkmessageprocessingstep", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SdkMessage>("sdkmessageid_sdkmessageprocessingstep", "sdkmessageid_sdkmessageprocessingstep", null, value);
			}
		}
		
		/// <summary>
		/// N:1 sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepsecureconfigid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep")]
		public Xrm.SdkMessageProcessingStepSecureConfig sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SdkMessageProcessingStepSecureConfig>("sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SdkMessageProcessingStepSecureConfig>("sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep", "sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep", null, value);
			}
		}
		
		/// <summary>
		/// N:1 serviceendpoint_sdkmessageprocessingstep
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("eventhandler")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("serviceendpoint_sdkmessageprocessingstep")]
		public Xrm.ServiceEndpoint serviceendpoint_sdkmessageprocessingstep
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ServiceEndpoint>("serviceendpoint_sdkmessageprocessingstep", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ServiceEndpoint>("serviceendpoint_sdkmessageprocessingstep", "serviceendpoint_sdkmessageprocessingstep", null, value);
			}
		}
	}
	
	/// <summary>
	/// Kopia atrybutów encji przed lub po podstawowej operacji systemowej.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("sdkmessageprocessingstepimage")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SdkMessageProcessingStepImageSet")]
	public partial class SdkMessageProcessingStepImage : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public SdkMessageProcessingStepImage() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "sdkmessageprocessingstepimage";
		
		public const int EntityTypeCode = 4615;
		
		/// <summary>
		/// Rozdzielona przecinkami lista atrybutów, które mają zostać przekazane do obrazu kroku przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("attributes")]
		public string Attributes1
		{
			get
			{
				return this.GetAttributeValue<string>("attributes");
			}
			set
			{
				this.SetAttributeValue<string>("Attributes1", "attributes", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył obraz kroku przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia obrazu kroku przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył obraz kroku przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Poziom dostosowania obrazku kroku przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationlevel")]
		public System.Nullable<int> CustomizationLevel
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("customizationlevel");
			}
		}
		
		/// <summary>
		/// Opis obrazu kroku przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Nazwa klucza umożliwiającego dostęp do zestawu właściwości w kroku przed lub po wykonaniu obrazu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("entityalias")]
		public string EntityAlias
		{
			get
			{
				return this.GetAttributeValue<string>("entityalias");
			}
			set
			{
				this.SetAttributeValue<string>("EntityAlias", "entityalias", value);
			}
		}
		
		/// <summary>
		/// Typ żądanego obrazu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("imagetype")]
		public System.Nullable<int> ImageType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("imagetype");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ImageType", "imagetype", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy można dostosować ten składnik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomizable")]
		public Microsoft.Xrm.Sdk.BooleanManagedProperty IsCustomizable
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("iscustomizable");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("IsCustomizable", "iscustomizable", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Nazwa właściwości komunikatu żądania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("messagepropertyname")]
		public string MessagePropertyName
		{
			get
			{
				return this.GetAttributeValue<string>("messagepropertyname");
			}
			set
			{
				this.SetAttributeValue<string>("MessagePropertyName", "messagepropertyname", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował krok przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji kroku przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował obraz kroku przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa obrazu kroku przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji, z którą skojarzony jest krok przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// Nazwa encji pokrewnej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("relatedattributename")]
		public string RelatedAttributeName
		{
			get
			{
				return this.GetAttributeValue<string>("relatedattributename");
			}
			set
			{
				this.SetAttributeValue<string>("RelatedAttributeName", "relatedattributename", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kroku przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepid")]
		public Microsoft.Xrm.Client.CrmEntityReference SdkMessageProcessingStepId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("sdkmessageprocessingstepid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("SdkMessageProcessingStepId", "sdkmessageprocessingstepid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator encji obrazu kroku przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepimageid")]
		public System.Nullable<System.Guid> SdkMessageProcessingStepImageId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("sdkmessageprocessingstepimageid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("SdkMessageProcessingStepImageId", "sdkmessageprocessingstepimageid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepimageid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.SdkMessageProcessingStepImageId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obrazu kroku przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepimageidunique")]
		public System.Nullable<System.Guid> SdkMessageProcessingStepImageIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("sdkmessageprocessingstepimageidunique");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// Liczba identyfikująca określoną poprawkę obrazu kroku. 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_sdkmessageprocessingstepimage
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_sdkmessageprocessingstepimage")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_sdkmessageprocessingstepimage
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_sdkmessageprocessingstepimage", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_sdkmessageprocessingstepimage", "userentityinstancedata_sdkmessageprocessingstepimage", null, value);
			}
		}
		
		/// <summary>
		/// N:1 createdby_sdkmessageprocessingstepimage
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_sdkmessageprocessingstepimage")]
		public Xrm.SystemUser createdby_sdkmessageprocessingstepimage
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("createdby_sdkmessageprocessingstepimage", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_sdkmessageprocessingstepimage_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessageprocessingstepimage_createdonbehalfby")]
		public Xrm.SystemUser lk_sdkmessageprocessingstepimage_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sdkmessageprocessingstepimage_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_sdkmessageprocessingstepimage_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessageprocessingstepimage_modifiedonbehalfby")]
		public Xrm.SystemUser lk_sdkmessageprocessingstepimage_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sdkmessageprocessingstepimage_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 modifiedby_sdkmessageprocessingstepimage
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_sdkmessageprocessingstepimage")]
		public Xrm.SystemUser modifiedby_sdkmessageprocessingstepimage
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("modifiedby_sdkmessageprocessingstepimage", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_sdkmessageprocessingstepimage
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_sdkmessageprocessingstepimage")]
		public Xrm.Organization organization_sdkmessageprocessingstepimage
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_sdkmessageprocessingstepimage", null);
			}
		}
		
		/// <summary>
		/// N:1 sdkmessageprocessingstepid_sdkmessageprocessingstepimage
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessageprocessingstepid_sdkmessageprocessingstepimage")]
		public Xrm.SdkMessageProcessingStep sdkmessageprocessingstepid_sdkmessageprocessingstepimage
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SdkMessageProcessingStep>("sdkmessageprocessingstepid_sdkmessageprocessingstepimage", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SdkMessageProcessingStep>("sdkmessageprocessingstepid_sdkmessageprocessingstepimage", "sdkmessageprocessingstepid_sdkmessageprocessingstepimage", null, value);
			}
		}
	}
	
	/// <summary>
	/// Niepubliczna konfiguracja niestandardowa przekazywana do konstruktora dodatku plug-in.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("sdkmessageprocessingstepsecureconfig")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SdkMessageProcessingStepSecureConfigSet")]
	public partial class SdkMessageProcessingStepSecureConfig : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public SdkMessageProcessingStepSecureConfig() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "sdkmessageprocessingstepsecureconfig";
		
		public const int EntityTypeCode = 4616;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył krok przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia kroku przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył bezpieczną konfigurację kroku przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Poziom dostosowania bezpiecznej konfiguracji kroku przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationlevel")]
		public System.Nullable<int> CustomizationLevel
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("customizationlevel");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował krok przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji kroku przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował bezpieczną konfigurację kroku przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji, z którą skojarzony jest krok przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator bezpiecznej konfiguracji kroku przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepsecureconfigid")]
		public System.Nullable<System.Guid> SdkMessageProcessingStepSecureConfigId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("sdkmessageprocessingstepsecureconfigid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("SdkMessageProcessingStepSecureConfigId", "sdkmessageprocessingstepsecureconfigid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepsecureconfigid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.SdkMessageProcessingStepSecureConfigId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kroku przetwarzania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepsecureconfigidunique")]
		public System.Nullable<System.Guid> SdkMessageProcessingStepSecureConfigIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("sdkmessageprocessingstepsecureconfigidunique");
			}
		}
		
		/// <summary>
		/// Bezpieczna, specyficzna dla kroku konfiguracja typu dodatku plug-in przekazywana w czasie działania do konstruktora dodatku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("secureconfig")]
		public string SecureConfig
		{
			get
			{
				return this.GetAttributeValue<string>("secureconfig");
			}
			set
			{
				this.SetAttributeValue<string>("SecureConfig", "secureconfig", value);
			}
		}
		
		/// <summary>
		/// 1:N sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageProcessingStep> sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageProcessingStep>("sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageProcessingStep>("sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep", "sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_sdkmessageprocessingstepsecureconfig
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_sdkmessageprocessingstepsecureconfig")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_sdkmessageprocessingstepsecureconfig
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_sdkmessageprocessingstepsecureconfig", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_sdkmessageprocessingstepsecureconfig", "userentityinstancedata_sdkmessageprocessingstepsecureconfig", null, value);
			}
		}
		
		/// <summary>
		/// N:1 createdby_sdkmessageprocessingstepsecureconfig
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_sdkmessageprocessingstepsecureconfig")]
		public Xrm.SystemUser createdby_sdkmessageprocessingstepsecureconfig
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("createdby_sdkmessageprocessingstepsecureconfig", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_sdkmessageprocessingstepsecureconfig_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessageprocessingstepsecureconfig_createdonbehalfby")]
		public Xrm.SystemUser lk_sdkmessageprocessingstepsecureconfig_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sdkmessageprocessingstepsecureconfig_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_sdkmessageprocessingstepsecureconfig_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessageprocessingstepsecureconfig_modifiedonbehalfby")]
		public Xrm.SystemUser lk_sdkmessageprocessingstepsecureconfig_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sdkmessageprocessingstepsecureconfig_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 modifiedby_sdkmessageprocessingstepsecureconfig
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_sdkmessageprocessingstepsecureconfig")]
		public Xrm.SystemUser modifiedby_sdkmessageprocessingstepsecureconfig
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("modifiedby_sdkmessageprocessingstepsecureconfig", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_sdkmessageprocessingstepsecureconfig
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_sdkmessageprocessingstepsecureconfig")]
		public Xrm.Organization organization_sdkmessageprocessingstepsecureconfig
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_sdkmessageprocessingstepsecureconfig", null);
			}
		}
	}
	
	/// <summary>
	/// Tylko do użytku wewnętrznego.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("sdkmessagerequest")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SdkMessageRequestSet")]
	public partial class SdkMessageRequest : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public SdkMessageRequest() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "sdkmessagerequest";
		
		public const int EntityTypeCode = 4609;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył żądanie komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia żądania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył żądanie komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Poziom dostosowania żądania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationlevel")]
		public System.Nullable<int> CustomizationLevel
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("customizationlevel");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował żądanie komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji żądania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował żądanie komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa żądania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji, z którą skojarzone jest żądanie komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Typ encji, z którą jest skojarzone żądanie zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("primaryobjecttypecode")]
		public string PrimaryObjectTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("primaryobjecttypecode");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator pary komunikatów, z którą skojarzone jest żądanie komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagepairid")]
		public Microsoft.Xrm.Client.CrmEntityReference SdkMessagePairId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("sdkmessagepairid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator encji żądania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagerequestid")]
		public System.Nullable<System.Guid> SdkMessageRequestId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("sdkmessagerequestid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("SdkMessageRequestId", "sdkmessagerequestid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagerequestid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.SdkMessageRequestId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator żądania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagerequestidunique")]
		public System.Nullable<System.Guid> SdkMessageRequestIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("sdkmessagerequestidunique");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N messagerequest_sdkmessagerequestfield
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("messagerequest_sdkmessagerequestfield")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageRequestField> messagerequest_sdkmessagerequestfield
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageRequestField>("messagerequest_sdkmessagerequestfield", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageRequestField>("messagerequest_sdkmessagerequestfield", "messagerequest_sdkmessagerequestfield", null, value);
			}
		}
		
		/// <summary>
		/// 1:N messagerequest_sdkmessageresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("messagerequest_sdkmessageresponse")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageResponse> messagerequest_sdkmessageresponse
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageResponse>("messagerequest_sdkmessageresponse", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageResponse>("messagerequest_sdkmessageresponse", "messagerequest_sdkmessageresponse", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_sdkmessagerequest
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_sdkmessagerequest")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_sdkmessagerequest
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_sdkmessagerequest", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_sdkmessagerequest", "userentityinstancedata_sdkmessagerequest", null, value);
			}
		}
		
		/// <summary>
		/// N:1 createdby_sdkmessagerequest
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_sdkmessagerequest")]
		public Xrm.SystemUser createdby_sdkmessagerequest
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("createdby_sdkmessagerequest", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_sdkmessagerequest_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessagerequest_createdonbehalfby")]
		public Xrm.SystemUser lk_sdkmessagerequest_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sdkmessagerequest_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_sdkmessagerequest_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessagerequest_modifiedonbehalfby")]
		public Xrm.SystemUser lk_sdkmessagerequest_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sdkmessagerequest_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 messagepair_sdkmessagerequest
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagepairid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("messagepair_sdkmessagerequest")]
		public Xrm.SdkMessagePair messagepair_sdkmessagerequest
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SdkMessagePair>("messagepair_sdkmessagerequest", null);
			}
		}
		
		/// <summary>
		/// N:1 modifiedby_sdkmessagerequest
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_sdkmessagerequest")]
		public Xrm.SystemUser modifiedby_sdkmessagerequest
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("modifiedby_sdkmessagerequest", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_sdkmessagerequest
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_sdkmessagerequest")]
		public Xrm.Organization organization_sdkmessagerequest
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_sdkmessagerequest", null);
			}
		}
	}
	
	/// <summary>
	/// Tylko do użytku wewnętrznego.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("sdkmessagerequestfield")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SdkMessageRequestFieldSet")]
	public partial class SdkMessageRequestField : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public SdkMessageRequestField() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "sdkmessagerequestfield";
		
		public const int EntityTypeCode = 4614;
		
		/// <summary>
		/// Analizator składni oparty na aparacie CLR dla pola żądania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("clrparser")]
		public string ClrParser
		{
			get
			{
				return this.GetAttributeValue<string>("clrparser");
			}
			set
			{
				this.SetAttributeValue<string>("ClrParser", "clrparser", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył pole żądania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia pola żądania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył pole żądania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Poziom dostosowania pola żądania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationlevel")]
		public System.Nullable<int> CustomizationLevel
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("customizationlevel");
			}
		}
		
		/// <summary>
		/// Wskazuje, w jaki sposób zawartość pola jest używana podczas przetwarzania komunikatu. 1 — encja podstawowa, 2 — encja pomocnicza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fieldmask")]
		public System.Nullable<int> FieldMask
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("fieldmask");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował pole żądania komunikatu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji pola żądania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował pole żądania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa pola żądania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy pole żądania komunikatu zestawu SDK jest opcjonalne.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("optional")]
		public System.Nullable<bool> Optional
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("optional");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("Optional", "optional", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji, z którą skojarzone jest pole żądania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Analizator składni pola żądania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parser")]
		public string Parser
		{
			get
			{
				return this.GetAttributeValue<string>("parser");
			}
			set
			{
				this.SetAttributeValue<string>("Parser", "parser", value);
			}
		}
		
		/// <summary>
		/// Pozycja pola żądania komunikatu zestawu SDK
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("position")]
		public System.Nullable<int> Position
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("position");
			}
		}
		
		/// <summary>
		/// Publiczna nazwa pola żądania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("publicname")]
		public string PublicName
		{
			get
			{
				return this.GetAttributeValue<string>("publicname");
			}
			set
			{
				this.SetAttributeValue<string>("PublicName", "publicname", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator encji pola żądania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagerequestfieldid")]
		public System.Nullable<System.Guid> SdkMessageRequestFieldId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("sdkmessagerequestfieldid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("SdkMessageRequestFieldId", "sdkmessagerequestfieldid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagerequestfieldid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.SdkMessageRequestFieldId = value;
			}
		}
		
		/// <summary>
		/// Identyfikator encji pola żądania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagerequestfieldidunique")]
		public System.Nullable<System.Guid> SdkMessageRequestFieldIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("sdkmessagerequestfieldidunique");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator żądania komunikatu, z którym skojarzone jest pole żądania komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagerequestid")]
		public Microsoft.Xrm.Client.CrmEntityReference SdkMessageRequestId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("sdkmessagerequestid");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_sdkmessagerequestfield
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_sdkmessagerequestfield")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_sdkmessagerequestfield
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_sdkmessagerequestfield", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_sdkmessagerequestfield", "userentityinstancedata_sdkmessagerequestfield", null, value);
			}
		}
		
		/// <summary>
		/// N:1 createdby_sdkmessagerequestfield
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_sdkmessagerequestfield")]
		public Xrm.SystemUser createdby_sdkmessagerequestfield
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("createdby_sdkmessagerequestfield", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_sdkmessagerequestfield_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessagerequestfield_createdonbehalfby")]
		public Xrm.SystemUser lk_sdkmessagerequestfield_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sdkmessagerequestfield_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_sdkmessagerequestfield_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessagerequestfield_modifiedonbehalfby")]
		public Xrm.SystemUser lk_sdkmessagerequestfield_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sdkmessagerequestfield_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 messagerequest_sdkmessagerequestfield
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagerequestid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("messagerequest_sdkmessagerequestfield")]
		public Xrm.SdkMessageRequest messagerequest_sdkmessagerequestfield
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SdkMessageRequest>("messagerequest_sdkmessagerequestfield", null);
			}
		}
		
		/// <summary>
		/// N:1 modifiedby_sdkmessagerequestfield
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_sdkmessagerequestfield")]
		public Xrm.SystemUser modifiedby_sdkmessagerequestfield
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("modifiedby_sdkmessagerequestfield", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_sdkmessagerequestfield
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_sdkmessagerequestfield")]
		public Xrm.Organization organization_sdkmessagerequestfield
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_sdkmessagerequestfield", null);
			}
		}
	}
	
	/// <summary>
	/// Tylko do użytku wewnętrznego.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("sdkmessageresponse")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SdkMessageResponseSet")]
	public partial class SdkMessageResponse : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public SdkMessageResponse() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "sdkmessageresponse";
		
		public const int EntityTypeCode = 4610;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył odpowiedź na komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia odpowiedzi na komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył odpowiedź na komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Poziom dostosowania odpowiedzi na komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationlevel")]
		public System.Nullable<int> CustomizationLevel
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("customizationlevel");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował odpowiedź na komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji odpowiedzi na komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował odpowiedź na komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji, z którą skojarzona jest odpowiedź na komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator żądania komunikatu, z którym skojarzona jest odpowiedź na komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagerequestid")]
		public Microsoft.Xrm.Client.CrmEntityReference SdkMessageRequestId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("sdkmessagerequestid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator encji odpowiedzi na komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageresponseid")]
		public System.Nullable<System.Guid> SdkMessageResponseId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("sdkmessageresponseid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("SdkMessageResponseId", "sdkmessageresponseid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageresponseid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.SdkMessageResponseId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator odpowiedzi na komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageresponseidunique")]
		public System.Nullable<System.Guid> SdkMessageResponseIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("sdkmessageresponseidunique");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N messageresponse_sdkmessageresponsefield
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("messageresponse_sdkmessageresponsefield")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageResponseField> messageresponse_sdkmessageresponsefield
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageResponseField>("messageresponse_sdkmessageresponsefield", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageResponseField>("messageresponse_sdkmessageresponsefield", "messageresponse_sdkmessageresponsefield", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_sdkmessageresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_sdkmessageresponse")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_sdkmessageresponse
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_sdkmessageresponse", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_sdkmessageresponse", "userentityinstancedata_sdkmessageresponse", null, value);
			}
		}
		
		/// <summary>
		/// N:1 createdby_sdkmessageresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_sdkmessageresponse")]
		public Xrm.SystemUser createdby_sdkmessageresponse
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("createdby_sdkmessageresponse", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_sdkmessageresponse_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessageresponse_createdonbehalfby")]
		public Xrm.SystemUser lk_sdkmessageresponse_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sdkmessageresponse_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_sdkmessageresponse_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessageresponse_modifiedonbehalfby")]
		public Xrm.SystemUser lk_sdkmessageresponse_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sdkmessageresponse_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 messagerequest_sdkmessageresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagerequestid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("messagerequest_sdkmessageresponse")]
		public Xrm.SdkMessageRequest messagerequest_sdkmessageresponse
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SdkMessageRequest>("messagerequest_sdkmessageresponse", null);
			}
		}
		
		/// <summary>
		/// N:1 modifiedby_sdkmessageresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_sdkmessageresponse")]
		public Xrm.SystemUser modifiedby_sdkmessageresponse
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("modifiedby_sdkmessageresponse", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_sdkmessageresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_sdkmessageresponse")]
		public Xrm.Organization organization_sdkmessageresponse
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_sdkmessageresponse", null);
			}
		}
	}
	
	/// <summary>
	/// Tylko do użytku wewnętrznego.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("sdkmessageresponsefield")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SdkMessageResponseFieldSet")]
	public partial class SdkMessageResponseField : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public SdkMessageResponseField() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "sdkmessageresponsefield";
		
		public const int EntityTypeCode = 4611;
		
		/// <summary>
		/// Program formatujący oparty na aparacie CLR dla pola odpowiedzi na komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("clrformatter")]
		public string ClrFormatter
		{
			get
			{
				return this.GetAttributeValue<string>("clrformatter");
			}
			set
			{
				this.SetAttributeValue<string>("ClrFormatter", "clrformatter", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył pole odpowiedzi na komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia pola odpowiedzi na komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył pole odpowiedzi na komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Poziom dostosowania pola odpowiedzi na komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationlevel")]
		public System.Nullable<int> CustomizationLevel
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("customizationlevel");
			}
		}
		
		/// <summary>
		/// Program formatujący dla pola odpowiedzi na komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("formatter")]
		public string Formatter
		{
			get
			{
				return this.GetAttributeValue<string>("formatter");
			}
			set
			{
				this.SetAttributeValue<string>("Formatter", "formatter", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował pole odpowiedzi na komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji pola odpowiedzi na komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował pole odpowiedzi na komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa pola odpowiedzi na komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji, z którą skojarzone jest pole odpowiedzi na komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Pozycja pola odpowiedzi komunikatu zestawu SDK
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("position")]
		public System.Nullable<int> Position
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("position");
			}
		}
		
		/// <summary>
		/// Publiczna nazwa pola odpowiedzi na komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("publicname")]
		public string PublicName
		{
			get
			{
				return this.GetAttributeValue<string>("publicname");
			}
			set
			{
				this.SetAttributeValue<string>("PublicName", "publicname", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator encji pola odpowiedzi na komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageresponsefieldid")]
		public System.Nullable<System.Guid> SdkMessageResponseFieldId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("sdkmessageresponsefieldid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("SdkMessageResponseFieldId", "sdkmessageresponsefieldid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageresponsefieldid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.SdkMessageResponseFieldId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator pola odpowiedzi na komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageresponsefieldidunique")]
		public System.Nullable<System.Guid> SdkMessageResponseFieldIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("sdkmessageresponsefieldidunique");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator odpowiedzi na komunikat, z którą skojarzone jest pole odpowiedzi na komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageresponseid")]
		public Microsoft.Xrm.Client.CrmEntityReference SdkMessageResponseId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("sdkmessageresponseid");
			}
		}
		
		/// <summary>
		/// Wartość rzeczywista pola odpowiedzi na komunikat zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("value")]
		public string Value
		{
			get
			{
				return this.GetAttributeValue<string>("value");
			}
			set
			{
				this.SetAttributeValue<string>("Value", "value", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_sdkmessageresponsefield
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_sdkmessageresponsefield")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_sdkmessageresponsefield
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_sdkmessageresponsefield", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_sdkmessageresponsefield", "userentityinstancedata_sdkmessageresponsefield", null, value);
			}
		}
		
		/// <summary>
		/// N:1 createdby_sdkmessageresponsefield
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_sdkmessageresponsefield")]
		public Xrm.SystemUser createdby_sdkmessageresponsefield
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("createdby_sdkmessageresponsefield", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_sdkmessageresponsefield_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessageresponsefield_createdonbehalfby")]
		public Xrm.SystemUser lk_sdkmessageresponsefield_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sdkmessageresponsefield_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_sdkmessageresponsefield_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessageresponsefield_modifiedonbehalfby")]
		public Xrm.SystemUser lk_sdkmessageresponsefield_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sdkmessageresponsefield_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 messageresponse_sdkmessageresponsefield
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageresponseid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("messageresponse_sdkmessageresponsefield")]
		public Xrm.SdkMessageResponse messageresponse_sdkmessageresponsefield
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SdkMessageResponse>("messageresponse_sdkmessageresponsefield", null);
			}
		}
		
		/// <summary>
		/// N:1 modifiedby_sdkmessageresponsefield
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_sdkmessageresponsefield")]
		public Xrm.SystemUser modifiedby_sdkmessageresponsefield
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("modifiedby_sdkmessageresponsefield", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_sdkmessageresponsefield
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_sdkmessageresponsefield")]
		public Xrm.Organization organization_sdkmessageresponsefield
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_sdkmessageresponsefield", null);
			}
		}
	}
	
	/// <summary>
	/// Kalendarz przedstawiający półroczny okres, w którym jest dokonywane rozliczenie finansowej działalności organizacji.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("semiannualfiscalcalendar")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SemiAnnualFiscalCalendarSet")]
	public partial class SemiAnnualFiscalCalendar : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public SemiAnnualFiscalCalendar() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "semiannualfiscalcalendar";
		
		public const int EntityTypeCode = 2001;
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, z którą jest skojarzony kalendarz.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		public Microsoft.Xrm.Client.CrmEntityReference BusinessUnitId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("businessunitid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył półroczny kalendarz obrachunkowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia normy dla półrocznego kalendarza obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył półroczny kalendarz obrachunkowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Data i godzina rozpoczęcia obowiązywania normy sprzedaży dla półrocznego kalendarza obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("effectiveon")]
		public System.Nullable<System.DateTime> EffectiveOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("effectiveon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("EffectiveOn", "effectiveon", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z półrocznym kalendarzem obrachunkowym w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dla pierwszej połowy roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("firsthalf")]
		public System.Nullable<decimal> FirstHalf
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("firsthalf");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("FirstHalf", "firsthalf", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej normy sprzedaży dla pierwszej połowy roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("firsthalf_base")]
		public System.Nullable<decimal> FirstHalf_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("firsthalf_base");
			}
		}
		
		/// <summary>
		/// Typ okresu obrachunkowego używanego w normie sprzedaży.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fiscalperiodtype")]
		public System.Nullable<int> FiscalPeriodType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("fiscalperiodtype");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował półroczny kalendarz obrachunkowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji półrocznego kalendarza obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował półroczny kalendarz obrachunkowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego sprzedawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salespersonid")]
		public Microsoft.Xrm.Client.CrmEntityReference SalesPersonId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("salespersonid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("SalesPersonId", "salespersonid", value);
			}
		}
		
		/// <summary>
		/// Norma sprzedaży dla drugiej połowy roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("secondhalf")]
		public System.Nullable<decimal> SecondHalf
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("secondhalf");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.Money>("SecondHalf", "secondhalf", value);
			}
		}
		
		/// <summary>
		/// Odpowiednik w walucie podstawowej normy sprzedaży dla drugiej połowy roku obrachunkowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("secondhalf_base")]
		public System.Nullable<decimal> SecondHalf_Base
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("secondhalf_base");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z półrocznym kalendarzem obrachunkowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył półroczny kalendarz obrachunkowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userfiscalcalendarid")]
		public System.Nullable<System.Guid> UserFiscalCalendarId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("userfiscalcalendarid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("UserFiscalCalendarId", "userfiscalcalendarid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userfiscalcalendarid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.UserFiscalCalendarId = value;
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// 1:N SemiAnnualFiscalCalendar_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SemiAnnualFiscalCalendar_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> SemiAnnualFiscalCalendar_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("SemiAnnualFiscalCalendar_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("SemiAnnualFiscalCalendar_AsyncOperations", "SemiAnnualFiscalCalendar_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SemiAnnualFiscalCalendar_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SemiAnnualFiscalCalendar_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> SemiAnnualFiscalCalendar_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("SemiAnnualFiscalCalendar_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("SemiAnnualFiscalCalendar_BulkDeleteFailures", "SemiAnnualFiscalCalendar_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_semiannualfiscalcalendar_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_semiannualfiscalcalendar_createdby")]
		public Xrm.SystemUser lk_semiannualfiscalcalendar_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_semiannualfiscalcalendar_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_semiannualfiscalcalendar_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_semiannualfiscalcalendar_createdonbehalfby")]
		public Xrm.SystemUser lk_semiannualfiscalcalendar_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_semiannualfiscalcalendar_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_semiannualfiscalcalendar_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_semiannualfiscalcalendar_modifiedby")]
		public Xrm.SystemUser lk_semiannualfiscalcalendar_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_semiannualfiscalcalendar_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_semiannualfiscalcalendar_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_semiannualfiscalcalendar_modifiedonbehalfby")]
		public Xrm.SystemUser lk_semiannualfiscalcalendar_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_semiannualfiscalcalendar_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_semiannualfiscalcalendar_salespersonid
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salespersonid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_semiannualfiscalcalendar_salespersonid")]
		public Xrm.SystemUser lk_semiannualfiscalcalendar_salespersonid
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_semiannualfiscalcalendar_salespersonid", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("lk_semiannualfiscalcalendar_salespersonid", "lk_semiannualfiscalcalendar_salespersonid", null, value);
			}
		}
		
		/// <summary>
		/// N:1 transactioncurrency_semiannualfiscalcalendar
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_semiannualfiscalcalendar")]
		public Xrm.TransactionCurrency transactioncurrency_semiannualfiscalcalendar
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_semiannualfiscalcalendar", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_semiannualfiscalcalendar", "transactioncurrency_semiannualfiscalcalendar", null, value);
			}
		}
	}
	
	/// <summary>
	/// Działanie reprezentujące pracę wykonaną w celu zaspokojenia potrzeby klienta.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("service")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData", "CalendarRules")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ServiceSet")]
	public partial class Service : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Service() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "service";
		
		public const int EntityTypeCode = 4001;
		
		/// <summary>
		/// Używane w połączeniu z częstością wskazuje, kiedy usługi mogą być wykonywane względem północy określonej daty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("anchoroffset")]
		public System.Nullable<int> AnchorOffset
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("anchoroffset");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("AnchorOffset", "anchoroffset", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kalendarza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("calendarid")]
		public System.Nullable<System.Guid> CalendarId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("calendarid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("CalendarId", "calendarid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył usługę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył usługę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis działania reprezentującego pracę wykonaną w celu zaspokojenia potrzeby klienta.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Czas trwania usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duration")]
		public System.Nullable<int> Duration
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("duration");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Duration", "duration", value);
			}
		}
		
		/// <summary>
		/// Określa częstość wykonania usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("granularity")]
		public string Granularity
		{
			get
			{
				return this.GetAttributeValue<string>("granularity");
			}
			set
			{
				this.SetAttributeValue<string>("Granularity", "granularity", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Początkowa przyczyna stanu dla wykonania usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("initialstatuscode")]
		public System.Nullable<int> InitialStatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("initialstatuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("InitialStatusCode", "initialstatuscode", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy usługę można zaplanować.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isschedulable")]
		public System.Nullable<bool> IsSchedulable
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isschedulable");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsSchedulable", "isschedulable", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy usługa jest widoczna dla użytkowników.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isvisible")]
		public System.Nullable<bool> IsVisible
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isvisible");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsVisible", "isvisible", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował usługę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował usługę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji, z którą jest skojarzona usługa.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator specyfikacji zasobów, z którą jest skojarzona usługa.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("resourcespecid")]
		public Microsoft.Xrm.Client.CrmEntityReference ResourceSpecId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("resourcespecid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ResourceSpecId", "resourcespecid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonej usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		public System.Nullable<System.Guid> ServiceId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("serviceid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ServiceId", "serviceid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ServiceId = value;
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("showresources")]
		public System.Nullable<bool> ShowResources
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("showresources");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("ShowResources", "showresources", value);
			}
		}
		
		/// <summary>
		/// Wartość atrybutu PluginTypeId z rekordu typu dodatku plug-in dla strategii planowania. Jest to identyfikator dodatku plug-in strategii planowania skojarzonego z określoną usługą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("strategyid")]
		public Microsoft.Xrm.Client.CrmEntityReference StrategyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("strategyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("StrategyId", "strategyid", value);
			}
		}
		
		/// <summary>
		/// Numer wersji usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N service_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_accounts")]
		public System.Collections.Generic.IEnumerable<Xrm.Account> service_accounts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Account>("service_accounts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Account>("service_accounts", "service_accounts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N service_activity_pointers
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_activity_pointers")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityPointer> service_activity_pointers
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityPointer>("service_activity_pointers", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityPointer>("service_activity_pointers", "service_activity_pointers", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Service_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Service_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> Service_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("Service_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("Service_Annotation", "Service_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N service_appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_appointments")]
		public System.Collections.Generic.IEnumerable<Xrm.Appointment> service_appointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Appointment>("service_appointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Appointment>("service_appointments", "service_appointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Service_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Service_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Service_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Service_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Service_AsyncOperations", "Service_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Service_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Service_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Service_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Service_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Service_BulkDeleteFailures", "Service_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N service_calendar_rules
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("calendarrules")]
		public System.Collections.Generic.IEnumerable<Xrm.CalendarRule> CalendarRules
		{
			get
			{
				return this.GetAttributeCollectionValue<Xrm.CalendarRule>("calendarrules");
			}
			set
			{
				this.SetAttributeCollectionValue<Xrm.CalendarRule>("CalendarRules", "calendarrules", value);
			}
		}
		
		/// <summary>
		/// 1:N service_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_contacts")]
		public System.Collections.Generic.IEnumerable<Xrm.Contact> service_contacts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contact>("service_contacts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contact>("service_contacts", "service_contacts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Service_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Service_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Service_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Service_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Service_DuplicateBaseRecord", "Service_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Service_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Service_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Service_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Service_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Service_DuplicateMatchingRecord", "Service_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N service_emails
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_emails")]
		public System.Collections.Generic.IEnumerable<Xrm.Email> service_emails
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Email>("service_emails", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Email>("service_emails", "service_emails", null, value);
			}
		}
		
		/// <summary>
		/// 1:N service_faxes
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_faxes")]
		public System.Collections.Generic.IEnumerable<Xrm.Fax> service_faxes
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Fax>("service_faxes", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Fax>("service_faxes", "service_faxes", null, value);
			}
		}
		
		/// <summary>
		/// 1:N service_incidentresolutions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_incidentresolutions")]
		public System.Collections.Generic.IEnumerable<Xrm.IncidentResolution> service_incidentresolutions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.IncidentResolution>("service_incidentresolutions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.IncidentResolution>("service_incidentresolutions", "service_incidentresolutions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N service_letters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_letters")]
		public System.Collections.Generic.IEnumerable<Xrm.Letter> service_letters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Letter>("service_letters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Letter>("service_letters", "service_letters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N service_opportunityclose
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_opportunityclose")]
		public System.Collections.Generic.IEnumerable<Xrm.OpportunityClose> service_opportunityclose
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OpportunityClose>("service_opportunityclose", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OpportunityClose>("service_opportunityclose", "service_opportunityclose", null, value);
			}
		}
		
		/// <summary>
		/// 1:N service_orderclose
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_orderclose")]
		public System.Collections.Generic.IEnumerable<Xrm.OrderClose> service_orderclose
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OrderClose>("service_orderclose", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OrderClose>("service_orderclose", "service_orderclose", null, value);
			}
		}
		
		/// <summary>
		/// 1:N service_phonecalls
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_phonecalls")]
		public System.Collections.Generic.IEnumerable<Xrm.PhoneCall> service_phonecalls
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PhoneCall>("service_phonecalls", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PhoneCall>("service_phonecalls", "service_phonecalls", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Service_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Service_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Service_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Service_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Service_ProcessSessions", "Service_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N service_quoteclose
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_quoteclose")]
		public System.Collections.Generic.IEnumerable<Xrm.QuoteClose> service_quoteclose
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QuoteClose>("service_quoteclose", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QuoteClose>("service_quoteclose", "service_quoteclose", null, value);
			}
		}
		
		/// <summary>
		/// 1:N service_recurringappointmentmasters
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_recurringappointmentmasters")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurringAppointmentMaster> service_recurringappointmentmasters
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurringAppointmentMaster>("service_recurringappointmentmasters", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurringAppointmentMaster>("service_recurringappointmentmasters", "service_recurringappointmentmasters", null, value);
			}
		}
		
		/// <summary>
		/// 1:N service_service_appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_service_appointments")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceAppointment> service_service_appointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceAppointment>("service_service_appointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceAppointment>("service_service_appointments", "service_service_appointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N service_tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_tasks")]
		public System.Collections.Generic.IEnumerable<Xrm.Task> service_tasks
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Task>("service_tasks", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Task>("service_tasks", "service_tasks", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_service
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_service")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_service
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_service", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_service", "userentityinstancedata_service", null, value);
			}
		}
		
		/// <summary>
		/// N:1 calendar_services
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("calendarid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("calendar_services")]
		public Xrm.Calendar calendar_services
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Calendar>("calendar_services", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Calendar>("calendar_services", "calendar_services", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_service_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_service_createdby")]
		public Xrm.SystemUser lk_service_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_service_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_service_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_service_createdonbehalfby")]
		public Xrm.SystemUser lk_service_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_service_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_service_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_service_modifiedby")]
		public Xrm.SystemUser lk_service_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_service_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_service_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_service_modifiedonbehalfby")]
		public Xrm.SystemUser lk_service_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_service_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_services
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_services")]
		public Xrm.Organization organization_services
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_services", null);
			}
		}
		
		/// <summary>
		/// N:1 plugin_type_service
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("strategyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("plugin_type_service")]
		public Xrm.PluginType plugin_type_service
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PluginType>("plugin_type_service", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PluginType>("plugin_type_service", "plugin_type_service", null, value);
			}
		}
		
		/// <summary>
		/// N:1 resource_spec_services
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("resourcespecid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("resource_spec_services")]
		public Xrm.ResourceSpec resource_spec_services
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ResourceSpec>("resource_spec_services", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ResourceSpec>("resource_spec_services", "resource_spec_services", null, value);
			}
		}
	}
	
	/// <summary>
	/// Działanie oferowane przez organizację w celu zaspokojenia potrzeb klienta. Każde wykonanie usługi obejmuje datę, godzinę, czas trwania oraz wymagane zasoby.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("serviceappointment")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ServiceAppointmentSet")]
	public partial class ServiceAppointment : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ServiceAppointment() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "serviceappointment";
		
		public const int EntityTypeCode = 4214;
		
		/// <summary>
		/// Unikatowy identyfikator wykonania usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public System.Nullable<System.Guid> ActivityId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("activityid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ActivityId", "activityid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ActivityId = value;
			}
		}
		
		/// <summary>
		/// Typ działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activitytypecode")]
		public string ActivityTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("activitytypecode");
			}
		}
		
		/// <summary>
		/// Rzeczywisty czas trwania wykonania usługi w minutach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualdurationminutes")]
		public System.Nullable<int> ActualDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("actualdurationminutes");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ActualDurationMinutes", "actualdurationminutes", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista godzina zakończenia wykonania usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualend")]
		public System.Nullable<System.DateTime> ActualEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualEnd", "actualend", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista godzina rozpoczęcia wykonania usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualstart")]
		public System.Nullable<System.DateTime> ActualStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualStart", "actualstart", value);
			}
		}
		
		/// <summary>
		/// Kategoria wykonania usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("category")]
		public string Category
		{
			get
			{
				return this.GetAttributeValue<string>("category");
			}
			set
			{
				this.SetAttributeValue<string>("Category", "category", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył wykonanie usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia wykonania usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył termin związany z usługą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Klienci, dla których jest przeznaczone wykonanie usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customers")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> Customers
		{
			get
			{
				return this.GetAttributeCollectionValue<Xrm.ActivityParty>("customers");
			}
			set
			{
				this.SetAttributeCollectionValue<Xrm.ActivityParty>("Customers", "customers", value);
			}
		}
		
		/// <summary>
		/// Opis wykonania usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z terminem związanym z usługą w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy wykonanie usługi jest wydarzeniem całodziennym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isalldayevent")]
		public System.Nullable<bool> IsAllDayEvent
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isalldayevent");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsAllDayEvent", "isalldayevent", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy wykonanie usługi zostało zafakturowane jako element obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isbilled")]
		public System.Nullable<bool> IsBilled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isbilled");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsBilled", "isbilled", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy działanie ma charakter regularny, czy też jest zdarzeniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isregularactivity")]
		public System.Nullable<bool> IsRegularActivity
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isregularactivity");
			}
		}
		
		/// <summary>
		/// Informacja, czy wykonanie usługi zostało utworzone przy użyciu reguły przepływu pracy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isworkflowcreated")]
		public System.Nullable<bool> IsWorkflowCreated
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isworkflowcreated");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsWorkflowCreated", "isworkflowcreated", value);
			}
		}
		
		/// <summary>
		/// Lokalizacja wykonania usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("location")]
		public string Location
		{
			get
			{
				return this.GetAttributeValue<string>("location");
			}
			set
			{
				this.SetAttributeValue<string>("Location", "location", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni modyfikował wykonanie usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji wykonania usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował termin związany z usługą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem wykonania usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem wykonania usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, który jest właścicielem wykonania usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem wykonania usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Priorytet wykonania usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("prioritycode")]
		public System.Nullable<int> PriorityCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("prioritycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PriorityCode", "prioritycode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obiektu, z którym jest skojarzone wykonanie usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		public Microsoft.Xrm.Client.CrmEntityReference RegardingObjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("regardingobjectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RegardingObjectId", "regardingobjectid", value);
			}
		}
		
		/// <summary>
		/// Użytkownicy lub pomieszczenie/sprzęt wymagane do wykonania usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("resources")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> Resources
		{
			get
			{
				return this.GetAttributeCollectionValue<Xrm.ActivityParty>("resources");
			}
			set
			{
				this.SetAttributeCollectionValue<Xrm.ActivityParty>("Resources", "resources", value);
			}
		}
		
		/// <summary>
		/// Zaplanowany czas wykonywania usługi określony w minutach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduleddurationminutes")]
		public System.Nullable<int> ScheduledDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("scheduleddurationminutes");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ScheduledDurationMinutes", "scheduleddurationminutes", value);
			}
		}
		
		/// <summary>
		/// Zaplanowana godzina zakończenia wykonania usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledend")]
		public System.Nullable<System.DateTime> ScheduledEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ScheduledEnd", "scheduledend", value);
			}
		}
		
		/// <summary>
		/// Zaplanowana godzina rozpoczęcia wykonania usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledstart")]
		public System.Nullable<System.DateTime> ScheduledStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ScheduledStart", "scheduledstart", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonej usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		public Microsoft.Xrm.Client.CrmEntityReference ServiceId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("serviceid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ServiceId", "serviceid", value);
			}
		}
		
		/// <summary>
		/// Lokalizacja wykonania usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("siteid")]
		public Microsoft.Xrm.Client.CrmEntityReference SiteId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("siteid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("SiteId", "siteid", value);
			}
		}
		
		/// <summary>
		/// Stan wykonania usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu wykonania usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Podkategoria wykonania usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subcategory")]
		public string Subcategory
		{
			get
			{
				return this.GetAttributeValue<string>("subcategory");
			}
			set
			{
				this.SetAttributeValue<string>("Subcategory", "subcategory", value);
			}
		}
		
		/// <summary>
		/// Temat skojarzony z wykonaniem usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subject")]
		public string Subject
		{
			get
			{
				return this.GetAttributeValue<string>("subject");
			}
			set
			{
				this.SetAttributeValue<string>("Subject", "subject", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subscriptionid")]
		public System.Nullable<System.Guid> SubscriptionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("subscriptionid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("SubscriptionId", "subscriptionid", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z terminem związanym z usługą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji wykonania usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N serviceappointment_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("serviceappointment_activity_parties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> serviceappointment_activity_parties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("serviceappointment_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("serviceappointment_activity_parties", "serviceappointment_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ServiceAppointment_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ServiceAppointment_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> ServiceAppointment_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("ServiceAppointment_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("ServiceAppointment_Annotation", "ServiceAppointment_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ServiceAppointment_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ServiceAppointment_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> ServiceAppointment_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("ServiceAppointment_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("ServiceAppointment_AsyncOperations", "ServiceAppointment_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ServiceAppointment_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ServiceAppointment_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> ServiceAppointment_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("ServiceAppointment_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("ServiceAppointment_BulkDeleteFailures", "ServiceAppointment_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N serviceappointment_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("serviceappointment_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> serviceappointment_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("serviceappointment_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("serviceappointment_connections1", "serviceappointment_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N serviceappointment_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("serviceappointment_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> serviceappointment_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("serviceappointment_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("serviceappointment_connections2", "serviceappointment_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N serviceappointment_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("serviceappointment_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> serviceappointment_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("serviceappointment_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("serviceappointment_principalobjectattributeaccess", "serviceappointment_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ServiceAppointment_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ServiceAppointment_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> ServiceAppointment_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("ServiceAppointment_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("ServiceAppointment_ProcessSessions", "ServiceAppointment_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ServiceAppointment_QueueItem
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ServiceAppointment_QueueItem")]
		public System.Collections.Generic.IEnumerable<Xrm.QueueItem> ServiceAppointment_QueueItem
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QueueItem>("ServiceAppointment_QueueItem", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QueueItem>("ServiceAppointment_QueueItem", "ServiceAppointment_QueueItem", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_serviceappointment
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_serviceappointment")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_serviceappointment
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_serviceappointment", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_serviceappointment", "userentityinstancedata_serviceappointment", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Account_ServiceAppointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_ServiceAppointments")]
		public Xrm.Account Account_ServiceAppointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("Account_ServiceAppointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("Account_ServiceAppointments", "Account_ServiceAppointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 activity_pointer_service_appointment
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_service_appointment")]
		public Xrm.ActivityPointer activity_pointer_service_appointment
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_service_appointment", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_service_appointment", "activity_pointer_service_appointment", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_service_appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_service_appointments")]
		public Xrm.BusinessUnit business_unit_service_appointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_service_appointments", null);
			}
		}
		
		/// <summary>
		/// N:1 Campaign_ServiceAppointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_ServiceAppointments")]
		public Xrm.Campaign Campaign_ServiceAppointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Campaign>("Campaign_ServiceAppointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Campaign>("Campaign_ServiceAppointments", "Campaign_ServiceAppointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Contact_ServiceAppointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_ServiceAppointments")]
		public Xrm.Contact Contact_ServiceAppointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("Contact_ServiceAppointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("Contact_ServiceAppointments", "Contact_ServiceAppointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Contract_ServiceAppointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_ServiceAppointments")]
		public Xrm.Contract Contract_ServiceAppointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contract>("Contract_ServiceAppointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contract>("Contract_ServiceAppointments", "Contract_ServiceAppointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Incident_ServiceAppointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_ServiceAppointments")]
		public Xrm.Incident Incident_ServiceAppointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Incident>("Incident_ServiceAppointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Incident>("Incident_ServiceAppointments", "Incident_ServiceAppointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Invoice_ServiceAppointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Invoice_ServiceAppointments")]
		public Xrm.Invoice Invoice_ServiceAppointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Invoice>("Invoice_ServiceAppointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Invoice>("Invoice_ServiceAppointments", "Invoice_ServiceAppointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Lead_ServiceAppointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_ServiceAppointments")]
		public Xrm.Lead Lead_ServiceAppointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Lead>("Lead_ServiceAppointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Lead>("Lead_ServiceAppointments", "Lead_ServiceAppointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_serviceappointment_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_serviceappointment_createdby")]
		public Xrm.SystemUser lk_serviceappointment_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_serviceappointment_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_serviceappointment_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_serviceappointment_createdonbehalfby")]
		public Xrm.SystemUser lk_serviceappointment_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_serviceappointment_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_serviceappointment_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_serviceappointment_modifiedby")]
		public Xrm.SystemUser lk_serviceappointment_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_serviceappointment_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_serviceappointment_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_serviceappointment_modifiedonbehalfby")]
		public Xrm.SystemUser lk_serviceappointment_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_serviceappointment_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postalbum_ServiceAppointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_ServiceAppointments")]
		public Xrm.msdyn_PostAlbum msdyn_postalbum_ServiceAppointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_ServiceAppointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_ServiceAppointments", "msdyn_postalbum_ServiceAppointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownicy_ServiceAppointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_ServiceAppointments")]
		public Xrm.new_uzytkownicy new_uzytkownicy_ServiceAppointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_ServiceAppointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_ServiceAppointments", "new_uzytkownicy_ServiceAppointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownikkontakty_ServiceAppointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_ServiceAppointments")]
		public Xrm.new_uzytkownikkontakty new_uzytkownikkontakty_ServiceAppointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_ServiceAppointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_ServiceAppointments", "new_uzytkownikkontakty_ServiceAppointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_zainteresowanie_ServiceAppointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_ServiceAppointments")]
		public Xrm.new_zainteresowanie new_zainteresowanie_ServiceAppointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_ServiceAppointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_ServiceAppointments", "new_zainteresowanie_ServiceAppointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Opportunity_ServiceAppointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_ServiceAppointments")]
		public Xrm.Opportunity Opportunity_ServiceAppointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Opportunity>("Opportunity_ServiceAppointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Opportunity>("Opportunity_ServiceAppointments", "Opportunity_ServiceAppointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Quote_ServiceAppointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_ServiceAppointments")]
		public Xrm.Quote Quote_ServiceAppointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Quote>("Quote_ServiceAppointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Quote>("Quote_ServiceAppointments", "Quote_ServiceAppointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SalesOrder_ServiceAppointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrder_ServiceAppointments")]
		public Xrm.SalesOrder SalesOrder_ServiceAppointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesOrder>("SalesOrder_ServiceAppointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesOrder>("SalesOrder_ServiceAppointments", "SalesOrder_ServiceAppointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 service_service_appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_service_appointments")]
		public Xrm.Service service_service_appointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Service>("service_service_appointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Service>("service_service_appointments", "service_service_appointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 site_service_appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("siteid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("site_service_appointments")]
		public Xrm.Site site_service_appointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Site>("site_service_appointments", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Site>("site_service_appointments", "site_service_appointments", null, value);
			}
		}
		
		/// <summary>
		/// N:1 system_user_service_appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_service_appointments")]
		public Xrm.SystemUser system_user_service_appointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("system_user_service_appointments", null);
			}
		}
		
		/// <summary>
		/// N:1 team_service_appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_service_appointments")]
		public Xrm.Team team_service_appointments
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_service_appointments", null);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_ServiceAppointment
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_ServiceAppointment")]
		public Xrm.TransactionCurrency TransactionCurrency_ServiceAppointment
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_ServiceAppointment", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_ServiceAppointment", "TransactionCurrency_ServiceAppointment", null, value);
			}
		}
	}
	
	/// <summary>
	/// 
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("servicecontractcontacts")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ServiceContractContactsSet")]
	public partial class ServiceContractContacts : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ServiceContractContacts() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "servicecontractcontacts";
		
		public const int EntityTypeCode = 20;
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contactid")]
		public System.Nullable<System.Guid> ContactId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("contactid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contractid")]
		public System.Nullable<System.Guid> ContractId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("contractid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kontaktu dla kontraktu usługowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("servicecontractcontactid")]
		public System.Nullable<System.Guid> ServiceContractContactId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("servicecontractcontactid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ServiceContractContactId", "servicecontractcontactid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("servicecontractcontactid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ServiceContractContactId = value;
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("servicelevel")]
		public System.Nullable<int> ServiceLevel
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("servicelevel");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ServiceLevel", "servicelevel", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// N:N servicecontractcontacts_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("servicecontractcontacts_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Contact> servicecontractcontacts_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contact>("servicecontractcontacts_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contact>("servicecontractcontacts_association", "servicecontractcontacts_association", null, value);
			}
		}
	}
	
	/// <summary>
	/// Punkt końcowy usługi, z którym można się skontaktować.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("serviceendpoint")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("ServiceEndpointSet")]
	public partial class ServiceEndpoint : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public ServiceEndpoint() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "serviceendpoint";
		
		public const int EntityTypeCode = 4618;
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// Tryb połączenia używany do kontaktu z punktem końcowym usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("connectionmode")]
		public System.Nullable<int> ConnectionMode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("connectionmode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ConnectionMode", "connectionmode", value);
			}
		}
		
		/// <summary>
		/// Typ kontraktu związanego z punktem końcowym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contract")]
		public System.Nullable<int> Contract
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("contract");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Contract", "contract", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył punkt końcowy usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia punktu końcowego usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył punkt końcowy usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis punktu końcowego usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy można dostosować ten składnik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomizable")]
		public Microsoft.Xrm.Sdk.BooleanManagedProperty IsCustomizable
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("iscustomizable");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("IsCustomizable", "iscustomizable", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy ten składnik jest zarządzany.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował punkt końcowy usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji punktu końcowego usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który zmodyfikował punkt końcowy usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa punktu końcowego usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji, z którą jest skojarzony punkt końcowy usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// Ścieżka do punktu końcowego usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("path")]
		public string Path
		{
			get
			{
				return this.GetAttributeValue<string>("path");
			}
			set
			{
				this.SetAttributeValue<string>("Path", "path", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator punktu końcowego usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceendpointid")]
		public System.Nullable<System.Guid> ServiceEndpointId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("serviceendpointid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ServiceEndpointId", "serviceendpointid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceendpointid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ServiceEndpointId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator punktu końcowego usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceendpointidunique")]
		public System.Nullable<System.Guid> ServiceEndpointIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("serviceendpointidunique");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// Obszar nazw rozwiązania App Fabric.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionnamespace")]
		public string SolutionNamespace
		{
			get
			{
				return this.GetAttributeValue<string>("solutionnamespace");
			}
			set
			{
				this.SetAttributeValue<string>("SolutionNamespace", "solutionnamespace", value);
			}
		}
		
		/// <summary>
		/// Dodatkowy typ wartości oświadczenia użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userclaim")]
		public System.Nullable<int> UserClaim
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("userclaim");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("UserClaim", "userclaim", value);
			}
		}
		
		/// <summary>
		/// 1:N serviceendpoint_sdkmessageprocessingstep
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("serviceendpoint_sdkmessageprocessingstep")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageProcessingStep> serviceendpoint_sdkmessageprocessingstep
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageProcessingStep>("serviceendpoint_sdkmessageprocessingstep", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageProcessingStep>("serviceendpoint_sdkmessageprocessingstep", "serviceendpoint_sdkmessageprocessingstep", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_serviceendpoint
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_serviceendpoint")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_serviceendpoint
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_serviceendpoint", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_serviceendpoint", "userentityinstancedata_serviceendpoint", null, value);
			}
		}
		
		/// <summary>
		/// N:1 createdby_serviceendpoint
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_serviceendpoint")]
		public Xrm.SystemUser createdby_serviceendpoint
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("createdby_serviceendpoint", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_serviceendpointbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_serviceendpointbase_createdonbehalfby")]
		public Xrm.SystemUser lk_serviceendpointbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_serviceendpointbase_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_serviceendpointbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_serviceendpointbase_modifiedonbehalfby")]
		public Xrm.SystemUser lk_serviceendpointbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_serviceendpointbase_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 modifiedby_serviceendpoint
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_serviceendpoint")]
		public Xrm.SystemUser modifiedby_serviceendpoint
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("modifiedby_serviceendpoint", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_serviceendpoint
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_serviceendpoint")]
		public Xrm.Organization organization_serviceendpoint
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_serviceendpoint", null);
			}
		}
	}
	
	/// <summary>
	/// Foldery lub biblioteki dokumentów na serwerze programu SharePoint, z których można zarządzać dokumentami w programie Microsoft Dynamics CRM.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("sharepointdocumentlocation")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SharePointDocumentLocationSet")]
	public partial class SharePointDocumentLocation : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public SharePointDocumentLocation() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "sharepointdocumentlocation";
		
		public const int EntityTypeCode = 9508;
		
		/// <summary>
		/// Bezwzględny adres URL lokalizacji dokumentu programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("absoluteurl")]
		public string AbsoluteURL
		{
			get
			{
				return this.GetAttributeValue<string>("absoluteurl");
			}
			set
			{
				this.SetAttributeValue<string>("AbsoluteURL", "absoluteurl", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył rekord lokalizacji dokumentu programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia rekordu lokalizacji dokumentu programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył rekord lokalizacji dokumentu programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis rekordu lokalizacji dokumentu programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany między walutą skojarzoną z rekordem lokalizacji dokumentu programu SharePoint a walutą podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Numer sekwencji operacji importu, w wyniku której został utworzony rekord lokalizacji dokumentu programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował rekord lokalizacji dokumentu programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji rekordu lokalizacji dokumentu programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który zmodyfikował rekord lokalizacji dokumentu programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa rekordu lokalizacji  dokumentu programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, który jest właścicielem rekordu lokalizacji dokumentu programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem rekordu lokalizacji dokumentu programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, który jest właścicielem rekordu lokalizacji dokumentu programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem rekordu lokalizacji dokumentu programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator nadrzędnej witryny lub lokalizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentsiteorlocation")]
		public Microsoft.Xrm.Client.CrmEntityReference ParentSiteOrLocation
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("parentsiteorlocation");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ParentSiteOrLocation", "parentsiteorlocation", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obiektu, z którym jest skojarzony rekord lokalizacji dokumentu programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		public Microsoft.Xrm.Client.CrmEntityReference RegardingObjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("regardingobjectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RegardingObjectId", "regardingobjectid", value);
			}
		}
		
		/// <summary>
		/// Względny adres URL lokalizacji dokumentu programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("relativeurl")]
		public string RelativeUrl
		{
			get
			{
				return this.GetAttributeValue<string>("relativeurl");
			}
			set
			{
				this.SetAttributeValue<string>("RelativeUrl", "relativeurl", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator rekordu lokalizacji dokumentu programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sharepointdocumentlocationid")]
		public System.Nullable<System.Guid> SharePointDocumentLocationId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("sharepointdocumentlocationid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("SharePointDocumentLocationId", "sharepointdocumentlocationid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sharepointdocumentlocationid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.SharePointDocumentLocationId = value;
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sitecollectionid")]
		public System.Nullable<System.Guid> SiteCollectionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("sitecollectionid");
			}
		}
		
		/// <summary>
		/// Stan rekordu lokalizacji dokumentu programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu rekordu lokalizacji dokumentu programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z rekordem lokalizacji dokumentu programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N SharePointDocumentLocation_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SharePointDocumentLocation_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> SharePointDocumentLocation_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("SharePointDocumentLocation_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("SharePointDocumentLocation_AsyncOperations", "SharePointDocumentLocation_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SharePointDocumentLocation_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SharePointDocumentLocation_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> SharePointDocumentLocation_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("SharePointDocumentLocation_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("SharePointDocumentLocation_DuplicateBaseRecord", "SharePointDocumentLocation_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SharePointDocumentLocation_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SharePointDocumentLocation_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> SharePointDocumentLocation_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("SharePointDocumentLocation_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("SharePointDocumentLocation_DuplicateMatchingRecord", "SharePointDocumentLocation_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N sharepointdocumentlocation_parent_sharepointdocumentlocation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sharepointdocumentlocation_parent_sharepointdocumentlocation", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.SharePointDocumentLocation> Referencedsharepointdocumentlocation_parent_sharepointdocumentlocation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SharePointDocumentLocation>("sharepointdocumentlocation_parent_sharepointdocumentlocation", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SharePointDocumentLocation>("Referencedsharepointdocumentlocation_parent_sharepointdocumentlocation", "sharepointdocumentlocation_parent_sharepointdocumentlocation", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// 1:N sharepointdocumentlocation_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sharepointdocumentlocation_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> sharepointdocumentlocation_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("sharepointdocumentlocation_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("sharepointdocumentlocation_principalobjectattributeaccess", "sharepointdocumentlocation_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SharePointDocumentLocation_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SharePointDocumentLocation_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> SharePointDocumentLocation_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("SharePointDocumentLocation_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("SharePointDocumentLocation_ProcessSessions", "SharePointDocumentLocation_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_sharepointdocumentlocation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_sharepointdocumentlocation")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_sharepointdocumentlocation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_sharepointdocumentlocation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_sharepointdocumentlocation", "userentityinstancedata_sharepointdocumentlocation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Account_SharepointDocumentLocation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_SharepointDocumentLocation")]
		public Xrm.Account Account_SharepointDocumentLocation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("Account_SharepointDocumentLocation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("Account_SharepointDocumentLocation", "Account_SharepointDocumentLocation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_sharepointdocumentlocation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_sharepointdocumentlocation")]
		public Xrm.BusinessUnit business_unit_sharepointdocumentlocation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_sharepointdocumentlocation", null);
			}
		}
		
		/// <summary>
		/// N:1 KbArticle_SharepointDocumentLocation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("KbArticle_SharepointDocumentLocation")]
		public Xrm.KbArticle KbArticle_SharepointDocumentLocation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.KbArticle>("KbArticle_SharepointDocumentLocation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.KbArticle>("KbArticle_SharepointDocumentLocation", "KbArticle_SharepointDocumentLocation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Lead_SharepointDocumentLocation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_SharepointDocumentLocation")]
		public Xrm.Lead Lead_SharepointDocumentLocation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Lead>("Lead_SharepointDocumentLocation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Lead>("Lead_SharepointDocumentLocation", "Lead_SharepointDocumentLocation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_sharepointdocumentlocationbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sharepointdocumentlocationbase_createdby")]
		public Xrm.SystemUser lk_sharepointdocumentlocationbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sharepointdocumentlocationbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_sharepointdocumentlocationbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sharepointdocumentlocationbase_createdonbehalfby")]
		public Xrm.SystemUser lk_sharepointdocumentlocationbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sharepointdocumentlocationbase_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_sharepointdocumentlocationbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sharepointdocumentlocationbase_modifiedby")]
		public Xrm.SystemUser lk_sharepointdocumentlocationbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sharepointdocumentlocationbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_sharepointdocumentlocationbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sharepointdocumentlocationbase_modifiedonbehalfby")]
		public Xrm.SystemUser lk_sharepointdocumentlocationbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sharepointdocumentlocationbase_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 Opportunity_SharepointDocumentLocation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_SharepointDocumentLocation")]
		public Xrm.Opportunity Opportunity_SharepointDocumentLocation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Opportunity>("Opportunity_SharepointDocumentLocation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Opportunity>("Opportunity_SharepointDocumentLocation", "Opportunity_SharepointDocumentLocation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Product_SharepointDocumentLocation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Product_SharepointDocumentLocation")]
		public Xrm.Product Product_SharepointDocumentLocation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Product>("Product_SharepointDocumentLocation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Product>("Product_SharepointDocumentLocation", "Product_SharepointDocumentLocation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Quote_SharepointDocumentLocation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_SharepointDocumentLocation")]
		public Xrm.Quote Quote_SharepointDocumentLocation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Quote>("Quote_SharepointDocumentLocation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Quote>("Quote_SharepointDocumentLocation", "Quote_SharepointDocumentLocation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SalesLiterature_SharepointDocumentLocation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesLiterature_SharepointDocumentLocation")]
		public Xrm.SalesLiterature SalesLiterature_SharepointDocumentLocation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesLiterature>("SalesLiterature_SharepointDocumentLocation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesLiterature>("SalesLiterature_SharepointDocumentLocation", "SalesLiterature_SharepointDocumentLocation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 sharepointdocumentlocation_parent_sharepointdocumentlocation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentsiteorlocation")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sharepointdocumentlocation_parent_sharepointdocumentlocation", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.SharePointDocumentLocation Referencingsharepointdocumentlocation_parent_sharepointdocumentlocation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SharePointDocumentLocation>("sharepointdocumentlocation_parent_sharepointdocumentlocation", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SharePointDocumentLocation>("Referencingsharepointdocumentlocation_parent_sharepointdocumentlocation", "sharepointdocumentlocation_parent_sharepointdocumentlocation", Microsoft.Xrm.Sdk.EntityRole.Referencing, value);
			}
		}
		
		/// <summary>
		/// N:1 sharepointdocumentlocation_parent_sharepointsite
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentsiteorlocation")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sharepointdocumentlocation_parent_sharepointsite")]
		public Xrm.SharePointSite sharepointdocumentlocation_parent_sharepointsite
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SharePointSite>("sharepointdocumentlocation_parent_sharepointsite", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SharePointSite>("sharepointdocumentlocation_parent_sharepointsite", "sharepointdocumentlocation_parent_sharepointsite", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_sharepointdocumentlocation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_sharepointdocumentlocation")]
		public Xrm.Team team_sharepointdocumentlocation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_sharepointdocumentlocation", null);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_SharePointDocumentLocation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_SharePointDocumentLocation")]
		public Xrm.TransactionCurrency TransactionCurrency_SharePointDocumentLocation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_SharePointDocumentLocation", null);
			}
		}
		
		/// <summary>
		/// N:1 user_sharepointdocumentlocation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_sharepointdocumentlocation")]
		public Xrm.SystemUser user_sharepointdocumentlocation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_sharepointdocumentlocation", null);
			}
		}
	}
	
	/// <summary>
	/// Witryna programu SharePoint, z której można zarządzać dokumentami w programie Microsoft Dynamics CRM.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("sharepointsite")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SharePointSiteSet")]
	public partial class SharePointSite : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public SharePointSite() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "sharepointsite";
		
		public const int EntityTypeCode = 9502;
		
		/// <summary>
		/// Bezwzględny adres URL witryny programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("absoluteurl")]
		public string AbsoluteURL
		{
			get
			{
				return this.GetAttributeValue<string>("absoluteurl");
			}
			set
			{
				this.SetAttributeValue<string>("AbsoluteURL", "absoluteurl", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył rekord witryny programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia rekordu witryny programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył rekord witryny programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis rekordu witryny programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany między walutą skojarzoną z rekordem witryny programu SharePoint a walutą podstawową.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Encja, w ramach której zostanie utworzona struktura folderów dla rekordów programu Microsoft Dynamics CRM w programie SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("folderstructureentity")]
		public string FolderStructureEntity
		{
			get
			{
				return this.GetAttributeValue<string>("folderstructureentity");
			}
			set
			{
				this.SetAttributeValue<string>("FolderStructureEntity", "folderstructureentity", value);
			}
		}
		
		/// <summary>
		/// Numer sekwencji operacji importu, w wyniku której ten rekord został utworzony.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy witryna programu SharePoint jest witryną domyślną.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isdefault")]
		public System.Nullable<bool> IsDefault
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isdefault");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsDefault", "isdefault", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy jest obecna siatka programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isgridpresent")]
		public System.Nullable<bool> IsGridPresent
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isgridpresent");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsGridPresent", "isgridpresent", value);
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniego sprawdzenia poprawności adresu URL witryny programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("lastvalidated")]
		public System.Nullable<System.DateTime> LastValidated
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("lastvalidated");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("LastValidated", "lastvalidated", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował rekord witryny programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji rekordu witryny programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który zmodyfikował rekord witryny programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa rekordu witryny programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, który jest właścicielem witryny programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem rekordu lokalizacji dokumentu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, który jest właścicielem rekordu witryny programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem rekordu witryny programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator nadrzędnej witryny programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentsite")]
		public Microsoft.Xrm.Client.CrmEntityReference ParentSite
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("parentsite");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ParentSite", "parentsite", value);
			}
		}
		
		/// <summary>
		/// Względny adres URL witryny programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("relativeurl")]
		public string RelativeUrl
		{
			get
			{
				return this.GetAttributeValue<string>("relativeurl");
			}
			set
			{
				this.SetAttributeValue<string>("RelativeUrl", "relativeurl", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator witryny programu SharePoint w programie CRM
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sharepointsiteid")]
		public System.Nullable<System.Guid> SharePointSiteId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("sharepointsiteid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("SharePointSiteId", "sharepointsiteid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sharepointsiteid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.SharePointSiteId = value;
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sitecollectionid")]
		public System.Nullable<System.Guid> SiteCollectionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("sitecollectionid");
			}
		}
		
		/// <summary>
		/// Stan rekordu witryny programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu rekordu witryny programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z rekordem witryny programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Stan sprawdzania poprawności adresu URL witryny programu SharePoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("validationstatus")]
		public System.Nullable<int> ValidationStatus
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("validationstatus");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ValidationStatus", "validationstatus", value);
			}
		}
		
		/// <summary>
		/// Przyczyna stanu sprawdzania poprawności adresu URL
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("validationstatuserrorcode")]
		public System.Nullable<int> ValidationStatusErrorCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("validationstatuserrorcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ValidationStatusErrorCode", "validationstatuserrorcode", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N sharepointdocumentlocation_parent_sharepointsite
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sharepointdocumentlocation_parent_sharepointsite")]
		public System.Collections.Generic.IEnumerable<Xrm.SharePointDocumentLocation> sharepointdocumentlocation_parent_sharepointsite
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SharePointDocumentLocation>("sharepointdocumentlocation_parent_sharepointsite", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SharePointDocumentLocation>("sharepointdocumentlocation_parent_sharepointsite", "sharepointdocumentlocation_parent_sharepointsite", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SharePointSite_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SharePointSite_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> SharePointSite_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("SharePointSite_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("SharePointSite_AsyncOperations", "SharePointSite_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SharePointSite_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SharePointSite_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> SharePointSite_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("SharePointSite_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("SharePointSite_DuplicateBaseRecord", "SharePointSite_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SharePointSite_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SharePointSite_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> SharePointSite_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("SharePointSite_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("SharePointSite_DuplicateMatchingRecord", "SharePointSite_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N sharepointsite_parentsite_sharepointsite
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sharepointsite_parentsite_sharepointsite", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.SharePointSite> Referencedsharepointsite_parentsite_sharepointsite
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SharePointSite>("sharepointsite_parentsite_sharepointsite", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SharePointSite>("Referencedsharepointsite_parentsite_sharepointsite", "sharepointsite_parentsite_sharepointsite", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// 1:N sharepointsite_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sharepointsite_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> sharepointsite_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("sharepointsite_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("sharepointsite_principalobjectattributeaccess", "sharepointsite_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SharePointSite_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SharePointSite_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> SharePointSite_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("SharePointSite_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("SharePointSite_ProcessSessions", "SharePointSite_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_sharepointsite
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_sharepointsite")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_sharepointsite
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_sharepointsite", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_sharepointsite", "userentityinstancedata_sharepointsite", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_sharepointsites
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_sharepointsites")]
		public Xrm.BusinessUnit business_unit_sharepointsites
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_sharepointsites", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_sharepointsitebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sharepointsitebase_createdby")]
		public Xrm.SystemUser lk_sharepointsitebase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sharepointsitebase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_sharepointsitebase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sharepointsitebase_createdonbehalfby")]
		public Xrm.SystemUser lk_sharepointsitebase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sharepointsitebase_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_sharepointsitebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sharepointsitebase_modifiedby")]
		public Xrm.SystemUser lk_sharepointsitebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sharepointsitebase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_sharepointsitebase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sharepointsitebase_modifiedonbehalfby")]
		public Xrm.SystemUser lk_sharepointsitebase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sharepointsitebase_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 sharepointsite_parentsite_sharepointsite
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentsite")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sharepointsite_parentsite_sharepointsite", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.SharePointSite Referencingsharepointsite_parentsite_sharepointsite
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SharePointSite>("sharepointsite_parentsite_sharepointsite", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SharePointSite>("Referencingsharepointsite_parentsite_sharepointsite", "sharepointsite_parentsite_sharepointsite", Microsoft.Xrm.Sdk.EntityRole.Referencing, value);
			}
		}
		
		/// <summary>
		/// N:1 team_sharepointsite
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_sharepointsite")]
		public Xrm.Team team_sharepointsite
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_sharepointsite", null);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_SharePointSite
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_SharePointSite")]
		public Xrm.TransactionCurrency TransactionCurrency_SharePointSite
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_SharePointSite", null);
			}
		}
		
		/// <summary>
		/// N:1 user_sharepointsite
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_sharepointsite")]
		public Xrm.SystemUser user_sharepointsite
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_sharepointsite", null);
			}
		}
	}
	
	/// <summary>
	/// Miejsce lub oddział, w którym organizacja prowadzi działalność. Organizacja może mieć wiele lokalizacji.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("site")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SiteSet")]
	public partial class Site : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Site() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "site";
		
		public const int EntityTypeCode = 4009;
		
		/// <summary>
		/// Unikatowy identyfikator adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_addressid")]
		public System.Nullable<System.Guid> Address1_AddressId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("address1_addressid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("Address1_AddressId", "address1_addressid", value);
			}
		}
		
		/// <summary>
		/// Typ adresu 1, np. adres na fakturze, adres wysyłkowy lub adres podstawowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_addresstypecode")]
		public System.Nullable<int> Address1_AddressTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address1_addresstypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address1_AddressTypeCode", "address1_addresstypecode", value);
			}
		}
		
		/// <summary>
		/// Nazwa miasta dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_city")]
		public string Address1_City
		{
			get
			{
				return this.GetAttributeValue<string>("address1_city");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_City", "address1_city", value);
			}
		}
		
		/// <summary>
		/// Nazwa kraju/regionu dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_country")]
		public string Address1_Country
		{
			get
			{
				return this.GetAttributeValue<string>("address1_country");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Country", "address1_country", value);
			}
		}
		
		/// <summary>
		/// Nazwa powiatu dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_county")]
		public string Address1_County
		{
			get
			{
				return this.GetAttributeValue<string>("address1_county");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_County", "address1_county", value);
			}
		}
		
		/// <summary>
		/// Numer faksu dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_fax")]
		public string Address1_Fax
		{
			get
			{
				return this.GetAttributeValue<string>("address1_fax");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Fax", "address1_fax", value);
			}
		}
		
		/// <summary>
		/// Szerokość geograficzna dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_latitude")]
		public System.Nullable<double> Address1_Latitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address1_latitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address1_Latitude", "address1_latitude", value);
			}
		}
		
		/// <summary>
		/// Pierwszy wiersz do wprowadzenia informacji o adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_line1")]
		public string Address1_Line1
		{
			get
			{
				return this.GetAttributeValue<string>("address1_line1");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Line1", "address1_line1", value);
			}
		}
		
		/// <summary>
		/// Drugi wiersz do wprowadzenia informacji o adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_line2")]
		public string Address1_Line2
		{
			get
			{
				return this.GetAttributeValue<string>("address1_line2");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Line2", "address1_line2", value);
			}
		}
		
		/// <summary>
		/// Trzeci wiersz do wprowadzenia informacji o adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_line3")]
		public string Address1_Line3
		{
			get
			{
				return this.GetAttributeValue<string>("address1_line3");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Line3", "address1_line3", value);
			}
		}
		
		/// <summary>
		/// Długość geograficzna dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_longitude")]
		public System.Nullable<double> Address1_Longitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address1_longitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address1_Longitude", "address1_longitude", value);
			}
		}
		
		/// <summary>
		/// Nazwa do wprowadzenia dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_name")]
		public string Address1_Name
		{
			get
			{
				return this.GetAttributeValue<string>("address1_name");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Name", "address1_name", value);
			}
		}
		
		/// <summary>
		/// Kod pocztowy adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_postalcode")]
		public string Address1_PostalCode
		{
			get
			{
				return this.GetAttributeValue<string>("address1_postalcode");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_PostalCode", "address1_postalcode", value);
			}
		}
		
		/// <summary>
		/// Numer skrytki pocztowej dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_postofficebox")]
		public string Address1_PostOfficeBox
		{
			get
			{
				return this.GetAttributeValue<string>("address1_postofficebox");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_PostOfficeBox", "address1_postofficebox", value);
			}
		}
		
		/// <summary>
		/// Metoda wysyłki dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_shippingmethodcode")]
		public System.Nullable<int> Address1_ShippingMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address1_shippingmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address1_ShippingMethodCode", "address1_shippingmethodcode", value);
			}
		}
		
		/// <summary>
		/// Województwo adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_stateorprovince")]
		public string Address1_StateOrProvince
		{
			get
			{
				return this.GetAttributeValue<string>("address1_stateorprovince");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_StateOrProvince", "address1_stateorprovince", value);
			}
		}
		
		/// <summary>
		/// Pierwszy numer telefonu skojarzony z adresem 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_telephone1")]
		public string Address1_Telephone1
		{
			get
			{
				return this.GetAttributeValue<string>("address1_telephone1");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Telephone1", "address1_telephone1", value);
			}
		}
		
		/// <summary>
		/// Drugi numer telefonu skojarzony z adresem 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_telephone2")]
		public string Address1_Telephone2
		{
			get
			{
				return this.GetAttributeValue<string>("address1_telephone2");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Telephone2", "address1_telephone2", value);
			}
		}
		
		/// <summary>
		/// Trzeci numer telefonu skojarzony z adresem 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_telephone3")]
		public string Address1_Telephone3
		{
			get
			{
				return this.GetAttributeValue<string>("address1_telephone3");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Telephone3", "address1_telephone3", value);
			}
		}
		
		/// <summary>
		/// Strefa firmy United Parcel Service (UPS) dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_upszone")]
		public string Address1_UPSZone
		{
			get
			{
				return this.GetAttributeValue<string>("address1_upszone");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_UPSZone", "address1_upszone", value);
			}
		}
		
		/// <summary>
		/// Przesunięcie czasu UTC dla adresu 1. Jest to różnica między czasem lokalnym a standardowym uniwersalnym czasem koordynowanym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_utcoffset")]
		public System.Nullable<int> Address1_UTCOffset
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address1_utcoffset");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Address1_UTCOffset", "address1_utcoffset", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_addressid")]
		public System.Nullable<System.Guid> Address2_AddressId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("address2_addressid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("Address2_AddressId", "address2_addressid", value);
			}
		}
		
		/// <summary>
		/// Typ adresu 2, np. adres na fakturze, adres wysyłkowy lub adres podstawowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_addresstypecode")]
		public System.Nullable<int> Address2_AddressTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address2_addresstypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address2_AddressTypeCode", "address2_addresstypecode", value);
			}
		}
		
		/// <summary>
		/// Nazwa miasta dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_city")]
		public string Address2_City
		{
			get
			{
				return this.GetAttributeValue<string>("address2_city");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_City", "address2_city", value);
			}
		}
		
		/// <summary>
		/// Nazwa kraju/regionu dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_country")]
		public string Address2_Country
		{
			get
			{
				return this.GetAttributeValue<string>("address2_country");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Country", "address2_country", value);
			}
		}
		
		/// <summary>
		/// Nazwa powiatu dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_county")]
		public string Address2_County
		{
			get
			{
				return this.GetAttributeValue<string>("address2_county");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_County", "address2_county", value);
			}
		}
		
		/// <summary>
		/// Numer faksu dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_fax")]
		public string Address2_Fax
		{
			get
			{
				return this.GetAttributeValue<string>("address2_fax");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Fax", "address2_fax", value);
			}
		}
		
		/// <summary>
		/// Szerokość geograficzna dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_latitude")]
		public System.Nullable<double> Address2_Latitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address2_latitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address2_Latitude", "address2_latitude", value);
			}
		}
		
		/// <summary>
		/// Pierwszy wiersz do wprowadzenia informacji o adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_line1")]
		public string Address2_Line1
		{
			get
			{
				return this.GetAttributeValue<string>("address2_line1");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Line1", "address2_line1", value);
			}
		}
		
		/// <summary>
		/// Drugi wiersz do wprowadzenia informacji o adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_line2")]
		public string Address2_Line2
		{
			get
			{
				return this.GetAttributeValue<string>("address2_line2");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Line2", "address2_line2", value);
			}
		}
		
		/// <summary>
		/// Trzeci wiersz do wprowadzenia informacji o adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_line3")]
		public string Address2_Line3
		{
			get
			{
				return this.GetAttributeValue<string>("address2_line3");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Line3", "address2_line3", value);
			}
		}
		
		/// <summary>
		/// Długość geograficzna dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_longitude")]
		public System.Nullable<double> Address2_Longitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address2_longitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address2_Longitude", "address2_longitude", value);
			}
		}
		
		/// <summary>
		/// Nazwa do wprowadzenia dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_name")]
		public string Address2_Name
		{
			get
			{
				return this.GetAttributeValue<string>("address2_name");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Name", "address2_name", value);
			}
		}
		
		/// <summary>
		/// Kod pocztowy adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_postalcode")]
		public string Address2_PostalCode
		{
			get
			{
				return this.GetAttributeValue<string>("address2_postalcode");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_PostalCode", "address2_postalcode", value);
			}
		}
		
		/// <summary>
		/// Numer skrytki pocztowej dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_postofficebox")]
		public string Address2_PostOfficeBox
		{
			get
			{
				return this.GetAttributeValue<string>("address2_postofficebox");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_PostOfficeBox", "address2_postofficebox", value);
			}
		}
		
		/// <summary>
		/// Metoda wysyłki dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_shippingmethodcode")]
		public System.Nullable<int> Address2_ShippingMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address2_shippingmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address2_ShippingMethodCode", "address2_shippingmethodcode", value);
			}
		}
		
		/// <summary>
		/// Województwo adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_stateorprovince")]
		public string Address2_StateOrProvince
		{
			get
			{
				return this.GetAttributeValue<string>("address2_stateorprovince");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_StateOrProvince", "address2_stateorprovince", value);
			}
		}
		
		/// <summary>
		/// Pierwszy numer telefonu skojarzony z adresem 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_telephone1")]
		public string Address2_Telephone1
		{
			get
			{
				return this.GetAttributeValue<string>("address2_telephone1");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Telephone1", "address2_telephone1", value);
			}
		}
		
		/// <summary>
		/// Drugi numer telefonu skojarzony z adresem 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_telephone2")]
		public string Address2_Telephone2
		{
			get
			{
				return this.GetAttributeValue<string>("address2_telephone2");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Telephone2", "address2_telephone2", value);
			}
		}
		
		/// <summary>
		/// Trzeci numer telefonu skojarzony z adresem 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_telephone3")]
		public string Address2_Telephone3
		{
			get
			{
				return this.GetAttributeValue<string>("address2_telephone3");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Telephone3", "address2_telephone3", value);
			}
		}
		
		/// <summary>
		/// Strefa firmy United Parcel Service (UPS) dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_upszone")]
		public string Address2_UPSZone
		{
			get
			{
				return this.GetAttributeValue<string>("address2_upszone");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_UPSZone", "address2_upszone", value);
			}
		}
		
		/// <summary>
		/// Przesunięcie czasu UTC dla adresu 2. Jest to różnica między czasem lokalnym a standardowym uniwersalnym czasem koordynowanym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_utcoffset")]
		public System.Nullable<int> Address2_UTCOffset
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address2_utcoffset");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Address2_UTCOffset", "address2_utcoffset", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył lokalizację.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia lokalizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył lokalizację.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Adres e-mail lokalizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("emailaddress")]
		public string EMailAddress
		{
			get
			{
				return this.GetAttributeValue<string>("emailaddress");
			}
			set
			{
				this.SetAttributeValue<string>("EMailAddress", "emailaddress", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował lokalizację.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji lokalizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował lokalizację.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa lokalizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji, z którą jest skojarzona lokalizacja.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public System.Nullable<System.Guid> OrganizationId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("organizationid");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator lokalizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("siteid")]
		public System.Nullable<System.Guid> SiteId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("siteid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("SiteId", "siteid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("siteid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.SiteId = value;
			}
		}
		
		/// <summary>
		/// Lokalna strefa czasowa lokalizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonecode")]
		public System.Nullable<int> TimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneCode", "timezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji lokalizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N Site_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Site_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Site_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Site_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Site_AsyncOperations", "Site_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Site_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Site_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Site_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Site_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Site_BulkDeleteFailures", "Site_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N site_equipment
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("site_equipment")]
		public System.Collections.Generic.IEnumerable<Xrm.Equipment> site_equipment
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Equipment>("site_equipment", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Equipment>("site_equipment", "site_equipment", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Site_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Site_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Site_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Site_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Site_ProcessSessions", "Site_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N site_resources
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("site_resources")]
		public System.Collections.Generic.IEnumerable<Xrm.Resource> site_resources
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Resource>("site_resources", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Resource>("site_resources", "site_resources", null, value);
			}
		}
		
		/// <summary>
		/// 1:N site_service_appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("site_service_appointments")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceAppointment> site_service_appointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceAppointment>("site_service_appointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceAppointment>("site_service_appointments", "site_service_appointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N site_system_users
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("site_system_users")]
		public System.Collections.Generic.IEnumerable<Xrm.SystemUser> site_system_users
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SystemUser>("site_system_users", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SystemUser>("site_system_users", "site_system_users", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_site
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_site")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_site
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_site", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_site", "userentityinstancedata_site", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_site_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_site_createdonbehalfby")]
		public Xrm.SystemUser lk_site_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_site_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_site_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_site_modifiedonbehalfby")]
		public Xrm.SystemUser lk_site_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_site_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_sitebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sitebase_createdby")]
		public Xrm.SystemUser lk_sitebase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sitebase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_sitebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sitebase_modifiedby")]
		public Xrm.SystemUser lk_sitebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_sitebase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_sites
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_sites")]
		public Xrm.Organization organization_sites
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_sites", null);
			}
		}
	}
	
	/// <summary>
	/// Dane XML używane do sterowania okienkiem nawigacji w aplikacji.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("sitemap")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SiteMapSet")]
	public partial class SiteMap : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public SiteMap() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "sitemap";
		
		public const int EntityTypeCode = 4709;
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sitemapid")]
		public System.Nullable<System.Guid> SiteMapId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("sitemapid");
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sitemapid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				base.Id = value;
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sitemapidunique")]
		public System.Nullable<System.Guid> SiteMapIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("sitemapidunique");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sitemapxml")]
		public string SiteMapXml
		{
			get
			{
				return this.GetAttributeValue<string>("sitemapxml");
			}
			set
			{
				this.SetAttributeValue<string>("SiteMapXml", "sitemapxml", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_sitemap
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_sitemap")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_sitemap
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_sitemap", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_sitemap", "userentityinstancedata_sitemap", null, value);
			}
		}
		
		/// <summary>
		/// N:1 organization_sitemap
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_sitemap")]
		public Xrm.Organization organization_sitemap
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_sitemap", null);
			}
		}
	}
	
	/// <summary>
	/// Rozwiązanie, które zawiera dostosowania programu CRM.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("solution")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SolutionSet")]
	public partial class Solution : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Solution() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "solution";
		
		public const int EntityTypeCode = 7100;
		
		/// <summary>
		/// Łącze do opcjonalnej strony konfiguracji dla tego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("configurationpageid")]
		public Microsoft.Xrm.Client.CrmEntityReference ConfigurationPageId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("configurationpageid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ConfigurationPageId", "configurationpageid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył rozwiązanie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył rozwiązanie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Wyświetlana nazwa użytkownika dla rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("friendlyname")]
		public string FriendlyName
		{
			get
			{
				return this.GetAttributeValue<string>("friendlyname");
			}
			set
			{
				this.SetAttributeValue<string>("FriendlyName", "friendlyname", value);
			}
		}
		
		/// <summary>
		/// Data i godzina zainstalowania/uaktualnienia rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("installedon")]
		public System.Nullable<System.DateTime> InstalledOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("installedon");
			}
		}
		
		/// <summary>
		/// Wskazuje, czy rozwiązanie jest zarządzane, czy niezarządzane.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Wskazuje, czy rozwiązanie jest widoczne poza platformą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isvisible")]
		public System.Nullable<bool> IsVisible
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isvisible");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował rozwiązanie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który zmodyfikował rozwiązanie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z rozwiązaniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pinpointassetid")]
		public string PinpointAssetId
		{
			get
			{
				return this.GetAttributeValue<string>("pinpointassetid");
			}
		}
		
		/// <summary>
		/// Identyfikator wydawcy tego rozwiązania w witrynie Microsoft Pinpoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pinpointpublisherid")]
		public System.Nullable<long> PinpointPublisherId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("pinpointpublisherid");
			}
		}
		
		/// <summary>
		/// Domyślne ustawienia regionalne rozwiązania w witrynie Microsoft Pinpoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pinpointsolutiondefaultlocale")]
		public string PinpointSolutionDefaultLocale
		{
			get
			{
				return this.GetAttributeValue<string>("pinpointsolutiondefaultlocale");
			}
		}
		
		/// <summary>
		/// Identyfikator rozwiązania w witrynie Microsoft Pinpoint.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pinpointsolutionid")]
		public System.Nullable<long> PinpointSolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("pinpointsolutionid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator wydawcy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("publisherid")]
		public Microsoft.Xrm.Client.CrmEntityReference PublisherId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("publisherid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("PublisherId", "publisherid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("SolutionId", "solutionid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.SolutionId = value;
			}
		}
		
		/// <summary>
		/// Unikatowa nazwa tego rozwiązania
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("uniquename")]
		public string UniqueName
		{
			get
			{
				return this.GetAttributeValue<string>("uniquename");
			}
			set
			{
				this.SetAttributeValue<string>("UniqueName", "uniquename", value);
			}
		}
		
		/// <summary>
		/// Wersja rozwiązania używana do identyfikowania rozwiązania na potrzeby uaktualnień i poprawek.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("version")]
		public string Version
		{
			get
			{
				return this.GetAttributeValue<string>("version");
			}
			set
			{
				this.SetAttributeValue<string>("Version", "version", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N solution_solutioncomponent
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("solution_solutioncomponent")]
		public System.Collections.Generic.IEnumerable<Xrm.SolutionComponent> solution_solutioncomponent
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SolutionComponent>("solution_solutioncomponent", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SolutionComponent>("solution_solutioncomponent", "solution_solutioncomponent", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_solution
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_solution")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_solution
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_solution", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_solution", "userentityinstancedata_solution", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_solution_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_solution_createdby")]
		public Xrm.SystemUser lk_solution_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_solution_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_solution_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_solution_modifiedby")]
		public Xrm.SystemUser lk_solution_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_solution_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_solutionbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_solutionbase_createdonbehalfby")]
		public Xrm.SystemUser lk_solutionbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_solutionbase_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_solutionbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_solutionbase_modifiedonbehalfby")]
		public Xrm.SystemUser lk_solutionbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_solutionbase_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_solution
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_solution")]
		public Xrm.Organization organization_solution
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_solution", null);
			}
		}
		
		/// <summary>
		/// N:1 publisher_solution
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("publisherid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("publisher_solution")]
		public Xrm.Publisher publisher_solution
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Publisher>("publisher_solution", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Publisher>("publisher_solution", "publisher_solution", null, value);
			}
		}
		
		/// <summary>
		/// N:1 solution_configuration_webresource
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("configurationpageid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("solution_configuration_webresource")]
		public Xrm.WebResource solution_configuration_webresource
		{
			get
			{
				return this.GetRelatedEntity<Xrm.WebResource>("solution_configuration_webresource", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.WebResource>("solution_configuration_webresource", "solution_configuration_webresource", null, value);
			}
		}
	}
	
	/// <summary>
	/// Składnik rozwiązania CRM.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("solutioncomponent")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SolutionComponentSet")]
	public partial class SolutionComponent : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public SolutionComponent() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "solutioncomponent";
		
		public const int EntityTypeCode = 7103;
		
		/// <summary>
		/// Kod typu obiektu składnika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componenttype")]
		public System.Nullable<int> ComponentType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componenttype");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył rozwiązanie
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył rozwiązanie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Wskazuje, czy ten składnik to metadane, czy dane.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismetadata")]
		public System.Nullable<bool> IsMetadata
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismetadata");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował rozwiązanie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który zmodyfikował rozwiązanie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obiektu, z którym jest skojarzony składnik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		public System.Nullable<System.Guid> ObjectId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("objectid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator składnika rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutioncomponentid")]
		public System.Nullable<System.Guid> SolutionComponentId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutioncomponentid");
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutioncomponentid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				base.Id = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public Microsoft.Xrm.Client.CrmEntityReference SolutionId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("solutionid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_solutioncomponent
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_solutioncomponent")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_solutioncomponent
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_solutioncomponent", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_solutioncomponent", "userentityinstancedata_solutioncomponent", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_solutioncomponentbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_solutioncomponentbase_createdonbehalfby")]
		public Xrm.SystemUser lk_solutioncomponentbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_solutioncomponentbase_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_solutioncomponentbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_solutioncomponentbase_modifiedonbehalfby")]
		public Xrm.SystemUser lk_solutioncomponentbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_solutioncomponentbase_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 solution_solutioncomponent
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("solution_solutioncomponent")]
		public Xrm.Solution solution_solutioncomponent
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Solution>("solution_solutioncomponent", null);
			}
		}
	}
	
	/// <summary>
	/// Informacje dotyczące tematów dostępnych w systemie.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("subject")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SubjectSet")]
	public partial class Subject : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Subject() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "subject";
		
		public const int EntityTypeCode = 129;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył temat.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia tematu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył temat.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis tematu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy temat będzie wyświetlany na liście tematów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("featuremask")]
		public System.Nullable<int> FeatureMask
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("featuremask");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("FeatureMask", "featuremask", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował temat.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji tematu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował temat.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z tematem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator tematu nadrzędnego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentsubject")]
		public Microsoft.Xrm.Client.CrmEntityReference ParentSubject
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("parentsubject");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ParentSubject", "parentsubject", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator tematu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subjectid")]
		public System.Nullable<System.Guid> SubjectId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("subjectid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("SubjectId", "subjectid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subjectid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.SubjectId = value;
			}
		}
		
		/// <summary>
		/// Tytuł tematu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("title")]
		public string Title
		{
			get
			{
				return this.GetAttributeValue<string>("title");
			}
			set
			{
				this.SetAttributeValue<string>("Title", "title", value);
			}
		}
		
		/// <summary>
		/// Numer wersji tematu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N Subject_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Subject_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Subject_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Subject_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Subject_AsyncOperations", "Subject_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Subject_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Subject_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Subject_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Subject_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Subject_BulkDeleteFailures", "Subject_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N subject_incidents
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("subject_incidents")]
		public System.Collections.Generic.IEnumerable<Xrm.Incident> subject_incidents
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Incident>("subject_incidents", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Incident>("subject_incidents", "subject_incidents", null, value);
			}
		}
		
		/// <summary>
		/// 1:N subject_kb_articles
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("subject_kb_articles")]
		public System.Collections.Generic.IEnumerable<Xrm.KbArticle> subject_kb_articles
		{
			get
			{
				return this.GetRelatedEntities<Xrm.KbArticle>("subject_kb_articles", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.KbArticle>("subject_kb_articles", "subject_kb_articles", null, value);
			}
		}
		
		/// <summary>
		/// 1:N subject_parent_subject
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("subject_parent_subject", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.Subject> Referencedsubject_parent_subject
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Subject>("subject_parent_subject", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Subject>("Referencedsubject_parent_subject", "subject_parent_subject", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// 1:N Subject_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Subject_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Subject_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Subject_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Subject_ProcessSessions", "Subject_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N subject_products
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("subject_products")]
		public System.Collections.Generic.IEnumerable<Xrm.Product> subject_products
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Product>("subject_products", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Product>("subject_products", "subject_products", null, value);
			}
		}
		
		/// <summary>
		/// 1:N subject_sales_literature
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("subject_sales_literature")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesLiterature> subject_sales_literature
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesLiterature>("subject_sales_literature", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesLiterature>("subject_sales_literature", "subject_sales_literature", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_subject
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_subject")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_subject
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_subject", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_subject", "userentityinstancedata_subject", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_subject_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_subject_createdonbehalfby")]
		public Xrm.SystemUser lk_subject_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_subject_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_subject_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_subject_modifiedonbehalfby")]
		public Xrm.SystemUser lk_subject_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_subject_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_subjectbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_subjectbase_createdby")]
		public Xrm.SystemUser lk_subjectbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_subjectbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_subjectbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_subjectbase_modifiedby")]
		public Xrm.SystemUser lk_subjectbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_subjectbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_subjects
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_subjects")]
		public Xrm.Organization organization_subjects
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_subjects", null);
			}
		}
		
		/// <summary>
		/// N:1 subject_parent_subject
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentsubject")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("subject_parent_subject", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.Subject Referencingsubject_parent_subject
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Subject>("subject_parent_subject", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Subject>("Referencingsubject_parent_subject", "subject_parent_subject", Microsoft.Xrm.Sdk.EntityRole.Referencing, value);
			}
		}
	}
	
	/// <summary>
	/// Tylko do użytku wewnętrznego.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("subscriptionmanuallytrackedobject")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SubscriptionManuallyTrackedObjectSet")]
	public partial class SubscriptionManuallyTrackedObject : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public SubscriptionManuallyTrackedObject() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "subscriptionmanuallytrackedobject";
		
		public const int EntityTypeCode = 37;
		
		/// <summary>
		/// Unikatowy identyfikator obiektu, z którym jest skojarzona subskrypcja.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		public System.Nullable<System.Guid> ObjectId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("objectid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("ObjectId", "objectid", value);
			}
		}
		
		/// <summary>
		/// Kod typu obiektu, z którym jest skojarzona subskrypcja.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objecttypecode")]
		public string ObjectTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("objecttypecode");
			}
			set
			{
				this.SetAttributeValue<string>("ObjectTypeCode", "objecttypecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator subskrypcji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subscriptionid")]
		public System.Nullable<System.Guid> SubscriptionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("subscriptionid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("SubscriptionId", "subscriptionid", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subscriptionmanuallytrackedobjectid")]
		public System.Nullable<System.Guid> SubscriptionManuallyTrackedObjectId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("subscriptionmanuallytrackedobjectid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("SubscriptionManuallyTrackedObjectId", "subscriptionmanuallytrackedobjectid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subscriptionmanuallytrackedobjectid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.SubscriptionManuallyTrackedObjectId = value;
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy obiekt jest śledzony.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("track")]
		public System.Nullable<bool> Track
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("track");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("Track", "track", value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_subscriptionmanuallytrackedobject
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_subscriptionmanuallytrackedobject")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_subscriptionmanuallytrackedobject
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_subscriptionmanuallytrackedobject", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_subscriptionmanuallytrackedobject", "userentityinstancedata_subscriptionmanuallytrackedobject", null, value);
			}
		}
	}
	
	/// <summary>
	/// Dostosowania encji należące do organizacji, w tym układ formularza i pulpity nawigacyjne.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("systemform")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SystemFormSet")]
	public partial class SystemForm : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public SystemForm() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "systemform";
		
		public const int EntityTypeCode = 1030;
		
		/// <summary>
		/// Unikatowy identyfikator formularza nadrzędnego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ancestorformid")]
		public Microsoft.Xrm.Client.CrmEntityReference AncestorFormId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ancestorformid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("AncestorFormId", "ancestorformid", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy można usunąć ten składnik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("canbedeleted")]
		public Microsoft.Xrm.Sdk.BooleanManagedProperty CanBeDeleted
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("canbedeleted");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("CanBeDeleted", "canbedeleted", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// Opis formularza lub pulpitu nawigacyjnego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator formularza typu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("formid")]
		public System.Nullable<System.Guid> FormId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("formid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("FormId", "formid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("formid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.FormId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator formularza używanego podczas synchronizacji niestandardowych elementów klienta programu Microsoft Dynamics CRM dla programu Outlook.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("formidunique")]
		public System.Nullable<System.Guid> FormIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("formidunique");
			}
		}
		
		/// <summary>
		/// Reprezentacja XML układu formularza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("formxml")]
		public string FormXml
		{
			get
			{
				return this.GetAttributeValue<string>("formxml");
			}
			set
			{
				this.SetAttributeValue<string>("FormXml", "formxml", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy można dostosować ten składnik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomizable")]
		public Microsoft.Xrm.Sdk.BooleanManagedProperty IsCustomizable
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("iscustomizable");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("IsCustomizable", "iscustomizable", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy domyślnym ustawieniem systemowym jest formularz, czy pulpit nawigacyjny.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isdefault")]
		public System.Nullable<bool> IsDefault
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isdefault");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsDefault", "isdefault", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Nazwa formularza.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Kod reprezentujący typ rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objecttypecode")]
		public string ObjectTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("objecttypecode");
			}
			set
			{
				this.SetAttributeValue<string>("ObjectTypeCode", "objecttypecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("publishedon")]
		public System.Nullable<System.DateTime> PublishedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("publishedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// Typ formularza, na przykład Pulpit nawigacyjny lub Podgląd.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("type")]
		public System.Nullable<int> Type
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("type");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Type", "type", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("version")]
		public System.Nullable<int> Version
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("version");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Version", "version", value);
			}
		}
		
		/// <summary>
		/// Reprezentuje wersję niestandardowych elementów, które mają zostać zsynchronizowane z klientem programu Microsoft Dynamics CRM dla programu Outlook.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N form_ancestor_form
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("form_ancestor_form", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.SystemForm> Referencedform_ancestor_form
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SystemForm>("form_ancestor_form", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SystemForm>("Referencedform_ancestor_form", "form_ancestor_form", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// 1:N SystemForm_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SystemForm_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> SystemForm_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("SystemForm_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("SystemForm_AsyncOperations", "SystemForm_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SystemForm_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SystemForm_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> SystemForm_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("SystemForm_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("SystemForm_BulkDeleteFailures", "SystemForm_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// N:1 form_ancestor_form
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ancestorformid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("form_ancestor_form", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.SystemForm Referencingform_ancestor_form
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemForm>("form_ancestor_form", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemForm>("Referencingform_ancestor_form", "form_ancestor_form", Microsoft.Xrm.Sdk.EntityRole.Referencing, value);
			}
		}
		
		/// <summary>
		/// N:1 organization_systemforms
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_systemforms")]
		public Xrm.Organization organization_systemforms
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_systemforms", null);
			}
		}
	}
	
	/// <summary>
	/// Osoba, która ma dostęp do systemu Microsoft CRM i jest właścicielem obiektów w bazie danych tego programu.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("systemuser")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SystemUserSet")]
	public partial class SystemUser : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public SystemUser() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "systemuser";
		
		public const int EntityTypeCode = 8;
		
		/// <summary>
		/// Typ użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("accessmode")]
		public System.Nullable<int> AccessMode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("accessmode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("AccessMode", "accessmode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_addressid")]
		public System.Nullable<System.Guid> Address1_AddressId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("address1_addressid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("Address1_AddressId", "address1_addressid", value);
			}
		}
		
		/// <summary>
		/// Typ adresu 1, np. adres na fakturze, adres wysyłkowy lub adres podstawowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_addresstypecode")]
		public System.Nullable<int> Address1_AddressTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address1_addresstypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address1_AddressTypeCode", "address1_addresstypecode", value);
			}
		}
		
		/// <summary>
		/// Nazwa miasta dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_city")]
		public string Address1_City
		{
			get
			{
				return this.GetAttributeValue<string>("address1_city");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_City", "address1_city", value);
			}
		}
		
		/// <summary>
		/// Nazwa kraju/regionu w adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_country")]
		public string Address1_Country
		{
			get
			{
				return this.GetAttributeValue<string>("address1_country");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Country", "address1_country", value);
			}
		}
		
		/// <summary>
		/// Nazwa powiatu dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_county")]
		public string Address1_County
		{
			get
			{
				return this.GetAttributeValue<string>("address1_county");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_County", "address1_county", value);
			}
		}
		
		/// <summary>
		/// Numer faksu dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_fax")]
		public string Address1_Fax
		{
			get
			{
				return this.GetAttributeValue<string>("address1_fax");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Fax", "address1_fax", value);
			}
		}
		
		/// <summary>
		/// Szerokość geograficzna dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_latitude")]
		public System.Nullable<double> Address1_Latitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address1_latitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address1_Latitude", "address1_latitude", value);
			}
		}
		
		/// <summary>
		/// Pierwszy wiersz do wprowadzenia informacji o adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_line1")]
		public string Address1_Line1
		{
			get
			{
				return this.GetAttributeValue<string>("address1_line1");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Line1", "address1_line1", value);
			}
		}
		
		/// <summary>
		/// Drugi wiersz do wprowadzenia informacji o adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_line2")]
		public string Address1_Line2
		{
			get
			{
				return this.GetAttributeValue<string>("address1_line2");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Line2", "address1_line2", value);
			}
		}
		
		/// <summary>
		/// Trzeci wiersz do wprowadzenia informacji o adresie 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_line3")]
		public string Address1_Line3
		{
			get
			{
				return this.GetAttributeValue<string>("address1_line3");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Line3", "address1_line3", value);
			}
		}
		
		/// <summary>
		/// Długość geograficzna dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_longitude")]
		public System.Nullable<double> Address1_Longitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address1_longitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address1_Longitude", "address1_longitude", value);
			}
		}
		
		/// <summary>
		/// Nazwa do wprowadzenia dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_name")]
		public string Address1_Name
		{
			get
			{
				return this.GetAttributeValue<string>("address1_name");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Name", "address1_name", value);
			}
		}
		
		/// <summary>
		/// Kod pocztowy adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_postalcode")]
		public string Address1_PostalCode
		{
			get
			{
				return this.GetAttributeValue<string>("address1_postalcode");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_PostalCode", "address1_postalcode", value);
			}
		}
		
		/// <summary>
		/// Numer skrytki pocztowej dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_postofficebox")]
		public string Address1_PostOfficeBox
		{
			get
			{
				return this.GetAttributeValue<string>("address1_postofficebox");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_PostOfficeBox", "address1_postofficebox", value);
			}
		}
		
		/// <summary>
		/// Metoda wysyłki dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_shippingmethodcode")]
		public System.Nullable<int> Address1_ShippingMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address1_shippingmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address1_ShippingMethodCode", "address1_shippingmethodcode", value);
			}
		}
		
		/// <summary>
		/// Województwo adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_stateorprovince")]
		public string Address1_StateOrProvince
		{
			get
			{
				return this.GetAttributeValue<string>("address1_stateorprovince");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_StateOrProvince", "address1_stateorprovince", value);
			}
		}
		
		/// <summary>
		/// Pierwszy numer telefonu skojarzony z adresem 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_telephone1")]
		public string Address1_Telephone1
		{
			get
			{
				return this.GetAttributeValue<string>("address1_telephone1");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Telephone1", "address1_telephone1", value);
			}
		}
		
		/// <summary>
		/// Drugi numer telefonu skojarzony z adresem 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_telephone2")]
		public string Address1_Telephone2
		{
			get
			{
				return this.GetAttributeValue<string>("address1_telephone2");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Telephone2", "address1_telephone2", value);
			}
		}
		
		/// <summary>
		/// Trzeci numer telefonu skojarzony z adresem 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_telephone3")]
		public string Address1_Telephone3
		{
			get
			{
				return this.GetAttributeValue<string>("address1_telephone3");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_Telephone3", "address1_telephone3", value);
			}
		}
		
		/// <summary>
		/// Strefa firmy United Parcel Service (UPS) dla adresu 1.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_upszone")]
		public string Address1_UPSZone
		{
			get
			{
				return this.GetAttributeValue<string>("address1_upszone");
			}
			set
			{
				this.SetAttributeValue<string>("Address1_UPSZone", "address1_upszone", value);
			}
		}
		
		/// <summary>
		/// Przesunięcie czasu UTC dla adresu 1. Jest to różnica między czasem lokalnym a standardowym uniwersalnym czasem koordynowanym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address1_utcoffset")]
		public System.Nullable<int> Address1_UTCOffset
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address1_utcoffset");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Address1_UTCOffset", "address1_utcoffset", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_addressid")]
		public System.Nullable<System.Guid> Address2_AddressId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("address2_addressid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("Address2_AddressId", "address2_addressid", value);
			}
		}
		
		/// <summary>
		/// Typ adresu 2, np. adres na fakturze, adres wysyłkowy lub adres podstawowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_addresstypecode")]
		public System.Nullable<int> Address2_AddressTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address2_addresstypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address2_AddressTypeCode", "address2_addresstypecode", value);
			}
		}
		
		/// <summary>
		/// Nazwa miasta dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_city")]
		public string Address2_City
		{
			get
			{
				return this.GetAttributeValue<string>("address2_city");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_City", "address2_city", value);
			}
		}
		
		/// <summary>
		/// Nazwa kraju/regionu w adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_country")]
		public string Address2_Country
		{
			get
			{
				return this.GetAttributeValue<string>("address2_country");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Country", "address2_country", value);
			}
		}
		
		/// <summary>
		/// Nazwa powiatu dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_county")]
		public string Address2_County
		{
			get
			{
				return this.GetAttributeValue<string>("address2_county");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_County", "address2_county", value);
			}
		}
		
		/// <summary>
		/// Numer faksu dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_fax")]
		public string Address2_Fax
		{
			get
			{
				return this.GetAttributeValue<string>("address2_fax");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Fax", "address2_fax", value);
			}
		}
		
		/// <summary>
		/// Szerokość geograficzna dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_latitude")]
		public System.Nullable<double> Address2_Latitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address2_latitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address2_Latitude", "address2_latitude", value);
			}
		}
		
		/// <summary>
		/// Pierwszy wiersz do wprowadzenia informacji o adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_line1")]
		public string Address2_Line1
		{
			get
			{
				return this.GetAttributeValue<string>("address2_line1");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Line1", "address2_line1", value);
			}
		}
		
		/// <summary>
		/// Drugi wiersz do wprowadzenia informacji o adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_line2")]
		public string Address2_Line2
		{
			get
			{
				return this.GetAttributeValue<string>("address2_line2");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Line2", "address2_line2", value);
			}
		}
		
		/// <summary>
		/// Trzeci wiersz do wprowadzenia informacji o adresie 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_line3")]
		public string Address2_Line3
		{
			get
			{
				return this.GetAttributeValue<string>("address2_line3");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Line3", "address2_line3", value);
			}
		}
		
		/// <summary>
		/// Długość geograficzna dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_longitude")]
		public System.Nullable<double> Address2_Longitude
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<double>>("address2_longitude");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<double>>("Address2_Longitude", "address2_longitude", value);
			}
		}
		
		/// <summary>
		/// Nazwa do wprowadzenia dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_name")]
		public string Address2_Name
		{
			get
			{
				return this.GetAttributeValue<string>("address2_name");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Name", "address2_name", value);
			}
		}
		
		/// <summary>
		/// Kod pocztowy adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_postalcode")]
		public string Address2_PostalCode
		{
			get
			{
				return this.GetAttributeValue<string>("address2_postalcode");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_PostalCode", "address2_postalcode", value);
			}
		}
		
		/// <summary>
		/// Numer skrytki pocztowej dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_postofficebox")]
		public string Address2_PostOfficeBox
		{
			get
			{
				return this.GetAttributeValue<string>("address2_postofficebox");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_PostOfficeBox", "address2_postofficebox", value);
			}
		}
		
		/// <summary>
		/// Metoda wysyłki dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_shippingmethodcode")]
		public System.Nullable<int> Address2_ShippingMethodCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address2_shippingmethodcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Address2_ShippingMethodCode", "address2_shippingmethodcode", value);
			}
		}
		
		/// <summary>
		/// Województwo adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_stateorprovince")]
		public string Address2_StateOrProvince
		{
			get
			{
				return this.GetAttributeValue<string>("address2_stateorprovince");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_StateOrProvince", "address2_stateorprovince", value);
			}
		}
		
		/// <summary>
		/// Pierwszy numer telefonu skojarzony z adresem 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_telephone1")]
		public string Address2_Telephone1
		{
			get
			{
				return this.GetAttributeValue<string>("address2_telephone1");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Telephone1", "address2_telephone1", value);
			}
		}
		
		/// <summary>
		/// Drugi numer telefonu skojarzony z adresem 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_telephone2")]
		public string Address2_Telephone2
		{
			get
			{
				return this.GetAttributeValue<string>("address2_telephone2");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Telephone2", "address2_telephone2", value);
			}
		}
		
		/// <summary>
		/// Trzeci numer telefonu skojarzony z adresem 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_telephone3")]
		public string Address2_Telephone3
		{
			get
			{
				return this.GetAttributeValue<string>("address2_telephone3");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_Telephone3", "address2_telephone3", value);
			}
		}
		
		/// <summary>
		/// Strefa firmy United Parcel Service (UPS) dla adresu 2.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_upszone")]
		public string Address2_UPSZone
		{
			get
			{
				return this.GetAttributeValue<string>("address2_upszone");
			}
			set
			{
				this.SetAttributeValue<string>("Address2_UPSZone", "address2_upszone", value);
			}
		}
		
		/// <summary>
		/// Przesunięcie czasu UTC dla adresu 2. Jest to różnica między czasem lokalnym a standardowym uniwersalnym czasem koordynowanym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("address2_utcoffset")]
		public System.Nullable<int> Address2_UTCOffset
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("address2_utcoffset");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Address2_UTCOffset", "address2_utcoffset", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, z którą jest skojarzony użytkownik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		public Microsoft.Xrm.Client.CrmEntityReference BusinessUnitId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("businessunitid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("BusinessUnitId", "businessunitid", value);
			}
		}
		
		/// <summary>
		/// Kalendarz obrachunkowy skojarzony z użytkownikiem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("calendarid")]
		public Microsoft.Xrm.Client.CrmEntityReference CalendarId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("calendarid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("CalendarId", "calendarid", value);
			}
		}
		
		/// <summary>
		/// Typ licencji użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("caltype")]
		public System.Nullable<int> CALType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("caltype");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("CALType", "caltype", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył użytkownika systemu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Wskazuje, czy filtry domyślne programu Outlook zostały wypełnione.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("defaultfilterspopulated")]
		public System.Nullable<bool> DefaultFiltersPopulated
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("defaultfilterspopulated");
			}
		}
		
		/// <summary>
		/// Przyczyna wyłączenia użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("disabledreason")]
		public string DisabledReason
		{
			get
			{
				return this.GetAttributeValue<string>("disabledreason");
			}
		}
		
		/// <summary>
		/// Informacja, czy użytkownik ma być wyświetlany w widokach usług.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("displayinserviceviews")]
		public System.Nullable<bool> DisplayInServiceViews
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("displayinserviceviews");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("DisplayInServiceViews", "displayinserviceviews", value);
			}
		}
		
		/// <summary>
		/// Domena usługi Active Directory, do której należy użytkownik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("domainname")]
		public string DomainName
		{
			get
			{
				return this.GetAttributeValue<string>("domainname");
			}
			set
			{
				this.SetAttributeValue<string>("DomainName", "domainname", value);
			}
		}
		
		/// <summary>
		/// Pokazuje stan podstawowego adresu e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("emailrouteraccessapproval")]
		public System.Nullable<int> EmailRouterAccessApproval
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("emailrouteraccessapproval");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("EmailRouterAccessApproval", "emailrouteraccessapproval", value);
			}
		}
		
		/// <summary>
		/// Identyfikator pracownika dla użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("employeeid")]
		public string EmployeeId
		{
			get
			{
				return this.GetAttributeValue<string>("employeeid");
			}
			set
			{
				this.SetAttributeValue<string>("EmployeeId", "employeeid", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z użytkownikiem systemu w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Imię użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("firstname")]
		public string FirstName
		{
			get
			{
				return this.GetAttributeValue<string>("firstname");
			}
			set
			{
				this.SetAttributeValue<string>("FirstName", "firstname", value);
			}
		}
		
		/// <summary>
		/// Imię i nazwisko użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fullname")]
		public string FullName
		{
			get
			{
				return this.GetAttributeValue<string>("fullname");
			}
		}
		
		/// <summary>
		/// PESEL użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("governmentid")]
		public string GovernmentId
		{
			get
			{
				return this.GetAttributeValue<string>("governmentid");
			}
			set
			{
				this.SetAttributeValue<string>("GovernmentId", "governmentid", value);
			}
		}
		
		/// <summary>
		/// Telefon domowy użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("homephone")]
		public string HomePhone
		{
			get
			{
				return this.GetAttributeValue<string>("homephone");
			}
			set
			{
				this.SetAttributeValue<string>("HomePhone", "homephone", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Metoda dostarczania przychodzących wiadomości e-mail do użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("incomingemaildeliverymethod")]
		public System.Nullable<int> IncomingEmailDeliveryMethod
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("incomingemaildeliverymethod");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("IncomingEmailDeliveryMethod", "incomingemaildeliverymethod", value);
			}
		}
		
		/// <summary>
		/// Wewnętrzny adres e-mail użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("internalemailaddress")]
		public string InternalEMailAddress
		{
			get
			{
				return this.GetAttributeValue<string>("internalemailaddress");
			}
			set
			{
				this.SetAttributeValue<string>("InternalEMailAddress", "internalemailaddress", value);
			}
		}
		
		/// <summary>
		/// Stan zaproszenia użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("invitestatuscode")]
		public System.Nullable<int> InviteStatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("invitestatuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("InviteStatusCode", "invitestatuscode", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy użytkownik jest włączony.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isdisabled")]
		public System.Nullable<bool> IsDisabled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isdisabled");
			}
		}
		
		/// <summary>
		/// Zaznacz, jeśli użytkownik jest użytkownikiem integracyjnym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isintegrationuser")]
		public System.Nullable<bool> IsIntegrationUser
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isintegrationuser");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsIntegrationUser", "isintegrationuser", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy użytkownik ma licencję.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("islicensed")]
		public System.Nullable<bool> IsLicensed
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("islicensed");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsLicensed", "islicensed", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy użytkownik jest zsynchronizowany z tym katalogiem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("issyncwithdirectory")]
		public System.Nullable<bool> IsSyncWithDirectory
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("issyncwithdirectory");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsSyncWithDirectory", "issyncwithdirectory", value);
			}
		}
		
		/// <summary>
		/// Stanowisko użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("jobtitle")]
		public string JobTitle
		{
			get
			{
				return this.GetAttributeValue<string>("jobtitle");
			}
			set
			{
				this.SetAttributeValue<string>("JobTitle", "jobtitle", value);
			}
		}
		
		/// <summary>
		/// Nazwisko użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("lastname")]
		public string LastName
		{
			get
			{
				return this.GetAttributeValue<string>("lastname");
			}
			set
			{
				this.SetAttributeValue<string>("LastName", "lastname", value);
			}
		}
		
		/// <summary>
		/// Drugie imię użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("middlename")]
		public string MiddleName
		{
			get
			{
				return this.GetAttributeValue<string>("middlename");
			}
			set
			{
				this.SetAttributeValue<string>("MiddleName", "middlename", value);
			}
		}
		
		/// <summary>
		/// Adres e-mail użytkownika dla alertów w trybie mobilnym.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("mobilealertemail")]
		public string MobileAlertEMail
		{
			get
			{
				return this.GetAttributeValue<string>("mobilealertemail");
			}
			set
			{
				this.SetAttributeValue<string>("MobileAlertEMail", "mobilealertemail", value);
			}
		}
		
		/// <summary>
		/// Telefon komórkowy użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("mobilephone")]
		public string MobilePhone
		{
			get
			{
				return this.GetAttributeValue<string>("mobilephone");
			}
			set
			{
				this.SetAttributeValue<string>("MobilePhone", "mobilephone", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował użytkownika systemu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Przydomek użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("nickname")]
		public string NickName
		{
			get
			{
				return this.GetAttributeValue<string>("nickname");
			}
			set
			{
				this.SetAttributeValue<string>("NickName", "nickname", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z użytkownikiem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public System.Nullable<System.Guid> OrganizationId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("organizationid");
			}
		}
		
		/// <summary>
		/// Metoda dostarczania wychodzących wiadomości e-mail do użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("outgoingemaildeliverymethod")]
		public System.Nullable<int> OutgoingEmailDeliveryMethod
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("outgoingemaildeliverymethod");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("OutgoingEmailDeliveryMethod", "outgoingemaildeliverymethod", value);
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator menedżera użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentsystemuserid")]
		public Microsoft.Xrm.Client.CrmEntityReference ParentSystemUserId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("parentsystemuserid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ParentSystemUserId", "parentsystemuserid", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("passporthi")]
		public System.Nullable<int> PassportHi
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("passporthi");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("PassportHi", "passporthi", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("passportlo")]
		public System.Nullable<int> PassportLo
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("passportlo");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("PassportLo", "passportlo", value);
			}
		}
		
		/// <summary>
		/// Osobisty adres e-mail użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("personalemailaddress")]
		public string PersonalEMailAddress
		{
			get
			{
				return this.GetAttributeValue<string>("personalemailaddress");
			}
			set
			{
				this.SetAttributeValue<string>("PersonalEMailAddress", "personalemailaddress", value);
			}
		}
		
		/// <summary>
		/// Adres URL witryny sieci Web, w której znajduje się zdjęcie użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("photourl")]
		public string PhotoUrl
		{
			get
			{
				return this.GetAttributeValue<string>("photourl");
			}
			set
			{
				this.SetAttributeValue<string>("PhotoUrl", "photourl", value);
			}
		}
		
		/// <summary>
		/// Preferowany adres użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("preferredaddresscode")]
		public System.Nullable<int> PreferredAddressCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("preferredaddresscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PreferredAddressCode", "preferredaddresscode", value);
			}
		}
		
		/// <summary>
		/// Preferowany adres e-mail użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("preferredemailcode")]
		public System.Nullable<int> PreferredEmailCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("preferredemailcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PreferredEmailCode", "preferredemailcode", value);
			}
		}
		
		/// <summary>
		/// Preferowany numer telefonu użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("preferredphonecode")]
		public System.Nullable<int> PreferredPhoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("preferredphonecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PreferredPhoneCode", "preferredphonecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator domyślnej kolejki użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("queueid")]
		public Microsoft.Xrm.Client.CrmEntityReference QueueId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("queueid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("QueueId", "queueid", value);
			}
		}
		
		/// <summary>
		/// Zwrot grzecznościowy do korespondencji z użytkownikiem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("salutation")]
		public string Salutation
		{
			get
			{
				return this.GetAttributeValue<string>("salutation");
			}
			set
			{
				this.SetAttributeValue<string>("Salutation", "salutation", value);
			}
		}
		
		/// <summary>
		/// Zaznacz, jeśli użytkownik jest użytkownikiem instalacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("setupuser")]
		public System.Nullable<bool> SetupUser
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("setupuser");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("SetupUser", "setupuser", value);
			}
		}
		
		/// <summary>
		/// Lokalizacja użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("siteid")]
		public Microsoft.Xrm.Client.CrmEntityReference SiteId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("siteid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("SiteId", "siteid", value);
			}
		}
		
		/// <summary>
		/// Zestaw umiejętności użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("skills")]
		public string Skills
		{
			get
			{
				return this.GetAttributeValue<string>("skills");
			}
			set
			{
				this.SetAttributeValue<string>("Skills", "skills", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("systemuserid")]
		public System.Nullable<System.Guid> SystemUserId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("systemuserid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("SystemUserId", "systemuserid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("systemuserid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.SystemUserId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obszaru, do którego użytkownik jest przypisany.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("territoryid")]
		public Microsoft.Xrm.Client.CrmEntityReference TerritoryId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("territoryid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TerritoryId", "territoryid", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Tytuł użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("title")]
		public string Title
		{
			get
			{
				return this.GetAttributeValue<string>("title");
			}
			set
			{
				this.SetAttributeValue<string>("Title", "title", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z użytkownikiem systemu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// Usługa Windows Live ID
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("windowsliveid")]
		public string WindowsLiveID
		{
			get
			{
				return this.GetAttributeValue<string>("windowsliveid");
			}
			set
			{
				this.SetAttributeValue<string>("WindowsLiveID", "windowsliveid", value);
			}
		}
		
		/// <summary>
		/// Wymowa imienia użytkownika zapisana przy użyciu znaków fonetycznych hiragana lub katakana.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("yomifirstname")]
		public string YomiFirstName
		{
			get
			{
				return this.GetAttributeValue<string>("yomifirstname");
			}
			set
			{
				this.SetAttributeValue<string>("YomiFirstName", "yomifirstname", value);
			}
		}
		
		/// <summary>
		/// Wymowa imienia i nazwiska użytkownika zapisana przy użyciu znaków fonetycznych hiragana lub katakana.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("yomifullname")]
		public string YomiFullName
		{
			get
			{
				return this.GetAttributeValue<string>("yomifullname");
			}
		}
		
		/// <summary>
		/// Wymowa nazwiska użytkownika zapisana przy użyciu znaków fonetycznych hiragana lub katakana.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("yomilastname")]
		public string YomiLastName
		{
			get
			{
				return this.GetAttributeValue<string>("yomilastname");
			}
			set
			{
				this.SetAttributeValue<string>("YomiLastName", "yomilastname", value);
			}
		}
		
		/// <summary>
		/// Wymowa drugiego imienia użytkownika zapisana przy użyciu znaków fonetycznych hiragana lub katakana.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("yomimiddlename")]
		public string YomiMiddleName
		{
			get
			{
				return this.GetAttributeValue<string>("yomimiddlename");
			}
			set
			{
				this.SetAttributeValue<string>("YomiMiddleName", "yomimiddlename", value);
			}
		}
		
		/// <summary>
		/// 1:N annotation_owning_user
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("annotation_owning_user")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> annotation_owning_user
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("annotation_owning_user", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("annotation_owning_user", "annotation_owning_user", null, value);
			}
		}
		
		/// <summary>
		/// 1:N constraintbasedgroup_systemuser
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("constraintbasedgroup_systemuser")]
		public System.Collections.Generic.IEnumerable<Xrm.ConstraintBasedGroup> constraintbasedgroup_systemuser
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ConstraintBasedGroup>("constraintbasedgroup_systemuser", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ConstraintBasedGroup>("constraintbasedgroup_systemuser", "constraintbasedgroup_systemuser", null, value);
			}
		}
		
		/// <summary>
		/// 1:N contact_owning_user
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contact_owning_user")]
		public System.Collections.Generic.IEnumerable<Xrm.Contact> contact_owning_user
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contact>("contact_owning_user", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contact>("contact_owning_user", "contact_owning_user", null, value);
			}
		}
		
		/// <summary>
		/// 1:N createdby_attributemap
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_attributemap")]
		public System.Collections.Generic.IEnumerable<Xrm.AttributeMap> createdby_attributemap
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AttributeMap>("createdby_attributemap", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AttributeMap>("createdby_attributemap", "createdby_attributemap", null, value);
			}
		}
		
		/// <summary>
		/// 1:N createdby_connection
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_connection")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> createdby_connection
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("createdby_connection", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("createdby_connection", "createdby_connection", null, value);
			}
		}
		
		/// <summary>
		/// 1:N createdby_connection_role
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_connection_role")]
		public System.Collections.Generic.IEnumerable<Xrm.ConnectionRole> createdby_connection_role
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ConnectionRole>("createdby_connection_role", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ConnectionRole>("createdby_connection_role", "createdby_connection_role", null, value);
			}
		}
		
		/// <summary>
		/// 1:N createdby_customer_relationship
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_customer_relationship")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerRelationship> createdby_customer_relationship
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerRelationship>("createdby_customer_relationship", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerRelationship>("createdby_customer_relationship", "createdby_customer_relationship", null, value);
			}
		}
		
		/// <summary>
		/// 1:N createdby_entitymap
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_entitymap")]
		public System.Collections.Generic.IEnumerable<Xrm.EntityMap> createdby_entitymap
		{
			get
			{
				return this.GetRelatedEntities<Xrm.EntityMap>("createdby_entitymap", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.EntityMap>("createdby_entitymap", "createdby_entitymap", null, value);
			}
		}
		
		/// <summary>
		/// 1:N createdby_pluginassembly
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_pluginassembly")]
		public System.Collections.Generic.IEnumerable<Xrm.PluginAssembly> createdby_pluginassembly
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PluginAssembly>("createdby_pluginassembly", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PluginAssembly>("createdby_pluginassembly", "createdby_pluginassembly", null, value);
			}
		}
		
		/// <summary>
		/// 1:N createdby_plugintype
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_plugintype")]
		public System.Collections.Generic.IEnumerable<Xrm.PluginType> createdby_plugintype
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PluginType>("createdby_plugintype", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PluginType>("createdby_plugintype", "createdby_plugintype", null, value);
			}
		}
		
		/// <summary>
		/// 1:N createdby_plugintypestatistic
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_plugintypestatistic")]
		public System.Collections.Generic.IEnumerable<Xrm.PluginTypeStatistic> createdby_plugintypestatistic
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PluginTypeStatistic>("createdby_plugintypestatistic", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PluginTypeStatistic>("createdby_plugintypestatistic", "createdby_plugintypestatistic", null, value);
			}
		}
		
		/// <summary>
		/// 1:N createdby_relationship_role
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_relationship_role")]
		public System.Collections.Generic.IEnumerable<Xrm.RelationshipRole> createdby_relationship_role
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RelationshipRole>("createdby_relationship_role", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RelationshipRole>("createdby_relationship_role", "createdby_relationship_role", null, value);
			}
		}
		
		/// <summary>
		/// 1:N createdby_relationship_role_map
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_relationship_role_map")]
		public System.Collections.Generic.IEnumerable<Xrm.RelationshipRoleMap> createdby_relationship_role_map
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RelationshipRoleMap>("createdby_relationship_role_map", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RelationshipRoleMap>("createdby_relationship_role_map", "createdby_relationship_role_map", null, value);
			}
		}
		
		/// <summary>
		/// 1:N createdby_sdkmessage
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_sdkmessage")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessage> createdby_sdkmessage
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessage>("createdby_sdkmessage", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessage>("createdby_sdkmessage", "createdby_sdkmessage", null, value);
			}
		}
		
		/// <summary>
		/// 1:N createdby_sdkmessagefilter
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_sdkmessagefilter")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageFilter> createdby_sdkmessagefilter
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageFilter>("createdby_sdkmessagefilter", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageFilter>("createdby_sdkmessagefilter", "createdby_sdkmessagefilter", null, value);
			}
		}
		
		/// <summary>
		/// 1:N createdby_sdkmessagepair
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_sdkmessagepair")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessagePair> createdby_sdkmessagepair
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessagePair>("createdby_sdkmessagepair", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessagePair>("createdby_sdkmessagepair", "createdby_sdkmessagepair", null, value);
			}
		}
		
		/// <summary>
		/// 1:N createdby_sdkmessageprocessingstep
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_sdkmessageprocessingstep")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageProcessingStep> createdby_sdkmessageprocessingstep
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageProcessingStep>("createdby_sdkmessageprocessingstep", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageProcessingStep>("createdby_sdkmessageprocessingstep", "createdby_sdkmessageprocessingstep", null, value);
			}
		}
		
		/// <summary>
		/// 1:N createdby_sdkmessageprocessingstepimage
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_sdkmessageprocessingstepimage")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageProcessingStepImage> createdby_sdkmessageprocessingstepimage
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageProcessingStepImage>("createdby_sdkmessageprocessingstepimage", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageProcessingStepImage>("createdby_sdkmessageprocessingstepimage", "createdby_sdkmessageprocessingstepimage", null, value);
			}
		}
		
		/// <summary>
		/// 1:N createdby_sdkmessageprocessingstepsecureconfig
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_sdkmessageprocessingstepsecureconfig")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageProcessingStepSecureConfig> createdby_sdkmessageprocessingstepsecureconfig
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageProcessingStepSecureConfig>("createdby_sdkmessageprocessingstepsecureconfig", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageProcessingStepSecureConfig>("createdby_sdkmessageprocessingstepsecureconfig", "createdby_sdkmessageprocessingstepsecureconfig", null, value);
			}
		}
		
		/// <summary>
		/// 1:N createdby_sdkmessagerequest
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_sdkmessagerequest")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageRequest> createdby_sdkmessagerequest
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageRequest>("createdby_sdkmessagerequest", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageRequest>("createdby_sdkmessagerequest", "createdby_sdkmessagerequest", null, value);
			}
		}
		
		/// <summary>
		/// 1:N createdby_sdkmessagerequestfield
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_sdkmessagerequestfield")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageRequestField> createdby_sdkmessagerequestfield
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageRequestField>("createdby_sdkmessagerequestfield", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageRequestField>("createdby_sdkmessagerequestfield", "createdby_sdkmessagerequestfield", null, value);
			}
		}
		
		/// <summary>
		/// 1:N createdby_sdkmessageresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_sdkmessageresponse")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageResponse> createdby_sdkmessageresponse
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageResponse>("createdby_sdkmessageresponse", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageResponse>("createdby_sdkmessageresponse", "createdby_sdkmessageresponse", null, value);
			}
		}
		
		/// <summary>
		/// 1:N createdby_sdkmessageresponsefield
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_sdkmessageresponsefield")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageResponseField> createdby_sdkmessageresponsefield
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageResponseField>("createdby_sdkmessageresponsefield", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageResponseField>("createdby_sdkmessageresponsefield", "createdby_sdkmessageresponsefield", null, value);
			}
		}
		
		/// <summary>
		/// 1:N createdby_serviceendpoint
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdby_serviceendpoint")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceEndpoint> createdby_serviceendpoint
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceEndpoint>("createdby_serviceendpoint", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceEndpoint>("createdby_serviceendpoint", "createdby_serviceendpoint", null, value);
			}
		}
		
		/// <summary>
		/// 1:N createdonbehalfby_attributemap
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdonbehalfby_attributemap")]
		public System.Collections.Generic.IEnumerable<Xrm.AttributeMap> createdonbehalfby_attributemap
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AttributeMap>("createdonbehalfby_attributemap", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AttributeMap>("createdonbehalfby_attributemap", "createdonbehalfby_attributemap", null, value);
			}
		}
		
		/// <summary>
		/// 1:N createdonbehalfby_customer_relationship
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("createdonbehalfby_customer_relationship")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerRelationship> createdonbehalfby_customer_relationship
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerRelationship>("createdonbehalfby_customer_relationship", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerRelationship>("createdonbehalfby_customer_relationship", "createdonbehalfby_customer_relationship", null, value);
			}
		}
		
		/// <summary>
		/// 1:N equipment_systemuser
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("equipment_systemuser")]
		public System.Collections.Generic.IEnumerable<Xrm.Equipment> equipment_systemuser
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Equipment>("equipment_systemuser", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Equipment>("equipment_systemuser", "equipment_systemuser", null, value);
			}
		}
		
		/// <summary>
		/// 1:N impersonatinguserid_sdkmessageprocessingstep
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("impersonatinguserid_sdkmessageprocessingstep")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageProcessingStep> impersonatinguserid_sdkmessageprocessingstep
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageProcessingStep>("impersonatinguserid_sdkmessageprocessingstep", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageProcessingStep>("impersonatinguserid_sdkmessageprocessingstep", "impersonatinguserid_sdkmessageprocessingstep", null, value);
			}
		}
		
		/// <summary>
		/// 1:N ImportFile_SystemUser
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ImportFile_SystemUser")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportFile> ImportFile_SystemUser
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportFile>("ImportFile_SystemUser", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportFile>("ImportFile_SystemUser", "ImportFile_SystemUser", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lead_owning_user
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lead_owning_user")]
		public System.Collections.Generic.IEnumerable<Xrm.Lead> lead_owning_user
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Lead>("lead_owning_user", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Lead>("lead_owning_user", "lead_owning_user", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_accountbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_accountbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Account> lk_accountbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Account>("lk_accountbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Account>("lk_accountbase_createdby", "lk_accountbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_accountbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_accountbase_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Account> lk_accountbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Account>("lk_accountbase_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Account>("lk_accountbase_createdonbehalfby", "lk_accountbase_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_accountbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_accountbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Account> lk_accountbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Account>("lk_accountbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Account>("lk_accountbase_modifiedby", "lk_accountbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_accountbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_accountbase_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Account> lk_accountbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Account>("lk_accountbase_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Account>("lk_accountbase_modifiedonbehalfby", "lk_accountbase_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_activitypointer_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_activitypointer_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityPointer> lk_activitypointer_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityPointer>("lk_activitypointer_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityPointer>("lk_activitypointer_createdby", "lk_activitypointer_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_activitypointer_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_activitypointer_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityPointer> lk_activitypointer_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityPointer>("lk_activitypointer_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityPointer>("lk_activitypointer_createdonbehalfby", "lk_activitypointer_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_activitypointer_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_activitypointer_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityPointer> lk_activitypointer_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityPointer>("lk_activitypointer_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityPointer>("lk_activitypointer_modifiedby", "lk_activitypointer_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_activitypointer_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_activitypointer_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityPointer> lk_activitypointer_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityPointer>("lk_activitypointer_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityPointer>("lk_activitypointer_modifiedonbehalfby", "lk_activitypointer_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_annotationbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_annotationbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> lk_annotationbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("lk_annotationbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("lk_annotationbase_createdby", "lk_annotationbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_annotationbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_annotationbase_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> lk_annotationbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("lk_annotationbase_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("lk_annotationbase_createdonbehalfby", "lk_annotationbase_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_annotationbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_annotationbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> lk_annotationbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("lk_annotationbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("lk_annotationbase_modifiedby", "lk_annotationbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_annotationbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_annotationbase_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> lk_annotationbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("lk_annotationbase_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("lk_annotationbase_modifiedonbehalfby", "lk_annotationbase_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_annualfiscalcalendar_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_annualfiscalcalendar_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.AnnualFiscalCalendar> lk_annualfiscalcalendar_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AnnualFiscalCalendar>("lk_annualfiscalcalendar_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AnnualFiscalCalendar>("lk_annualfiscalcalendar_createdby", "lk_annualfiscalcalendar_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_annualfiscalcalendar_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_annualfiscalcalendar_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.AnnualFiscalCalendar> lk_annualfiscalcalendar_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AnnualFiscalCalendar>("lk_annualfiscalcalendar_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AnnualFiscalCalendar>("lk_annualfiscalcalendar_createdonbehalfby", "lk_annualfiscalcalendar_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_annualfiscalcalendar_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_annualfiscalcalendar_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.AnnualFiscalCalendar> lk_annualfiscalcalendar_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AnnualFiscalCalendar>("lk_annualfiscalcalendar_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AnnualFiscalCalendar>("lk_annualfiscalcalendar_modifiedby", "lk_annualfiscalcalendar_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_annualfiscalcalendar_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_annualfiscalcalendar_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.AnnualFiscalCalendar> lk_annualfiscalcalendar_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AnnualFiscalCalendar>("lk_annualfiscalcalendar_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AnnualFiscalCalendar>("lk_annualfiscalcalendar_modifiedonbehalfby", "lk_annualfiscalcalendar_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_annualfiscalcalendar_salespersonid
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_annualfiscalcalendar_salespersonid")]
		public System.Collections.Generic.IEnumerable<Xrm.AnnualFiscalCalendar> lk_annualfiscalcalendar_salespersonid
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AnnualFiscalCalendar>("lk_annualfiscalcalendar_salespersonid", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AnnualFiscalCalendar>("lk_annualfiscalcalendar_salespersonid", "lk_annualfiscalcalendar_salespersonid", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_appointment_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_appointment_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Appointment> lk_appointment_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Appointment>("lk_appointment_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Appointment>("lk_appointment_createdby", "lk_appointment_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_appointment_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_appointment_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Appointment> lk_appointment_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Appointment>("lk_appointment_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Appointment>("lk_appointment_createdonbehalfby", "lk_appointment_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_appointment_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_appointment_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Appointment> lk_appointment_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Appointment>("lk_appointment_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Appointment>("lk_appointment_modifiedby", "lk_appointment_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_appointment_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_appointment_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Appointment> lk_appointment_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Appointment>("lk_appointment_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Appointment>("lk_appointment_modifiedonbehalfby", "lk_appointment_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_asyncoperation_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_asyncoperation_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> lk_asyncoperation_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("lk_asyncoperation_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("lk_asyncoperation_createdby", "lk_asyncoperation_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_asyncoperation_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_asyncoperation_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> lk_asyncoperation_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("lk_asyncoperation_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("lk_asyncoperation_createdonbehalfby", "lk_asyncoperation_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_asyncoperation_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_asyncoperation_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> lk_asyncoperation_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("lk_asyncoperation_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("lk_asyncoperation_modifiedby", "lk_asyncoperation_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_asyncoperation_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_asyncoperation_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> lk_asyncoperation_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("lk_asyncoperation_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("lk_asyncoperation_modifiedonbehalfby", "lk_asyncoperation_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_audit_callinguserid
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_audit_callinguserid")]
		public System.Collections.Generic.IEnumerable<Xrm.Audit> lk_audit_callinguserid
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Audit>("lk_audit_callinguserid", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Audit>("lk_audit_callinguserid", "lk_audit_callinguserid", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_audit_userid
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_audit_userid")]
		public System.Collections.Generic.IEnumerable<Xrm.Audit> lk_audit_userid
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Audit>("lk_audit_userid", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Audit>("lk_audit_userid", "lk_audit_userid", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_bulkdeleteoperation_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_bulkdeleteoperation_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteOperation> lk_bulkdeleteoperation_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteOperation>("lk_bulkdeleteoperation_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteOperation>("lk_bulkdeleteoperation_createdonbehalfby", "lk_bulkdeleteoperation_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_bulkdeleteoperation_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_bulkdeleteoperation_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteOperation> lk_bulkdeleteoperation_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteOperation>("lk_bulkdeleteoperation_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteOperation>("lk_bulkdeleteoperation_modifiedonbehalfby", "lk_bulkdeleteoperation_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_bulkdeleteoperationbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_bulkdeleteoperationbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteOperation> lk_bulkdeleteoperationbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteOperation>("lk_bulkdeleteoperationbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteOperation>("lk_bulkdeleteoperationbase_createdby", "lk_bulkdeleteoperationbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_bulkdeleteoperationbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_bulkdeleteoperationbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteOperation> lk_bulkdeleteoperationbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteOperation>("lk_bulkdeleteoperationbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteOperation>("lk_bulkdeleteoperationbase_modifiedby", "lk_bulkdeleteoperationbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_BulkOperation_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_BulkOperation_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkOperation> lk_BulkOperation_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkOperation>("lk_BulkOperation_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkOperation>("lk_BulkOperation_createdby", "lk_BulkOperation_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_BulkOperation_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_BulkOperation_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkOperation> lk_BulkOperation_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkOperation>("lk_BulkOperation_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkOperation>("lk_BulkOperation_createdonbehalfby", "lk_BulkOperation_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_BulkOperation_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_BulkOperation_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkOperation> lk_BulkOperation_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkOperation>("lk_BulkOperation_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkOperation>("lk_BulkOperation_modifiedby", "lk_BulkOperation_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_BulkOperation_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_BulkOperation_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkOperation> lk_BulkOperation_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkOperation>("lk_BulkOperation_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkOperation>("lk_BulkOperation_modifiedonbehalfby", "lk_BulkOperation_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_businessunit_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_businessunit_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.BusinessUnit> lk_businessunit_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BusinessUnit>("lk_businessunit_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BusinessUnit>("lk_businessunit_createdonbehalfby", "lk_businessunit_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_businessunit_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_businessunit_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.BusinessUnit> lk_businessunit_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BusinessUnit>("lk_businessunit_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BusinessUnit>("lk_businessunit_modifiedonbehalfby", "lk_businessunit_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_businessunitbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_businessunitbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.BusinessUnit> lk_businessunitbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BusinessUnit>("lk_businessunitbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BusinessUnit>("lk_businessunitbase_createdby", "lk_businessunitbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_businessunitbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_businessunitbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.BusinessUnit> lk_businessunitbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BusinessUnit>("lk_businessunitbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BusinessUnit>("lk_businessunitbase_modifiedby", "lk_businessunitbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_businessunitnewsarticle_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_businessunitnewsarticle_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.BusinessUnitNewsArticle> lk_businessunitnewsarticle_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BusinessUnitNewsArticle>("lk_businessunitnewsarticle_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BusinessUnitNewsArticle>("lk_businessunitnewsarticle_createdonbehalfby", "lk_businessunitnewsarticle_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_businessunitnewsarticle_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_businessunitnewsarticle_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.BusinessUnitNewsArticle> lk_businessunitnewsarticle_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BusinessUnitNewsArticle>("lk_businessunitnewsarticle_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BusinessUnitNewsArticle>("lk_businessunitnewsarticle_modifiedonbehalfby", "lk_businessunitnewsarticle_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_businessunitnewsarticlebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_businessunitnewsarticlebase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.BusinessUnitNewsArticle> lk_businessunitnewsarticlebase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BusinessUnitNewsArticle>("lk_businessunitnewsarticlebase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BusinessUnitNewsArticle>("lk_businessunitnewsarticlebase_createdby", "lk_businessunitnewsarticlebase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_businessunitnewsarticlebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_businessunitnewsarticlebase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.BusinessUnitNewsArticle> lk_businessunitnewsarticlebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BusinessUnitNewsArticle>("lk_businessunitnewsarticlebase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BusinessUnitNewsArticle>("lk_businessunitnewsarticlebase_modifiedby", "lk_businessunitnewsarticlebase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_calendar_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_calendar_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Calendar> lk_calendar_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Calendar>("lk_calendar_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Calendar>("lk_calendar_createdby", "lk_calendar_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_calendar_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_calendar_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Calendar> lk_calendar_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Calendar>("lk_calendar_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Calendar>("lk_calendar_createdonbehalfby", "lk_calendar_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_calendar_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_calendar_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Calendar> lk_calendar_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Calendar>("lk_calendar_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Calendar>("lk_calendar_modifiedby", "lk_calendar_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_calendar_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_calendar_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Calendar> lk_calendar_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Calendar>("lk_calendar_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Calendar>("lk_calendar_modifiedonbehalfby", "lk_calendar_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_campaign_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_campaign_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Campaign> lk_campaign_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Campaign>("lk_campaign_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Campaign>("lk_campaign_createdby", "lk_campaign_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_campaign_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_campaign_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Campaign> lk_campaign_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Campaign>("lk_campaign_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Campaign>("lk_campaign_createdonbehalfby", "lk_campaign_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_campaign_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_campaign_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Campaign> lk_campaign_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Campaign>("lk_campaign_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Campaign>("lk_campaign_modifiedby", "lk_campaign_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_campaign_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_campaign_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Campaign> lk_campaign_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Campaign>("lk_campaign_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Campaign>("lk_campaign_modifiedonbehalfby", "lk_campaign_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_campaignactivity_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_campaignactivity_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignActivity> lk_campaignactivity_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignActivity>("lk_campaignactivity_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignActivity>("lk_campaignactivity_createdby", "lk_campaignactivity_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_campaignactivity_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_campaignactivity_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignActivity> lk_campaignactivity_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignActivity>("lk_campaignactivity_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignActivity>("lk_campaignactivity_createdonbehalfby", "lk_campaignactivity_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_campaignactivity_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_campaignactivity_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignActivity> lk_campaignactivity_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignActivity>("lk_campaignactivity_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignActivity>("lk_campaignactivity_modifiedby", "lk_campaignactivity_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_campaignactivity_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_campaignactivity_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignActivity> lk_campaignactivity_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignActivity>("lk_campaignactivity_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignActivity>("lk_campaignactivity_modifiedonbehalfby", "lk_campaignactivity_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_campaignresponse_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_campaignresponse_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignResponse> lk_campaignresponse_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignResponse>("lk_campaignresponse_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignResponse>("lk_campaignresponse_createdby", "lk_campaignresponse_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_campaignresponse_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_campaignresponse_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignResponse> lk_campaignresponse_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignResponse>("lk_campaignresponse_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignResponse>("lk_campaignresponse_createdonbehalfby", "lk_campaignresponse_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_campaignresponse_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_campaignresponse_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignResponse> lk_campaignresponse_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignResponse>("lk_campaignresponse_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignResponse>("lk_campaignresponse_modifiedby", "lk_campaignresponse_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_campaignresponse_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_campaignresponse_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignResponse> lk_campaignresponse_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignResponse>("lk_campaignresponse_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignResponse>("lk_campaignresponse_modifiedonbehalfby", "lk_campaignresponse_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_columnmapping_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_columnmapping_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.ColumnMapping> lk_columnmapping_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ColumnMapping>("lk_columnmapping_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ColumnMapping>("lk_columnmapping_createdby", "lk_columnmapping_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_columnmapping_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_columnmapping_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ColumnMapping> lk_columnmapping_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ColumnMapping>("lk_columnmapping_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ColumnMapping>("lk_columnmapping_createdonbehalfby", "lk_columnmapping_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_columnmapping_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_columnmapping_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.ColumnMapping> lk_columnmapping_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ColumnMapping>("lk_columnmapping_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ColumnMapping>("lk_columnmapping_modifiedby", "lk_columnmapping_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_columnmapping_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_columnmapping_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ColumnMapping> lk_columnmapping_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ColumnMapping>("lk_columnmapping_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ColumnMapping>("lk_columnmapping_modifiedonbehalfby", "lk_columnmapping_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_competitor_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_competitor_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Competitor> lk_competitor_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Competitor>("lk_competitor_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Competitor>("lk_competitor_createdonbehalfby", "lk_competitor_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_competitor_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_competitor_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Competitor> lk_competitor_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Competitor>("lk_competitor_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Competitor>("lk_competitor_modifiedonbehalfby", "lk_competitor_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_competitorbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_competitorbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Competitor> lk_competitorbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Competitor>("lk_competitorbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Competitor>("lk_competitorbase_createdby", "lk_competitorbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_competitorbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_competitorbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Competitor> lk_competitorbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Competitor>("lk_competitorbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Competitor>("lk_competitorbase_modifiedby", "lk_competitorbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_connectionbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_connectionbase_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> lk_connectionbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("lk_connectionbase_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("lk_connectionbase_createdonbehalfby", "lk_connectionbase_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_connectionbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_connectionbase_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> lk_connectionbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("lk_connectionbase_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("lk_connectionbase_modifiedonbehalfby", "lk_connectionbase_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_connectionrolebase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_connectionrolebase_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ConnectionRole> lk_connectionrolebase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ConnectionRole>("lk_connectionrolebase_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ConnectionRole>("lk_connectionrolebase_createdonbehalfby", "lk_connectionrolebase_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_connectionrolebase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_connectionrolebase_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ConnectionRole> lk_connectionrolebase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ConnectionRole>("lk_connectionrolebase_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ConnectionRole>("lk_connectionrolebase_modifiedonbehalfby", "lk_connectionrolebase_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_constraintbasedgroup_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_constraintbasedgroup_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.ConstraintBasedGroup> lk_constraintbasedgroup_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ConstraintBasedGroup>("lk_constraintbasedgroup_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ConstraintBasedGroup>("lk_constraintbasedgroup_createdby", "lk_constraintbasedgroup_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_constraintbasedgroup_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_constraintbasedgroup_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ConstraintBasedGroup> lk_constraintbasedgroup_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ConstraintBasedGroup>("lk_constraintbasedgroup_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ConstraintBasedGroup>("lk_constraintbasedgroup_createdonbehalfby", "lk_constraintbasedgroup_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_constraintbasedgroup_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_constraintbasedgroup_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.ConstraintBasedGroup> lk_constraintbasedgroup_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ConstraintBasedGroup>("lk_constraintbasedgroup_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ConstraintBasedGroup>("lk_constraintbasedgroup_modifiedby", "lk_constraintbasedgroup_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_constraintbasedgroup_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_constraintbasedgroup_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ConstraintBasedGroup> lk_constraintbasedgroup_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ConstraintBasedGroup>("lk_constraintbasedgroup_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ConstraintBasedGroup>("lk_constraintbasedgroup_modifiedonbehalfby", "lk_constraintbasedgroup_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_contact_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contact_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Contact> lk_contact_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contact>("lk_contact_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contact>("lk_contact_createdonbehalfby", "lk_contact_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_contact_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contact_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Contact> lk_contact_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contact>("lk_contact_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contact>("lk_contact_modifiedonbehalfby", "lk_contact_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_contactbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contactbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Contact> lk_contactbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contact>("lk_contactbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contact>("lk_contactbase_createdby", "lk_contactbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_contactbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contactbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Contact> lk_contactbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contact>("lk_contactbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contact>("lk_contactbase_modifiedby", "lk_contactbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_contract_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contract_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Contract> lk_contract_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contract>("lk_contract_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contract>("lk_contract_createdonbehalfby", "lk_contract_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_contract_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contract_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Contract> lk_contract_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contract>("lk_contract_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contract>("lk_contract_modifiedonbehalfby", "lk_contract_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_contractbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contractbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Contract> lk_contractbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contract>("lk_contractbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contract>("lk_contractbase_createdby", "lk_contractbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_contractbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contractbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Contract> lk_contractbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contract>("lk_contractbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contract>("lk_contractbase_modifiedby", "lk_contractbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_contractdetail_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contractdetail_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ContractDetail> lk_contractdetail_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ContractDetail>("lk_contractdetail_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ContractDetail>("lk_contractdetail_createdonbehalfby", "lk_contractdetail_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_contractdetail_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contractdetail_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ContractDetail> lk_contractdetail_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ContractDetail>("lk_contractdetail_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ContractDetail>("lk_contractdetail_modifiedonbehalfby", "lk_contractdetail_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_contractdetailbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contractdetailbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.ContractDetail> lk_contractdetailbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ContractDetail>("lk_contractdetailbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ContractDetail>("lk_contractdetailbase_createdby", "lk_contractdetailbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_contractdetailbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contractdetailbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.ContractDetail> lk_contractdetailbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ContractDetail>("lk_contractdetailbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ContractDetail>("lk_contractdetailbase_modifiedby", "lk_contractdetailbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_contracttemplate_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contracttemplate_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ContractTemplate> lk_contracttemplate_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ContractTemplate>("lk_contracttemplate_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ContractTemplate>("lk_contracttemplate_createdonbehalfby", "lk_contracttemplate_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_contracttemplate_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contracttemplate_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ContractTemplate> lk_contracttemplate_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ContractTemplate>("lk_contracttemplate_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ContractTemplate>("lk_contracttemplate_modifiedonbehalfby", "lk_contracttemplate_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_contracttemplatebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contracttemplatebase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.ContractTemplate> lk_contracttemplatebase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ContractTemplate>("lk_contracttemplatebase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ContractTemplate>("lk_contracttemplatebase_createdby", "lk_contracttemplatebase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_contracttemplatebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_contracttemplatebase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.ContractTemplate> lk_contracttemplatebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ContractTemplate>("lk_contracttemplatebase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ContractTemplate>("lk_contracttemplatebase_modifiedby", "lk_contracttemplatebase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_customeraddress_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_customeraddress_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerAddress> lk_customeraddress_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerAddress>("lk_customeraddress_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerAddress>("lk_customeraddress_createdonbehalfby", "lk_customeraddress_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_customeraddress_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_customeraddress_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerAddress> lk_customeraddress_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerAddress>("lk_customeraddress_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerAddress>("lk_customeraddress_modifiedonbehalfby", "lk_customeraddress_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_customeraddressbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_customeraddressbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerAddress> lk_customeraddressbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerAddress>("lk_customeraddressbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerAddress>("lk_customeraddressbase_createdby", "lk_customeraddressbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_customeraddressbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_customeraddressbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerAddress> lk_customeraddressbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerAddress>("lk_customeraddressbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerAddress>("lk_customeraddressbase_modifiedby", "lk_customeraddressbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_customeropportunityrole_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_customeropportunityrole_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerOpportunityRole> lk_customeropportunityrole_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerOpportunityRole>("lk_customeropportunityrole_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerOpportunityRole>("lk_customeropportunityrole_createdby", "lk_customeropportunityrole_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_customeropportunityrole_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_customeropportunityrole_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerOpportunityRole> lk_customeropportunityrole_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerOpportunityRole>("lk_customeropportunityrole_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerOpportunityRole>("lk_customeropportunityrole_createdonbehalfby", "lk_customeropportunityrole_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_customeropportunityrole_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_customeropportunityrole_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerOpportunityRole> lk_customeropportunityrole_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerOpportunityRole>("lk_customeropportunityrole_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerOpportunityRole>("lk_customeropportunityrole_modifiedby", "lk_customeropportunityrole_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_customeropportunityrole_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_customeropportunityrole_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerOpportunityRole> lk_customeropportunityrole_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerOpportunityRole>("lk_customeropportunityrole_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerOpportunityRole>("lk_customeropportunityrole_modifiedonbehalfby", "lk_customeropportunityrole_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_discount_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_discount_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Discount> lk_discount_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Discount>("lk_discount_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Discount>("lk_discount_createdonbehalfby", "lk_discount_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_discount_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_discount_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Discount> lk_discount_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Discount>("lk_discount_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Discount>("lk_discount_modifiedonbehalfby", "lk_discount_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_discountbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_discountbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Discount> lk_discountbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Discount>("lk_discountbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Discount>("lk_discountbase_createdby", "lk_discountbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_discountbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_discountbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Discount> lk_discountbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Discount>("lk_discountbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Discount>("lk_discountbase_modifiedby", "lk_discountbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_discounttype_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_discounttype_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.DiscountType> lk_discounttype_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DiscountType>("lk_discounttype_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DiscountType>("lk_discounttype_createdonbehalfby", "lk_discounttype_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_discounttype_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_discounttype_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.DiscountType> lk_discounttype_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DiscountType>("lk_discounttype_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DiscountType>("lk_discounttype_modifiedonbehalfby", "lk_discounttype_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_discounttypebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_discounttypebase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.DiscountType> lk_discounttypebase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DiscountType>("lk_discounttypebase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DiscountType>("lk_discounttypebase_createdby", "lk_discounttypebase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_discounttypebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_discounttypebase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.DiscountType> lk_discounttypebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DiscountType>("lk_discounttypebase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DiscountType>("lk_discounttypebase_modifiedby", "lk_discounttypebase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_DisplayStringbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_DisplayStringbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.DisplayString> lk_DisplayStringbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DisplayString>("lk_DisplayStringbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DisplayString>("lk_DisplayStringbase_createdby", "lk_DisplayStringbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_DisplayStringbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_DisplayStringbase_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.DisplayString> lk_DisplayStringbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DisplayString>("lk_DisplayStringbase_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DisplayString>("lk_DisplayStringbase_createdonbehalfby", "lk_DisplayStringbase_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_DisplayStringbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_DisplayStringbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.DisplayString> lk_DisplayStringbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DisplayString>("lk_DisplayStringbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DisplayString>("lk_DisplayStringbase_modifiedby", "lk_DisplayStringbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_DisplayStringbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_DisplayStringbase_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.DisplayString> lk_DisplayStringbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DisplayString>("lk_DisplayStringbase_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DisplayString>("lk_DisplayStringbase_modifiedonbehalfby", "lk_DisplayStringbase_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_duplicaterule_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_duplicaterule_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRule> lk_duplicaterule_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRule>("lk_duplicaterule_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRule>("lk_duplicaterule_createdonbehalfby", "lk_duplicaterule_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_duplicaterule_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_duplicaterule_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRule> lk_duplicaterule_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRule>("lk_duplicaterule_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRule>("lk_duplicaterule_modifiedonbehalfby", "lk_duplicaterule_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_duplicaterulebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_duplicaterulebase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRule> lk_duplicaterulebase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRule>("lk_duplicaterulebase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRule>("lk_duplicaterulebase_createdby", "lk_duplicaterulebase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_duplicaterulebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_duplicaterulebase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRule> lk_duplicaterulebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRule>("lk_duplicaterulebase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRule>("lk_duplicaterulebase_modifiedby", "lk_duplicaterulebase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_duplicaterulecondition_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_duplicaterulecondition_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRuleCondition> lk_duplicaterulecondition_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRuleCondition>("lk_duplicaterulecondition_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRuleCondition>("lk_duplicaterulecondition_createdonbehalfby", "lk_duplicaterulecondition_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_duplicaterulecondition_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_duplicaterulecondition_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRuleCondition> lk_duplicaterulecondition_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRuleCondition>("lk_duplicaterulecondition_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRuleCondition>("lk_duplicaterulecondition_modifiedonbehalfby", "lk_duplicaterulecondition_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_duplicateruleconditionbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_duplicateruleconditionbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRuleCondition> lk_duplicateruleconditionbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRuleCondition>("lk_duplicateruleconditionbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRuleCondition>("lk_duplicateruleconditionbase_createdby", "lk_duplicateruleconditionbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_duplicateruleconditionbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_duplicateruleconditionbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRuleCondition> lk_duplicateruleconditionbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRuleCondition>("lk_duplicateruleconditionbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRuleCondition>("lk_duplicateruleconditionbase_modifiedby", "lk_duplicateruleconditionbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_email_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_email_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Email> lk_email_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Email>("lk_email_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Email>("lk_email_createdby", "lk_email_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_email_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_email_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Email> lk_email_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Email>("lk_email_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Email>("lk_email_createdonbehalfby", "lk_email_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_email_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_email_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Email> lk_email_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Email>("lk_email_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Email>("lk_email_modifiedby", "lk_email_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_email_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_email_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Email> lk_email_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Email>("lk_email_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Email>("lk_email_modifiedonbehalfby", "lk_email_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_entitymap_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_entitymap_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.EntityMap> lk_entitymap_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.EntityMap>("lk_entitymap_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.EntityMap>("lk_entitymap_createdonbehalfby", "lk_entitymap_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_entitymap_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_entitymap_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.EntityMap> lk_entitymap_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.EntityMap>("lk_entitymap_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.EntityMap>("lk_entitymap_modifiedonbehalfby", "lk_entitymap_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_equipment_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_equipment_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Equipment> lk_equipment_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Equipment>("lk_equipment_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Equipment>("lk_equipment_createdby", "lk_equipment_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_equipment_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_equipment_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Equipment> lk_equipment_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Equipment>("lk_equipment_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Equipment>("lk_equipment_createdonbehalfby", "lk_equipment_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_equipment_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_equipment_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Equipment> lk_equipment_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Equipment>("lk_equipment_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Equipment>("lk_equipment_modifiedby", "lk_equipment_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_equipment_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_equipment_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Equipment> lk_equipment_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Equipment>("lk_equipment_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Equipment>("lk_equipment_modifiedonbehalfby", "lk_equipment_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_fax_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fax_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Fax> lk_fax_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Fax>("lk_fax_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Fax>("lk_fax_createdby", "lk_fax_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_fax_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fax_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Fax> lk_fax_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Fax>("lk_fax_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Fax>("lk_fax_createdonbehalfby", "lk_fax_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_fax_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fax_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Fax> lk_fax_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Fax>("lk_fax_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Fax>("lk_fax_modifiedby", "lk_fax_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_fax_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fax_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Fax> lk_fax_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Fax>("lk_fax_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Fax>("lk_fax_modifiedonbehalfby", "lk_fax_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_fieldsecurityprofile_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fieldsecurityprofile_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.FieldSecurityProfile> lk_fieldsecurityprofile_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.FieldSecurityProfile>("lk_fieldsecurityprofile_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.FieldSecurityProfile>("lk_fieldsecurityprofile_createdby", "lk_fieldsecurityprofile_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_fieldsecurityprofile_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fieldsecurityprofile_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.FieldSecurityProfile> lk_fieldsecurityprofile_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.FieldSecurityProfile>("lk_fieldsecurityprofile_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.FieldSecurityProfile>("lk_fieldsecurityprofile_createdonbehalfby", "lk_fieldsecurityprofile_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_fieldsecurityprofile_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fieldsecurityprofile_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.FieldSecurityProfile> lk_fieldsecurityprofile_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.FieldSecurityProfile>("lk_fieldsecurityprofile_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.FieldSecurityProfile>("lk_fieldsecurityprofile_modifiedby", "lk_fieldsecurityprofile_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_fieldsecurityprofile_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fieldsecurityprofile_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.FieldSecurityProfile> lk_fieldsecurityprofile_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.FieldSecurityProfile>("lk_fieldsecurityprofile_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.FieldSecurityProfile>("lk_fieldsecurityprofile_modifiedonbehalfby", "lk_fieldsecurityprofile_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_fixedmonthlyfiscalcalendar_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fixedmonthlyfiscalcalendar_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.FixedMonthlyFiscalCalendar> lk_fixedmonthlyfiscalcalendar_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.FixedMonthlyFiscalCalendar>("lk_fixedmonthlyfiscalcalendar_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.FixedMonthlyFiscalCalendar>("lk_fixedmonthlyfiscalcalendar_createdby", "lk_fixedmonthlyfiscalcalendar_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_fixedmonthlyfiscalcalendar_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fixedmonthlyfiscalcalendar_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.FixedMonthlyFiscalCalendar> lk_fixedmonthlyfiscalcalendar_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.FixedMonthlyFiscalCalendar>("lk_fixedmonthlyfiscalcalendar_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.FixedMonthlyFiscalCalendar>("lk_fixedmonthlyfiscalcalendar_createdonbehalfby", "lk_fixedmonthlyfiscalcalendar_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_fixedmonthlyfiscalcalendar_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fixedmonthlyfiscalcalendar_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.FixedMonthlyFiscalCalendar> lk_fixedmonthlyfiscalcalendar_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.FixedMonthlyFiscalCalendar>("lk_fixedmonthlyfiscalcalendar_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.FixedMonthlyFiscalCalendar>("lk_fixedmonthlyfiscalcalendar_modifiedby", "lk_fixedmonthlyfiscalcalendar_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_fixedmonthlyfiscalcalendar_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fixedmonthlyfiscalcalendar_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.FixedMonthlyFiscalCalendar> lk_fixedmonthlyfiscalcalendar_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.FixedMonthlyFiscalCalendar>("lk_fixedmonthlyfiscalcalendar_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.FixedMonthlyFiscalCalendar>("lk_fixedmonthlyfiscalcalendar_modifiedonbehalfby", "lk_fixedmonthlyfiscalcalendar_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_fixedmonthlyfiscalcalendar_salespersonid
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_fixedmonthlyfiscalcalendar_salespersonid")]
		public System.Collections.Generic.IEnumerable<Xrm.FixedMonthlyFiscalCalendar> lk_fixedmonthlyfiscalcalendar_salespersonid
		{
			get
			{
				return this.GetRelatedEntities<Xrm.FixedMonthlyFiscalCalendar>("lk_fixedmonthlyfiscalcalendar_salespersonid", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.FixedMonthlyFiscalCalendar>("lk_fixedmonthlyfiscalcalendar_salespersonid", "lk_fixedmonthlyfiscalcalendar_salespersonid", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_goal_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_goal_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Goal> lk_goal_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Goal>("lk_goal_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Goal>("lk_goal_createdby", "lk_goal_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_goal_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_goal_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Goal> lk_goal_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Goal>("lk_goal_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Goal>("lk_goal_createdonbehalfby", "lk_goal_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_goal_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_goal_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Goal> lk_goal_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Goal>("lk_goal_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Goal>("lk_goal_modifiedby", "lk_goal_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_goal_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_goal_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Goal> lk_goal_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Goal>("lk_goal_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Goal>("lk_goal_modifiedonbehalfby", "lk_goal_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_goalrollupquery_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_goalrollupquery_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.GoalRollupQuery> lk_goalrollupquery_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.GoalRollupQuery>("lk_goalrollupquery_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.GoalRollupQuery>("lk_goalrollupquery_createdby", "lk_goalrollupquery_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_goalrollupquery_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_goalrollupquery_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.GoalRollupQuery> lk_goalrollupquery_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.GoalRollupQuery>("lk_goalrollupquery_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.GoalRollupQuery>("lk_goalrollupquery_createdonbehalfby", "lk_goalrollupquery_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_goalrollupquery_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_goalrollupquery_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.GoalRollupQuery> lk_goalrollupquery_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.GoalRollupQuery>("lk_goalrollupquery_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.GoalRollupQuery>("lk_goalrollupquery_modifiedby", "lk_goalrollupquery_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_goalrollupquery_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_goalrollupquery_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.GoalRollupQuery> lk_goalrollupquery_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.GoalRollupQuery>("lk_goalrollupquery_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.GoalRollupQuery>("lk_goalrollupquery_modifiedonbehalfby", "lk_goalrollupquery_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_import_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_import_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Import> lk_import_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Import>("lk_import_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Import>("lk_import_createdonbehalfby", "lk_import_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_import_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_import_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Import> lk_import_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Import>("lk_import_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Import>("lk_import_modifiedonbehalfby", "lk_import_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_importbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Import> lk_importbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Import>("lk_importbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Import>("lk_importbase_createdby", "lk_importbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_importbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Import> lk_importbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Import>("lk_importbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Import>("lk_importbase_modifiedby", "lk_importbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_importentitymapping_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importentitymapping_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportEntityMapping> lk_importentitymapping_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportEntityMapping>("lk_importentitymapping_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportEntityMapping>("lk_importentitymapping_createdby", "lk_importentitymapping_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_importentitymapping_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importentitymapping_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportEntityMapping> lk_importentitymapping_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportEntityMapping>("lk_importentitymapping_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportEntityMapping>("lk_importentitymapping_createdonbehalfby", "lk_importentitymapping_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_importentitymapping_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importentitymapping_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportEntityMapping> lk_importentitymapping_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportEntityMapping>("lk_importentitymapping_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportEntityMapping>("lk_importentitymapping_modifiedby", "lk_importentitymapping_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_importentitymapping_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importentitymapping_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportEntityMapping> lk_importentitymapping_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportEntityMapping>("lk_importentitymapping_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportEntityMapping>("lk_importentitymapping_modifiedonbehalfby", "lk_importentitymapping_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_importfilebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importfilebase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportFile> lk_importfilebase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportFile>("lk_importfilebase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportFile>("lk_importfilebase_createdby", "lk_importfilebase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_importfilebase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importfilebase_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportFile> lk_importfilebase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportFile>("lk_importfilebase_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportFile>("lk_importfilebase_createdonbehalfby", "lk_importfilebase_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_importfilebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importfilebase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportFile> lk_importfilebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportFile>("lk_importfilebase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportFile>("lk_importfilebase_modifiedby", "lk_importfilebase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_importfilebase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importfilebase_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportFile> lk_importfilebase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportFile>("lk_importfilebase_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportFile>("lk_importfilebase_modifiedonbehalfby", "lk_importfilebase_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_importjobbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importjobbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportJob> lk_importjobbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportJob>("lk_importjobbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportJob>("lk_importjobbase_createdby", "lk_importjobbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_importjobbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importjobbase_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportJob> lk_importjobbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportJob>("lk_importjobbase_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportJob>("lk_importjobbase_createdonbehalfby", "lk_importjobbase_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_importjobbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importjobbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportJob> lk_importjobbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportJob>("lk_importjobbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportJob>("lk_importjobbase_modifiedby", "lk_importjobbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_importjobbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importjobbase_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportJob> lk_importjobbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportJob>("lk_importjobbase_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportJob>("lk_importjobbase_modifiedonbehalfby", "lk_importjobbase_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_importlog_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importlog_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportLog> lk_importlog_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportLog>("lk_importlog_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportLog>("lk_importlog_createdonbehalfby", "lk_importlog_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_importlog_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importlog_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportLog> lk_importlog_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportLog>("lk_importlog_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportLog>("lk_importlog_modifiedonbehalfby", "lk_importlog_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_importlogbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importlogbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportLog> lk_importlogbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportLog>("lk_importlogbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportLog>("lk_importlogbase_createdby", "lk_importlogbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_importlogbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importlogbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportLog> lk_importlogbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportLog>("lk_importlogbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportLog>("lk_importlogbase_modifiedby", "lk_importlogbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_importmap_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importmap_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportMap> lk_importmap_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportMap>("lk_importmap_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportMap>("lk_importmap_createdonbehalfby", "lk_importmap_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_importmap_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importmap_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportMap> lk_importmap_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportMap>("lk_importmap_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportMap>("lk_importmap_modifiedonbehalfby", "lk_importmap_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_importmapbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importmapbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportMap> lk_importmapbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportMap>("lk_importmapbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportMap>("lk_importmapbase_createdby", "lk_importmapbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_importmapbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_importmapbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportMap> lk_importmapbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportMap>("lk_importmapbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportMap>("lk_importmapbase_modifiedby", "lk_importmapbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_incidentbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_incidentbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Incident> lk_incidentbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Incident>("lk_incidentbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Incident>("lk_incidentbase_createdby", "lk_incidentbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_incidentbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_incidentbase_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Incident> lk_incidentbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Incident>("lk_incidentbase_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Incident>("lk_incidentbase_createdonbehalfby", "lk_incidentbase_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_incidentbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_incidentbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Incident> lk_incidentbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Incident>("lk_incidentbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Incident>("lk_incidentbase_modifiedby", "lk_incidentbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_incidentbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_incidentbase_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Incident> lk_incidentbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Incident>("lk_incidentbase_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Incident>("lk_incidentbase_modifiedonbehalfby", "lk_incidentbase_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_incidentresolution_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_incidentresolution_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.IncidentResolution> lk_incidentresolution_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.IncidentResolution>("lk_incidentresolution_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.IncidentResolution>("lk_incidentresolution_createdby", "lk_incidentresolution_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_incidentresolution_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_incidentresolution_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.IncidentResolution> lk_incidentresolution_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.IncidentResolution>("lk_incidentresolution_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.IncidentResolution>("lk_incidentresolution_createdonbehalfby", "lk_incidentresolution_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_incidentresolution_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_incidentresolution_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.IncidentResolution> lk_incidentresolution_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.IncidentResolution>("lk_incidentresolution_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.IncidentResolution>("lk_incidentresolution_modifiedby", "lk_incidentresolution_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_incidentresolution_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_incidentresolution_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.IncidentResolution> lk_incidentresolution_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.IncidentResolution>("lk_incidentresolution_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.IncidentResolution>("lk_incidentresolution_modifiedonbehalfby", "lk_incidentresolution_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_invoice_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_invoice_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Invoice> lk_invoice_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Invoice>("lk_invoice_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Invoice>("lk_invoice_createdonbehalfby", "lk_invoice_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_invoice_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_invoice_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Invoice> lk_invoice_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Invoice>("lk_invoice_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Invoice>("lk_invoice_modifiedonbehalfby", "lk_invoice_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_invoicebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_invoicebase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Invoice> lk_invoicebase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Invoice>("lk_invoicebase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Invoice>("lk_invoicebase_createdby", "lk_invoicebase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_invoicebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_invoicebase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Invoice> lk_invoicebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Invoice>("lk_invoicebase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Invoice>("lk_invoicebase_modifiedby", "lk_invoicebase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_invoicedetail_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_invoicedetail_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.InvoiceDetail> lk_invoicedetail_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.InvoiceDetail>("lk_invoicedetail_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.InvoiceDetail>("lk_invoicedetail_createdonbehalfby", "lk_invoicedetail_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_invoicedetail_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_invoicedetail_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.InvoiceDetail> lk_invoicedetail_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.InvoiceDetail>("lk_invoicedetail_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.InvoiceDetail>("lk_invoicedetail_modifiedonbehalfby", "lk_invoicedetail_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_invoicedetailbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_invoicedetailbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.InvoiceDetail> lk_invoicedetailbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.InvoiceDetail>("lk_invoicedetailbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.InvoiceDetail>("lk_invoicedetailbase_createdby", "lk_invoicedetailbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_invoicedetailbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_invoicedetailbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.InvoiceDetail> lk_invoicedetailbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.InvoiceDetail>("lk_invoicedetailbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.InvoiceDetail>("lk_invoicedetailbase_modifiedby", "lk_invoicedetailbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_isvconfig_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_isvconfig_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.IsvConfig> lk_isvconfig_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.IsvConfig>("lk_isvconfig_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.IsvConfig>("lk_isvconfig_createdonbehalfby", "lk_isvconfig_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_isvconfig_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_isvconfig_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.IsvConfig> lk_isvconfig_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.IsvConfig>("lk_isvconfig_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.IsvConfig>("lk_isvconfig_modifiedonbehalfby", "lk_isvconfig_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_isvconfigbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_isvconfigbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.IsvConfig> lk_isvconfigbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.IsvConfig>("lk_isvconfigbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.IsvConfig>("lk_isvconfigbase_createdby", "lk_isvconfigbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_isvconfigbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_isvconfigbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.IsvConfig> lk_isvconfigbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.IsvConfig>("lk_isvconfigbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.IsvConfig>("lk_isvconfigbase_modifiedby", "lk_isvconfigbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_kbarticle_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_kbarticle_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.KbArticle> lk_kbarticle_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.KbArticle>("lk_kbarticle_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.KbArticle>("lk_kbarticle_createdonbehalfby", "lk_kbarticle_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_kbarticle_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_kbarticle_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.KbArticle> lk_kbarticle_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.KbArticle>("lk_kbarticle_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.KbArticle>("lk_kbarticle_modifiedonbehalfby", "lk_kbarticle_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_kbarticlebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_kbarticlebase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.KbArticle> lk_kbarticlebase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.KbArticle>("lk_kbarticlebase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.KbArticle>("lk_kbarticlebase_createdby", "lk_kbarticlebase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_kbarticlebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_kbarticlebase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.KbArticle> lk_kbarticlebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.KbArticle>("lk_kbarticlebase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.KbArticle>("lk_kbarticlebase_modifiedby", "lk_kbarticlebase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_kbarticlecomment_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_kbarticlecomment_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.KbArticleComment> lk_kbarticlecomment_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.KbArticleComment>("lk_kbarticlecomment_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.KbArticleComment>("lk_kbarticlecomment_createdonbehalfby", "lk_kbarticlecomment_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_kbarticlecomment_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_kbarticlecomment_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.KbArticleComment> lk_kbarticlecomment_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.KbArticleComment>("lk_kbarticlecomment_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.KbArticleComment>("lk_kbarticlecomment_modifiedonbehalfby", "lk_kbarticlecomment_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_kbarticlecommentbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_kbarticlecommentbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.KbArticleComment> lk_kbarticlecommentbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.KbArticleComment>("lk_kbarticlecommentbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.KbArticleComment>("lk_kbarticlecommentbase_createdby", "lk_kbarticlecommentbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_kbarticlecommentbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_kbarticlecommentbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.KbArticleComment> lk_kbarticlecommentbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.KbArticleComment>("lk_kbarticlecommentbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.KbArticleComment>("lk_kbarticlecommentbase_modifiedby", "lk_kbarticlecommentbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_kbarticletemplate_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_kbarticletemplate_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.KbArticleTemplate> lk_kbarticletemplate_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.KbArticleTemplate>("lk_kbarticletemplate_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.KbArticleTemplate>("lk_kbarticletemplate_createdonbehalfby", "lk_kbarticletemplate_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_kbarticletemplate_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_kbarticletemplate_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.KbArticleTemplate> lk_kbarticletemplate_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.KbArticleTemplate>("lk_kbarticletemplate_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.KbArticleTemplate>("lk_kbarticletemplate_modifiedonbehalfby", "lk_kbarticletemplate_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_kbarticletemplatebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_kbarticletemplatebase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.KbArticleTemplate> lk_kbarticletemplatebase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.KbArticleTemplate>("lk_kbarticletemplatebase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.KbArticleTemplate>("lk_kbarticletemplatebase_createdby", "lk_kbarticletemplatebase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_kbarticletemplatebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_kbarticletemplatebase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.KbArticleTemplate> lk_kbarticletemplatebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.KbArticleTemplate>("lk_kbarticletemplatebase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.KbArticleTemplate>("lk_kbarticletemplatebase_modifiedby", "lk_kbarticletemplatebase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_lead_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_lead_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Lead> lk_lead_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Lead>("lk_lead_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Lead>("lk_lead_createdonbehalfby", "lk_lead_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_lead_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_lead_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Lead> lk_lead_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Lead>("lk_lead_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Lead>("lk_lead_modifiedonbehalfby", "lk_lead_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_leadaddress_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_leadaddress_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.LeadAddress> lk_leadaddress_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.LeadAddress>("lk_leadaddress_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.LeadAddress>("lk_leadaddress_createdonbehalfby", "lk_leadaddress_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_leadaddress_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_leadaddress_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.LeadAddress> lk_leadaddress_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.LeadAddress>("lk_leadaddress_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.LeadAddress>("lk_leadaddress_modifiedonbehalfby", "lk_leadaddress_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_leadaddressbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_leadaddressbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.LeadAddress> lk_leadaddressbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.LeadAddress>("lk_leadaddressbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.LeadAddress>("lk_leadaddressbase_createdby", "lk_leadaddressbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_leadaddressbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_leadaddressbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.LeadAddress> lk_leadaddressbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.LeadAddress>("lk_leadaddressbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.LeadAddress>("lk_leadaddressbase_modifiedby", "lk_leadaddressbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_leadbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_leadbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Lead> lk_leadbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Lead>("lk_leadbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Lead>("lk_leadbase_createdby", "lk_leadbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_leadbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_leadbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Lead> lk_leadbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Lead>("lk_leadbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Lead>("lk_leadbase_modifiedby", "lk_leadbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_letter_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_letter_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Letter> lk_letter_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Letter>("lk_letter_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Letter>("lk_letter_createdby", "lk_letter_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_letter_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_letter_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Letter> lk_letter_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Letter>("lk_letter_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Letter>("lk_letter_createdonbehalfby", "lk_letter_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_letter_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_letter_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Letter> lk_letter_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Letter>("lk_letter_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Letter>("lk_letter_modifiedby", "lk_letter_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_letter_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_letter_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Letter> lk_letter_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Letter>("lk_letter_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Letter>("lk_letter_modifiedonbehalfby", "lk_letter_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_list_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_list_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.List> lk_list_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.List>("lk_list_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.List>("lk_list_createdby", "lk_list_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_list_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_list_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.List> lk_list_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.List>("lk_list_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.List>("lk_list_createdonbehalfby", "lk_list_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_list_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_list_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.List> lk_list_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.List>("lk_list_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.List>("lk_list_modifiedby", "lk_list_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_list_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_list_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.List> lk_list_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.List>("lk_list_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.List>("lk_list_modifiedonbehalfby", "lk_list_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_listmember_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_listmember_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.ListMember> lk_listmember_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ListMember>("lk_listmember_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ListMember>("lk_listmember_createdby", "lk_listmember_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_listmember_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_listmember_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ListMember> lk_listmember_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ListMember>("lk_listmember_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ListMember>("lk_listmember_createdonbehalfby", "lk_listmember_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_listmember_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_listmember_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.ListMember> lk_listmember_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ListMember>("lk_listmember_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ListMember>("lk_listmember_modifiedby", "lk_listmember_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_listmember_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_listmember_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ListMember> lk_listmember_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ListMember>("lk_listmember_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ListMember>("lk_listmember_modifiedonbehalfby", "lk_listmember_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_lookupmapping_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_lookupmapping_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.LookUpMapping> lk_lookupmapping_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.LookUpMapping>("lk_lookupmapping_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.LookUpMapping>("lk_lookupmapping_createdby", "lk_lookupmapping_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_lookupmapping_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_lookupmapping_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.LookUpMapping> lk_lookupmapping_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.LookUpMapping>("lk_lookupmapping_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.LookUpMapping>("lk_lookupmapping_createdonbehalfby", "lk_lookupmapping_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_lookupmapping_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_lookupmapping_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.LookUpMapping> lk_lookupmapping_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.LookUpMapping>("lk_lookupmapping_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.LookUpMapping>("lk_lookupmapping_modifiedby", "lk_lookupmapping_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_lookupmapping_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_lookupmapping_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.LookUpMapping> lk_lookupmapping_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.LookUpMapping>("lk_lookupmapping_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.LookUpMapping>("lk_lookupmapping_modifiedonbehalfby", "lk_lookupmapping_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_mailmergetemplate_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_mailmergetemplate_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.MailMergeTemplate> lk_mailmergetemplate_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.MailMergeTemplate>("lk_mailmergetemplate_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.MailMergeTemplate>("lk_mailmergetemplate_createdonbehalfby", "lk_mailmergetemplate_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_mailmergetemplate_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_mailmergetemplate_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.MailMergeTemplate> lk_mailmergetemplate_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.MailMergeTemplate>("lk_mailmergetemplate_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.MailMergeTemplate>("lk_mailmergetemplate_modifiedonbehalfby", "lk_mailmergetemplate_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_mailmergetemplatebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_mailmergetemplatebase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.MailMergeTemplate> lk_mailmergetemplatebase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.MailMergeTemplate>("lk_mailmergetemplatebase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.MailMergeTemplate>("lk_mailmergetemplatebase_createdby", "lk_mailmergetemplatebase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_mailmergetemplatebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_mailmergetemplatebase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.MailMergeTemplate> lk_mailmergetemplatebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.MailMergeTemplate>("lk_mailmergetemplatebase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.MailMergeTemplate>("lk_mailmergetemplatebase_modifiedby", "lk_mailmergetemplatebase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_metric_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_metric_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Metric> lk_metric_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Metric>("lk_metric_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Metric>("lk_metric_createdby", "lk_metric_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_metric_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_metric_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Metric> lk_metric_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Metric>("lk_metric_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Metric>("lk_metric_createdonbehalfby", "lk_metric_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_metric_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_metric_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Metric> lk_metric_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Metric>("lk_metric_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Metric>("lk_metric_modifiedby", "lk_metric_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_metric_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_metric_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Metric> lk_metric_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Metric>("lk_metric_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Metric>("lk_metric_modifiedonbehalfby", "lk_metric_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_monthlyfiscalcalendar_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_monthlyfiscalcalendar_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.MonthlyFiscalCalendar> lk_monthlyfiscalcalendar_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.MonthlyFiscalCalendar>("lk_monthlyfiscalcalendar_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.MonthlyFiscalCalendar>("lk_monthlyfiscalcalendar_createdby", "lk_monthlyfiscalcalendar_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_monthlyfiscalcalendar_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_monthlyfiscalcalendar_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.MonthlyFiscalCalendar> lk_monthlyfiscalcalendar_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.MonthlyFiscalCalendar>("lk_monthlyfiscalcalendar_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.MonthlyFiscalCalendar>("lk_monthlyfiscalcalendar_createdonbehalfby", "lk_monthlyfiscalcalendar_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_monthlyfiscalcalendar_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_monthlyfiscalcalendar_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.MonthlyFiscalCalendar> lk_monthlyfiscalcalendar_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.MonthlyFiscalCalendar>("lk_monthlyfiscalcalendar_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.MonthlyFiscalCalendar>("lk_monthlyfiscalcalendar_modifiedby", "lk_monthlyfiscalcalendar_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_monthlyfiscalcalendar_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_monthlyfiscalcalendar_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.MonthlyFiscalCalendar> lk_monthlyfiscalcalendar_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.MonthlyFiscalCalendar>("lk_monthlyfiscalcalendar_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.MonthlyFiscalCalendar>("lk_monthlyfiscalcalendar_modifiedonbehalfby", "lk_monthlyfiscalcalendar_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_monthlyfiscalcalendar_salespersonid
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_monthlyfiscalcalendar_salespersonid")]
		public System.Collections.Generic.IEnumerable<Xrm.MonthlyFiscalCalendar> lk_monthlyfiscalcalendar_salespersonid
		{
			get
			{
				return this.GetRelatedEntities<Xrm.MonthlyFiscalCalendar>("lk_monthlyfiscalcalendar_salespersonid", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.MonthlyFiscalCalendar>("lk_monthlyfiscalcalendar_salespersonid", "lk_monthlyfiscalcalendar_salespersonid", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_msdyn_postalbum_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_msdyn_postalbum_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.msdyn_PostAlbum> lk_msdyn_postalbum_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.msdyn_PostAlbum>("lk_msdyn_postalbum_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.msdyn_PostAlbum>("lk_msdyn_postalbum_createdby", "lk_msdyn_postalbum_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_msdyn_postalbum_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_msdyn_postalbum_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.msdyn_PostAlbum> lk_msdyn_postalbum_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.msdyn_PostAlbum>("lk_msdyn_postalbum_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.msdyn_PostAlbum>("lk_msdyn_postalbum_createdonbehalfby", "lk_msdyn_postalbum_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_msdyn_postalbum_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_msdyn_postalbum_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.msdyn_PostAlbum> lk_msdyn_postalbum_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.msdyn_PostAlbum>("lk_msdyn_postalbum_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.msdyn_PostAlbum>("lk_msdyn_postalbum_modifiedby", "lk_msdyn_postalbum_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_msdyn_postalbum_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_msdyn_postalbum_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.msdyn_PostAlbum> lk_msdyn_postalbum_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.msdyn_PostAlbum>("lk_msdyn_postalbum_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.msdyn_PostAlbum>("lk_msdyn_postalbum_modifiedonbehalfby", "lk_msdyn_postalbum_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_msdyn_postconfig_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_msdyn_postconfig_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.msdyn_PostConfig> lk_msdyn_postconfig_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.msdyn_PostConfig>("lk_msdyn_postconfig_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.msdyn_PostConfig>("lk_msdyn_postconfig_createdby", "lk_msdyn_postconfig_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_msdyn_postconfig_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_msdyn_postconfig_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.msdyn_PostConfig> lk_msdyn_postconfig_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.msdyn_PostConfig>("lk_msdyn_postconfig_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.msdyn_PostConfig>("lk_msdyn_postconfig_createdonbehalfby", "lk_msdyn_postconfig_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_msdyn_postconfig_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_msdyn_postconfig_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.msdyn_PostConfig> lk_msdyn_postconfig_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.msdyn_PostConfig>("lk_msdyn_postconfig_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.msdyn_PostConfig>("lk_msdyn_postconfig_modifiedby", "lk_msdyn_postconfig_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_msdyn_postconfig_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_msdyn_postconfig_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.msdyn_PostConfig> lk_msdyn_postconfig_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.msdyn_PostConfig>("lk_msdyn_postconfig_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.msdyn_PostConfig>("lk_msdyn_postconfig_modifiedonbehalfby", "lk_msdyn_postconfig_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_msdyn_postruleconfig_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_msdyn_postruleconfig_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.msdyn_PostRuleConfig> lk_msdyn_postruleconfig_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.msdyn_PostRuleConfig>("lk_msdyn_postruleconfig_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.msdyn_PostRuleConfig>("lk_msdyn_postruleconfig_createdby", "lk_msdyn_postruleconfig_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_msdyn_postruleconfig_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_msdyn_postruleconfig_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.msdyn_PostRuleConfig> lk_msdyn_postruleconfig_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.msdyn_PostRuleConfig>("lk_msdyn_postruleconfig_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.msdyn_PostRuleConfig>("lk_msdyn_postruleconfig_createdonbehalfby", "lk_msdyn_postruleconfig_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_msdyn_postruleconfig_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_msdyn_postruleconfig_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.msdyn_PostRuleConfig> lk_msdyn_postruleconfig_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.msdyn_PostRuleConfig>("lk_msdyn_postruleconfig_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.msdyn_PostRuleConfig>("lk_msdyn_postruleconfig_modifiedby", "lk_msdyn_postruleconfig_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_msdyn_postruleconfig_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_msdyn_postruleconfig_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.msdyn_PostRuleConfig> lk_msdyn_postruleconfig_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.msdyn_PostRuleConfig>("lk_msdyn_postruleconfig_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.msdyn_PostRuleConfig>("lk_msdyn_postruleconfig_modifiedonbehalfby", "lk_msdyn_postruleconfig_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_new_uzytkownicy_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_new_uzytkownicy_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.new_uzytkownicy> lk_new_uzytkownicy_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.new_uzytkownicy>("lk_new_uzytkownicy_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.new_uzytkownicy>("lk_new_uzytkownicy_createdby", "lk_new_uzytkownicy_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_new_uzytkownicy_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_new_uzytkownicy_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.new_uzytkownicy> lk_new_uzytkownicy_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.new_uzytkownicy>("lk_new_uzytkownicy_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.new_uzytkownicy>("lk_new_uzytkownicy_createdonbehalfby", "lk_new_uzytkownicy_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_new_uzytkownicy_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_new_uzytkownicy_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.new_uzytkownicy> lk_new_uzytkownicy_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.new_uzytkownicy>("lk_new_uzytkownicy_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.new_uzytkownicy>("lk_new_uzytkownicy_modifiedby", "lk_new_uzytkownicy_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_new_uzytkownicy_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_new_uzytkownicy_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.new_uzytkownicy> lk_new_uzytkownicy_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.new_uzytkownicy>("lk_new_uzytkownicy_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.new_uzytkownicy>("lk_new_uzytkownicy_modifiedonbehalfby", "lk_new_uzytkownicy_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_new_uzytkownikkontakty_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_new_uzytkownikkontakty_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.new_uzytkownikkontakty> lk_new_uzytkownikkontakty_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.new_uzytkownikkontakty>("lk_new_uzytkownikkontakty_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.new_uzytkownikkontakty>("lk_new_uzytkownikkontakty_createdby", "lk_new_uzytkownikkontakty_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_new_uzytkownikkontakty_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_new_uzytkownikkontakty_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.new_uzytkownikkontakty> lk_new_uzytkownikkontakty_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.new_uzytkownikkontakty>("lk_new_uzytkownikkontakty_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.new_uzytkownikkontakty>("lk_new_uzytkownikkontakty_createdonbehalfby", "lk_new_uzytkownikkontakty_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_new_uzytkownikkontakty_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_new_uzytkownikkontakty_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.new_uzytkownikkontakty> lk_new_uzytkownikkontakty_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.new_uzytkownikkontakty>("lk_new_uzytkownikkontakty_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.new_uzytkownikkontakty>("lk_new_uzytkownikkontakty_modifiedby", "lk_new_uzytkownikkontakty_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_new_uzytkownikkontakty_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_new_uzytkownikkontakty_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.new_uzytkownikkontakty> lk_new_uzytkownikkontakty_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.new_uzytkownikkontakty>("lk_new_uzytkownikkontakty_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.new_uzytkownikkontakty>("lk_new_uzytkownikkontakty_modifiedonbehalfby", "lk_new_uzytkownikkontakty_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_new_zainteresowanie_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_new_zainteresowanie_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.new_zainteresowanie> lk_new_zainteresowanie_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.new_zainteresowanie>("lk_new_zainteresowanie_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.new_zainteresowanie>("lk_new_zainteresowanie_createdby", "lk_new_zainteresowanie_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_new_zainteresowanie_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_new_zainteresowanie_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.new_zainteresowanie> lk_new_zainteresowanie_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.new_zainteresowanie>("lk_new_zainteresowanie_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.new_zainteresowanie>("lk_new_zainteresowanie_createdonbehalfby", "lk_new_zainteresowanie_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_new_zainteresowanie_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_new_zainteresowanie_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.new_zainteresowanie> lk_new_zainteresowanie_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.new_zainteresowanie>("lk_new_zainteresowanie_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.new_zainteresowanie>("lk_new_zainteresowanie_modifiedby", "lk_new_zainteresowanie_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_new_zainteresowanie_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_new_zainteresowanie_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.new_zainteresowanie> lk_new_zainteresowanie_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.new_zainteresowanie>("lk_new_zainteresowanie_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.new_zainteresowanie>("lk_new_zainteresowanie_modifiedonbehalfby", "lk_new_zainteresowanie_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_opportunity_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_opportunity_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Opportunity> lk_opportunity_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Opportunity>("lk_opportunity_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Opportunity>("lk_opportunity_createdonbehalfby", "lk_opportunity_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_opportunity_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_opportunity_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Opportunity> lk_opportunity_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Opportunity>("lk_opportunity_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Opportunity>("lk_opportunity_modifiedonbehalfby", "lk_opportunity_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_opportunitybase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_opportunitybase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Opportunity> lk_opportunitybase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Opportunity>("lk_opportunitybase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Opportunity>("lk_opportunitybase_createdby", "lk_opportunitybase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_opportunitybase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_opportunitybase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Opportunity> lk_opportunitybase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Opportunity>("lk_opportunitybase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Opportunity>("lk_opportunitybase_modifiedby", "lk_opportunitybase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_opportunityclose_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_opportunityclose_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.OpportunityClose> lk_opportunityclose_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OpportunityClose>("lk_opportunityclose_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OpportunityClose>("lk_opportunityclose_createdby", "lk_opportunityclose_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_opportunityclose_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_opportunityclose_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.OpportunityClose> lk_opportunityclose_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OpportunityClose>("lk_opportunityclose_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OpportunityClose>("lk_opportunityclose_createdonbehalfby", "lk_opportunityclose_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_opportunityclose_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_opportunityclose_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.OpportunityClose> lk_opportunityclose_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OpportunityClose>("lk_opportunityclose_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OpportunityClose>("lk_opportunityclose_modifiedby", "lk_opportunityclose_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_opportunityclose_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_opportunityclose_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.OpportunityClose> lk_opportunityclose_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OpportunityClose>("lk_opportunityclose_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OpportunityClose>("lk_opportunityclose_modifiedonbehalfby", "lk_opportunityclose_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_opportunityproduct_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_opportunityproduct_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.OpportunityProduct> lk_opportunityproduct_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OpportunityProduct>("lk_opportunityproduct_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OpportunityProduct>("lk_opportunityproduct_createdonbehalfby", "lk_opportunityproduct_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_opportunityproduct_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_opportunityproduct_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.OpportunityProduct> lk_opportunityproduct_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OpportunityProduct>("lk_opportunityproduct_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OpportunityProduct>("lk_opportunityproduct_modifiedonbehalfby", "lk_opportunityproduct_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_opportunityproductbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_opportunityproductbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.OpportunityProduct> lk_opportunityproductbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OpportunityProduct>("lk_opportunityproductbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OpportunityProduct>("lk_opportunityproductbase_createdby", "lk_opportunityproductbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_opportunityproductbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_opportunityproductbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.OpportunityProduct> lk_opportunityproductbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OpportunityProduct>("lk_opportunityproductbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OpportunityProduct>("lk_opportunityproductbase_modifiedby", "lk_opportunityproductbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_orderclose_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_orderclose_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.OrderClose> lk_orderclose_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OrderClose>("lk_orderclose_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OrderClose>("lk_orderclose_createdby", "lk_orderclose_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_orderclose_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_orderclose_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.OrderClose> lk_orderclose_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OrderClose>("lk_orderclose_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OrderClose>("lk_orderclose_createdonbehalfby", "lk_orderclose_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_orderclose_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_orderclose_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.OrderClose> lk_orderclose_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OrderClose>("lk_orderclose_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OrderClose>("lk_orderclose_modifiedby", "lk_orderclose_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_orderclose_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_orderclose_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.OrderClose> lk_orderclose_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OrderClose>("lk_orderclose_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OrderClose>("lk_orderclose_modifiedonbehalfby", "lk_orderclose_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_organization_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_organization_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Organization> lk_organization_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Organization>("lk_organization_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Organization>("lk_organization_createdonbehalfby", "lk_organization_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_organization_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_organization_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Organization> lk_organization_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Organization>("lk_organization_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Organization>("lk_organization_modifiedonbehalfby", "lk_organization_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_organizationbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_organizationbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Organization> lk_organizationbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Organization>("lk_organizationbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Organization>("lk_organizationbase_createdby", "lk_organizationbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_organizationbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_organizationbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Organization> lk_organizationbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Organization>("lk_organizationbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Organization>("lk_organizationbase_modifiedby", "lk_organizationbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_ownermapping_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_ownermapping_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.OwnerMapping> lk_ownermapping_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OwnerMapping>("lk_ownermapping_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OwnerMapping>("lk_ownermapping_createdby", "lk_ownermapping_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_ownermapping_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_ownermapping_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.OwnerMapping> lk_ownermapping_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OwnerMapping>("lk_ownermapping_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OwnerMapping>("lk_ownermapping_createdonbehalfby", "lk_ownermapping_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_ownermapping_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_ownermapping_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.OwnerMapping> lk_ownermapping_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OwnerMapping>("lk_ownermapping_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OwnerMapping>("lk_ownermapping_modifiedby", "lk_ownermapping_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_ownermapping_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_ownermapping_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.OwnerMapping> lk_ownermapping_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OwnerMapping>("lk_ownermapping_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OwnerMapping>("lk_ownermapping_modifiedonbehalfby", "lk_ownermapping_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_phonecall_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_phonecall_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.PhoneCall> lk_phonecall_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PhoneCall>("lk_phonecall_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PhoneCall>("lk_phonecall_createdby", "lk_phonecall_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_phonecall_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_phonecall_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.PhoneCall> lk_phonecall_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PhoneCall>("lk_phonecall_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PhoneCall>("lk_phonecall_createdonbehalfby", "lk_phonecall_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_phonecall_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_phonecall_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.PhoneCall> lk_phonecall_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PhoneCall>("lk_phonecall_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PhoneCall>("lk_phonecall_modifiedby", "lk_phonecall_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_phonecall_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_phonecall_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.PhoneCall> lk_phonecall_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PhoneCall>("lk_phonecall_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PhoneCall>("lk_phonecall_modifiedonbehalfby", "lk_phonecall_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_picklistmapping_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_picklistmapping_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.PickListMapping> lk_picklistmapping_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PickListMapping>("lk_picklistmapping_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PickListMapping>("lk_picklistmapping_createdby", "lk_picklistmapping_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_picklistmapping_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_picklistmapping_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.PickListMapping> lk_picklistmapping_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PickListMapping>("lk_picklistmapping_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PickListMapping>("lk_picklistmapping_createdonbehalfby", "lk_picklistmapping_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_picklistmapping_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_picklistmapping_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.PickListMapping> lk_picklistmapping_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PickListMapping>("lk_picklistmapping_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PickListMapping>("lk_picklistmapping_modifiedby", "lk_picklistmapping_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_picklistmapping_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_picklistmapping_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.PickListMapping> lk_picklistmapping_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PickListMapping>("lk_picklistmapping_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PickListMapping>("lk_picklistmapping_modifiedonbehalfby", "lk_picklistmapping_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_pluginassembly_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_pluginassembly_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.PluginAssembly> lk_pluginassembly_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PluginAssembly>("lk_pluginassembly_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PluginAssembly>("lk_pluginassembly_createdonbehalfby", "lk_pluginassembly_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_pluginassembly_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_pluginassembly_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.PluginAssembly> lk_pluginassembly_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PluginAssembly>("lk_pluginassembly_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PluginAssembly>("lk_pluginassembly_modifiedonbehalfby", "lk_pluginassembly_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_plugintype_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_plugintype_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.PluginType> lk_plugintype_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PluginType>("lk_plugintype_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PluginType>("lk_plugintype_createdonbehalfby", "lk_plugintype_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_plugintype_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_plugintype_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.PluginType> lk_plugintype_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PluginType>("lk_plugintype_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PluginType>("lk_plugintype_modifiedonbehalfby", "lk_plugintype_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_plugintypestatisticbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_plugintypestatisticbase_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.PluginTypeStatistic> lk_plugintypestatisticbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PluginTypeStatistic>("lk_plugintypestatisticbase_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PluginTypeStatistic>("lk_plugintypestatisticbase_createdonbehalfby", "lk_plugintypestatisticbase_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_plugintypestatisticbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_plugintypestatisticbase_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.PluginTypeStatistic> lk_plugintypestatisticbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PluginTypeStatistic>("lk_plugintypestatisticbase_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PluginTypeStatistic>("lk_plugintypestatisticbase_modifiedonbehalfby", "lk_plugintypestatisticbase_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_post_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_post_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Post> lk_post_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Post>("lk_post_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Post>("lk_post_createdby", "lk_post_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_post_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_post_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Post> lk_post_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Post>("lk_post_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Post>("lk_post_createdonbehalfby", "lk_post_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_post_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_post_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Post> lk_post_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Post>("lk_post_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Post>("lk_post_modifiedby", "lk_post_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_post_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_post_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Post> lk_post_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Post>("lk_post_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Post>("lk_post_modifiedonbehalfby", "lk_post_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_postcomment_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_postcomment_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.PostComment> lk_postcomment_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PostComment>("lk_postcomment_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PostComment>("lk_postcomment_createdby", "lk_postcomment_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_postcomment_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_postcomment_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.PostComment> lk_postcomment_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PostComment>("lk_postcomment_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PostComment>("lk_postcomment_createdonbehalfby", "lk_postcomment_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_PostFollow_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_PostFollow_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.PostFollow> lk_PostFollow_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PostFollow>("lk_PostFollow_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PostFollow>("lk_PostFollow_createdby", "lk_PostFollow_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_postfollow_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_postfollow_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.PostFollow> lk_postfollow_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PostFollow>("lk_postfollow_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PostFollow>("lk_postfollow_createdonbehalfby", "lk_postfollow_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_postlike_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_postlike_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.PostLike> lk_postlike_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PostLike>("lk_postlike_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PostLike>("lk_postlike_createdby", "lk_postlike_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_postlike_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_postlike_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.PostLike> lk_postlike_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PostLike>("lk_postlike_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PostLike>("lk_postlike_createdonbehalfby", "lk_postlike_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_pricelevel_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_pricelevel_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.PriceLevel> lk_pricelevel_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PriceLevel>("lk_pricelevel_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PriceLevel>("lk_pricelevel_createdonbehalfby", "lk_pricelevel_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_pricelevel_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_pricelevel_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.PriceLevel> lk_pricelevel_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PriceLevel>("lk_pricelevel_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PriceLevel>("lk_pricelevel_modifiedonbehalfby", "lk_pricelevel_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_pricelevelbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_pricelevelbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.PriceLevel> lk_pricelevelbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PriceLevel>("lk_pricelevelbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PriceLevel>("lk_pricelevelbase_createdby", "lk_pricelevelbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_pricelevelbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_pricelevelbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.PriceLevel> lk_pricelevelbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PriceLevel>("lk_pricelevelbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PriceLevel>("lk_pricelevelbase_modifiedby", "lk_pricelevelbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_processsession_canceledby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_processsession_canceledby")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> lk_processsession_canceledby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("lk_processsession_canceledby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("lk_processsession_canceledby", "lk_processsession_canceledby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_processsession_completedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_processsession_completedby")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> lk_processsession_completedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("lk_processsession_completedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("lk_processsession_completedby", "lk_processsession_completedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_processsession_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_processsession_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> lk_processsession_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("lk_processsession_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("lk_processsession_createdby", "lk_processsession_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_processsession_executedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_processsession_executedby")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> lk_processsession_executedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("lk_processsession_executedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("lk_processsession_executedby", "lk_processsession_executedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_processsession_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_processsession_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> lk_processsession_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("lk_processsession_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("lk_processsession_modifiedby", "lk_processsession_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_processsession_startedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_processsession_startedby")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> lk_processsession_startedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("lk_processsession_startedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("lk_processsession_startedby", "lk_processsession_startedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_processsessionbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_processsessionbase_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> lk_processsessionbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("lk_processsessionbase_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("lk_processsessionbase_createdonbehalfby", "lk_processsessionbase_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_processsessionbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_processsessionbase_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> lk_processsessionbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("lk_processsessionbase_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("lk_processsessionbase_modifiedonbehalfby", "lk_processsessionbase_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_product_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_product_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Product> lk_product_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Product>("lk_product_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Product>("lk_product_createdonbehalfby", "lk_product_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_product_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_product_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Product> lk_product_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Product>("lk_product_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Product>("lk_product_modifiedonbehalfby", "lk_product_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_productbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_productbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Product> lk_productbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Product>("lk_productbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Product>("lk_productbase_createdby", "lk_productbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_productbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_productbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Product> lk_productbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Product>("lk_productbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Product>("lk_productbase_modifiedby", "lk_productbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_productpricelevel_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_productpricelevel_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ProductPriceLevel> lk_productpricelevel_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProductPriceLevel>("lk_productpricelevel_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProductPriceLevel>("lk_productpricelevel_createdonbehalfby", "lk_productpricelevel_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_productpricelevel_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_productpricelevel_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ProductPriceLevel> lk_productpricelevel_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProductPriceLevel>("lk_productpricelevel_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProductPriceLevel>("lk_productpricelevel_modifiedonbehalfby", "lk_productpricelevel_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_productpricelevelbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_productpricelevelbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.ProductPriceLevel> lk_productpricelevelbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProductPriceLevel>("lk_productpricelevelbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProductPriceLevel>("lk_productpricelevelbase_createdby", "lk_productpricelevelbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_productpricelevelbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_productpricelevelbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.ProductPriceLevel> lk_productpricelevelbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProductPriceLevel>("lk_productpricelevelbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProductPriceLevel>("lk_productpricelevelbase_modifiedby", "lk_productpricelevelbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_publisher_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_publisher_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Publisher> lk_publisher_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Publisher>("lk_publisher_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Publisher>("lk_publisher_createdby", "lk_publisher_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_publisher_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_publisher_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Publisher> lk_publisher_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Publisher>("lk_publisher_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Publisher>("lk_publisher_modifiedby", "lk_publisher_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_publisheraddressbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_publisheraddressbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.PublisherAddress> lk_publisheraddressbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PublisherAddress>("lk_publisheraddressbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PublisherAddress>("lk_publisheraddressbase_createdby", "lk_publisheraddressbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_publisheraddressbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_publisheraddressbase_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.PublisherAddress> lk_publisheraddressbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PublisherAddress>("lk_publisheraddressbase_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PublisherAddress>("lk_publisheraddressbase_createdonbehalfby", "lk_publisheraddressbase_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_publisheraddressbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_publisheraddressbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.PublisherAddress> lk_publisheraddressbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PublisherAddress>("lk_publisheraddressbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PublisherAddress>("lk_publisheraddressbase_modifiedby", "lk_publisheraddressbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_publisheraddressbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_publisheraddressbase_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.PublisherAddress> lk_publisheraddressbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PublisherAddress>("lk_publisheraddressbase_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PublisherAddress>("lk_publisheraddressbase_modifiedonbehalfby", "lk_publisheraddressbase_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_publisherbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_publisherbase_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Publisher> lk_publisherbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Publisher>("lk_publisherbase_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Publisher>("lk_publisherbase_createdonbehalfby", "lk_publisherbase_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_publisherbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_publisherbase_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Publisher> lk_publisherbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Publisher>("lk_publisherbase_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Publisher>("lk_publisherbase_modifiedonbehalfby", "lk_publisherbase_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_quarterlyfiscalcalendar_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quarterlyfiscalcalendar_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.QuarterlyFiscalCalendar> lk_quarterlyfiscalcalendar_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QuarterlyFiscalCalendar>("lk_quarterlyfiscalcalendar_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QuarterlyFiscalCalendar>("lk_quarterlyfiscalcalendar_createdby", "lk_quarterlyfiscalcalendar_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_quarterlyfiscalcalendar_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quarterlyfiscalcalendar_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.QuarterlyFiscalCalendar> lk_quarterlyfiscalcalendar_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QuarterlyFiscalCalendar>("lk_quarterlyfiscalcalendar_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QuarterlyFiscalCalendar>("lk_quarterlyfiscalcalendar_createdonbehalfby", "lk_quarterlyfiscalcalendar_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_quarterlyfiscalcalendar_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quarterlyfiscalcalendar_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.QuarterlyFiscalCalendar> lk_quarterlyfiscalcalendar_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QuarterlyFiscalCalendar>("lk_quarterlyfiscalcalendar_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QuarterlyFiscalCalendar>("lk_quarterlyfiscalcalendar_modifiedby", "lk_quarterlyfiscalcalendar_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_quarterlyfiscalcalendar_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quarterlyfiscalcalendar_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.QuarterlyFiscalCalendar> lk_quarterlyfiscalcalendar_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QuarterlyFiscalCalendar>("lk_quarterlyfiscalcalendar_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QuarterlyFiscalCalendar>("lk_quarterlyfiscalcalendar_modifiedonbehalfby", "lk_quarterlyfiscalcalendar_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_quarterlyfiscalcalendar_salespersonid
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quarterlyfiscalcalendar_salespersonid")]
		public System.Collections.Generic.IEnumerable<Xrm.QuarterlyFiscalCalendar> lk_quarterlyfiscalcalendar_salespersonid
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QuarterlyFiscalCalendar>("lk_quarterlyfiscalcalendar_salespersonid", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QuarterlyFiscalCalendar>("lk_quarterlyfiscalcalendar_salespersonid", "lk_quarterlyfiscalcalendar_salespersonid", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_queue_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_queue_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Queue> lk_queue_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Queue>("lk_queue_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Queue>("lk_queue_createdonbehalfby", "lk_queue_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_queue_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_queue_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Queue> lk_queue_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Queue>("lk_queue_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Queue>("lk_queue_modifiedonbehalfby", "lk_queue_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_queuebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_queuebase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Queue> lk_queuebase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Queue>("lk_queuebase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Queue>("lk_queuebase_createdby", "lk_queuebase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_queuebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_queuebase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Queue> lk_queuebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Queue>("lk_queuebase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Queue>("lk_queuebase_modifiedby", "lk_queuebase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_queueitem_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_queueitem_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.QueueItem> lk_queueitem_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QueueItem>("lk_queueitem_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QueueItem>("lk_queueitem_createdonbehalfby", "lk_queueitem_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_queueitem_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_queueitem_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.QueueItem> lk_queueitem_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QueueItem>("lk_queueitem_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QueueItem>("lk_queueitem_modifiedonbehalfby", "lk_queueitem_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_queueitembase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_queueitembase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.QueueItem> lk_queueitembase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QueueItem>("lk_queueitembase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QueueItem>("lk_queueitembase_createdby", "lk_queueitembase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_queueitembase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_queueitembase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.QueueItem> lk_queueitembase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QueueItem>("lk_queueitembase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QueueItem>("lk_queueitembase_modifiedby", "lk_queueitembase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_queueitembase_workerid
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_queueitembase_workerid")]
		public System.Collections.Generic.IEnumerable<Xrm.QueueItem> lk_queueitembase_workerid
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QueueItem>("lk_queueitembase_workerid", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QueueItem>("lk_queueitembase_workerid", "lk_queueitembase_workerid", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_quote_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quote_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Quote> lk_quote_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Quote>("lk_quote_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Quote>("lk_quote_createdonbehalfby", "lk_quote_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_quote_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quote_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Quote> lk_quote_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Quote>("lk_quote_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Quote>("lk_quote_modifiedonbehalfby", "lk_quote_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_quotebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quotebase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Quote> lk_quotebase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Quote>("lk_quotebase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Quote>("lk_quotebase_createdby", "lk_quotebase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_quotebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quotebase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Quote> lk_quotebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Quote>("lk_quotebase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Quote>("lk_quotebase_modifiedby", "lk_quotebase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_quoteclose_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quoteclose_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.QuoteClose> lk_quoteclose_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QuoteClose>("lk_quoteclose_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QuoteClose>("lk_quoteclose_createdby", "lk_quoteclose_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_quoteclose_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quoteclose_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.QuoteClose> lk_quoteclose_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QuoteClose>("lk_quoteclose_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QuoteClose>("lk_quoteclose_createdonbehalfby", "lk_quoteclose_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_quoteclose_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quoteclose_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.QuoteClose> lk_quoteclose_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QuoteClose>("lk_quoteclose_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QuoteClose>("lk_quoteclose_modifiedby", "lk_quoteclose_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_quoteclose_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quoteclose_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.QuoteClose> lk_quoteclose_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QuoteClose>("lk_quoteclose_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QuoteClose>("lk_quoteclose_modifiedonbehalfby", "lk_quoteclose_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_quotedetail_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quotedetail_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.QuoteDetail> lk_quotedetail_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QuoteDetail>("lk_quotedetail_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QuoteDetail>("lk_quotedetail_createdonbehalfby", "lk_quotedetail_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_quotedetail_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quotedetail_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.QuoteDetail> lk_quotedetail_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QuoteDetail>("lk_quotedetail_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QuoteDetail>("lk_quotedetail_modifiedonbehalfby", "lk_quotedetail_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_quotedetailbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quotedetailbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.QuoteDetail> lk_quotedetailbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QuoteDetail>("lk_quotedetailbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QuoteDetail>("lk_quotedetailbase_createdby", "lk_quotedetailbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_quotedetailbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_quotedetailbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.QuoteDetail> lk_quotedetailbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QuoteDetail>("lk_quotedetailbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QuoteDetail>("lk_quotedetailbase_modifiedby", "lk_quotedetailbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_recurrencerule_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_recurrencerule_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurrenceRule> lk_recurrencerule_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurrenceRule>("lk_recurrencerule_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurrenceRule>("lk_recurrencerule_createdby", "lk_recurrencerule_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_recurrencerule_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_recurrencerule_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurrenceRule> lk_recurrencerule_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurrenceRule>("lk_recurrencerule_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurrenceRule>("lk_recurrencerule_modifiedby", "lk_recurrencerule_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_recurrencerulebase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_recurrencerulebase_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurrenceRule> lk_recurrencerulebase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurrenceRule>("lk_recurrencerulebase_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurrenceRule>("lk_recurrencerulebase_createdonbehalfby", "lk_recurrencerulebase_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_recurrencerulebase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_recurrencerulebase_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurrenceRule> lk_recurrencerulebase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurrenceRule>("lk_recurrencerulebase_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurrenceRule>("lk_recurrencerulebase_modifiedonbehalfby", "lk_recurrencerulebase_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_recurringappointmentmaster_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_recurringappointmentmaster_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurringAppointmentMaster> lk_recurringappointmentmaster_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurringAppointmentMaster>("lk_recurringappointmentmaster_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurringAppointmentMaster>("lk_recurringappointmentmaster_createdby", "lk_recurringappointmentmaster_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_recurringappointmentmaster_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_recurringappointmentmaster_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurringAppointmentMaster> lk_recurringappointmentmaster_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurringAppointmentMaster>("lk_recurringappointmentmaster_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurringAppointmentMaster>("lk_recurringappointmentmaster_createdonbehalfby", "lk_recurringappointmentmaster_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_recurringappointmentmaster_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_recurringappointmentmaster_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurringAppointmentMaster> lk_recurringappointmentmaster_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurringAppointmentMaster>("lk_recurringappointmentmaster_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurringAppointmentMaster>("lk_recurringappointmentmaster_modifiedby", "lk_recurringappointmentmaster_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_recurringappointmentmaster_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_recurringappointmentmaster_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurringAppointmentMaster> lk_recurringappointmentmaster_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurringAppointmentMaster>("lk_recurringappointmentmaster_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurringAppointmentMaster>("lk_recurringappointmentmaster_modifiedonbehalfby", "lk_recurringappointmentmaster_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_relationshiprole_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_relationshiprole_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.RelationshipRole> lk_relationshiprole_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RelationshipRole>("lk_relationshiprole_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RelationshipRole>("lk_relationshiprole_createdonbehalfby", "lk_relationshiprole_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_relationshiprole_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_relationshiprole_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.RelationshipRole> lk_relationshiprole_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RelationshipRole>("lk_relationshiprole_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RelationshipRole>("lk_relationshiprole_modifiedonbehalfby", "lk_relationshiprole_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_relationshiprolemap_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_relationshiprolemap_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.RelationshipRoleMap> lk_relationshiprolemap_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RelationshipRoleMap>("lk_relationshiprolemap_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RelationshipRoleMap>("lk_relationshiprolemap_createdonbehalfby", "lk_relationshiprolemap_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_relationshiprolemap_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_relationshiprolemap_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.RelationshipRoleMap> lk_relationshiprolemap_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RelationshipRoleMap>("lk_relationshiprolemap_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RelationshipRoleMap>("lk_relationshiprolemap_modifiedonbehalfby", "lk_relationshiprolemap_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_report_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_report_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Report> lk_report_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Report>("lk_report_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Report>("lk_report_createdonbehalfby", "lk_report_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_report_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_report_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Report> lk_report_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Report>("lk_report_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Report>("lk_report_modifiedonbehalfby", "lk_report_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_reportbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Report> lk_reportbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Report>("lk_reportbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Report>("lk_reportbase_createdby", "lk_reportbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_reportbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Report> lk_reportbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Report>("lk_reportbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Report>("lk_reportbase_modifiedby", "lk_reportbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_reportcategory_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportcategory_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ReportCategory> lk_reportcategory_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ReportCategory>("lk_reportcategory_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ReportCategory>("lk_reportcategory_createdonbehalfby", "lk_reportcategory_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_reportcategory_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportcategory_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ReportCategory> lk_reportcategory_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ReportCategory>("lk_reportcategory_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ReportCategory>("lk_reportcategory_modifiedonbehalfby", "lk_reportcategory_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_reportcategorybase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportcategorybase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.ReportCategory> lk_reportcategorybase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ReportCategory>("lk_reportcategorybase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ReportCategory>("lk_reportcategorybase_createdby", "lk_reportcategorybase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_reportcategorybase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportcategorybase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.ReportCategory> lk_reportcategorybase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ReportCategory>("lk_reportcategorybase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ReportCategory>("lk_reportcategorybase_modifiedby", "lk_reportcategorybase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_reportentity_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportentity_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ReportEntity> lk_reportentity_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ReportEntity>("lk_reportentity_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ReportEntity>("lk_reportentity_createdonbehalfby", "lk_reportentity_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_reportentity_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportentity_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ReportEntity> lk_reportentity_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ReportEntity>("lk_reportentity_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ReportEntity>("lk_reportentity_modifiedonbehalfby", "lk_reportentity_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_reportentitybase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportentitybase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.ReportEntity> lk_reportentitybase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ReportEntity>("lk_reportentitybase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ReportEntity>("lk_reportentitybase_createdby", "lk_reportentitybase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_reportentitybase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportentitybase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.ReportEntity> lk_reportentitybase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ReportEntity>("lk_reportentitybase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ReportEntity>("lk_reportentitybase_modifiedby", "lk_reportentitybase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_reportlink_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportlink_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ReportLink> lk_reportlink_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ReportLink>("lk_reportlink_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ReportLink>("lk_reportlink_createdonbehalfby", "lk_reportlink_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_reportlink_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportlink_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ReportLink> lk_reportlink_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ReportLink>("lk_reportlink_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ReportLink>("lk_reportlink_modifiedonbehalfby", "lk_reportlink_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_reportlinkbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportlinkbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.ReportLink> lk_reportlinkbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ReportLink>("lk_reportlinkbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ReportLink>("lk_reportlinkbase_createdby", "lk_reportlinkbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_reportlinkbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportlinkbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.ReportLink> lk_reportlinkbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ReportLink>("lk_reportlinkbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ReportLink>("lk_reportlinkbase_modifiedby", "lk_reportlinkbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_reportvisibility_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportvisibility_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ReportVisibility> lk_reportvisibility_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ReportVisibility>("lk_reportvisibility_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ReportVisibility>("lk_reportvisibility_createdonbehalfby", "lk_reportvisibility_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_reportvisibility_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportvisibility_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ReportVisibility> lk_reportvisibility_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ReportVisibility>("lk_reportvisibility_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ReportVisibility>("lk_reportvisibility_modifiedonbehalfby", "lk_reportvisibility_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_reportvisibilitybase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportvisibilitybase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.ReportVisibility> lk_reportvisibilitybase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ReportVisibility>("lk_reportvisibilitybase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ReportVisibility>("lk_reportvisibilitybase_createdby", "lk_reportvisibilitybase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_reportvisibilitybase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_reportvisibilitybase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.ReportVisibility> lk_reportvisibilitybase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ReportVisibility>("lk_reportvisibilitybase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ReportVisibility>("lk_reportvisibilitybase_modifiedby", "lk_reportvisibilitybase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_resourcespec_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_resourcespec_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.ResourceSpec> lk_resourcespec_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ResourceSpec>("lk_resourcespec_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ResourceSpec>("lk_resourcespec_createdby", "lk_resourcespec_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_resourcespec_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_resourcespec_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ResourceSpec> lk_resourcespec_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ResourceSpec>("lk_resourcespec_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ResourceSpec>("lk_resourcespec_createdonbehalfby", "lk_resourcespec_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_resourcespec_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_resourcespec_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.ResourceSpec> lk_resourcespec_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ResourceSpec>("lk_resourcespec_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ResourceSpec>("lk_resourcespec_modifiedby", "lk_resourcespec_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_resourcespec_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_resourcespec_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ResourceSpec> lk_resourcespec_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ResourceSpec>("lk_resourcespec_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ResourceSpec>("lk_resourcespec_modifiedonbehalfby", "lk_resourcespec_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_role_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_role_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Role> lk_role_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Role>("lk_role_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Role>("lk_role_createdonbehalfby", "lk_role_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_role_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_role_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Role> lk_role_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Role>("lk_role_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Role>("lk_role_modifiedonbehalfby", "lk_role_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_rolebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_rolebase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Role> lk_rolebase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Role>("lk_rolebase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Role>("lk_rolebase_createdby", "lk_rolebase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_rolebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_rolebase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Role> lk_rolebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Role>("lk_rolebase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Role>("lk_rolebase_modifiedby", "lk_rolebase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_rollupfield_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_rollupfield_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.RollupField> lk_rollupfield_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RollupField>("lk_rollupfield_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RollupField>("lk_rollupfield_createdby", "lk_rollupfield_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_rollupfield_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_rollupfield_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.RollupField> lk_rollupfield_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RollupField>("lk_rollupfield_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RollupField>("lk_rollupfield_createdonbehalfby", "lk_rollupfield_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_rollupfield_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_rollupfield_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.RollupField> lk_rollupfield_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RollupField>("lk_rollupfield_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RollupField>("lk_rollupfield_modifiedby", "lk_rollupfield_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_rollupfield_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_rollupfield_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.RollupField> lk_rollupfield_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RollupField>("lk_rollupfield_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RollupField>("lk_rollupfield_modifiedonbehalfby", "lk_rollupfield_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_salesliterature_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesliterature_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesLiterature> lk_salesliterature_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesLiterature>("lk_salesliterature_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesLiterature>("lk_salesliterature_createdonbehalfby", "lk_salesliterature_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_salesliterature_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesliterature_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesLiterature> lk_salesliterature_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesLiterature>("lk_salesliterature_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesLiterature>("lk_salesliterature_modifiedonbehalfby", "lk_salesliterature_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_salesliteraturebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesliteraturebase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesLiterature> lk_salesliteraturebase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesLiterature>("lk_salesliteraturebase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesLiterature>("lk_salesliteraturebase_createdby", "lk_salesliteraturebase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_salesliteraturebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesliteraturebase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesLiterature> lk_salesliteraturebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesLiterature>("lk_salesliteraturebase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesLiterature>("lk_salesliteraturebase_modifiedby", "lk_salesliteraturebase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_salesliteratureitem_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesliteratureitem_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesLiteratureItem> lk_salesliteratureitem_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesLiteratureItem>("lk_salesliteratureitem_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesLiteratureItem>("lk_salesliteratureitem_createdonbehalfby", "lk_salesliteratureitem_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_salesliteratureitem_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesliteratureitem_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesLiteratureItem> lk_salesliteratureitem_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesLiteratureItem>("lk_salesliteratureitem_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesLiteratureItem>("lk_salesliteratureitem_modifiedonbehalfby", "lk_salesliteratureitem_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_salesliteratureitembase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesliteratureitembase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesLiteratureItem> lk_salesliteratureitembase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesLiteratureItem>("lk_salesliteratureitembase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesLiteratureItem>("lk_salesliteratureitembase_createdby", "lk_salesliteratureitembase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_salesliteratureitembase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesliteratureitembase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesLiteratureItem> lk_salesliteratureitembase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesLiteratureItem>("lk_salesliteratureitembase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesLiteratureItem>("lk_salesliteratureitembase_modifiedby", "lk_salesliteratureitembase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_salesorder_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesorder_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesOrder> lk_salesorder_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesOrder>("lk_salesorder_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesOrder>("lk_salesorder_createdonbehalfby", "lk_salesorder_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_salesorder_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesorder_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesOrder> lk_salesorder_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesOrder>("lk_salesorder_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesOrder>("lk_salesorder_modifiedonbehalfby", "lk_salesorder_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_salesorderbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesorderbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesOrder> lk_salesorderbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesOrder>("lk_salesorderbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesOrder>("lk_salesorderbase_createdby", "lk_salesorderbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_salesorderbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesorderbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesOrder> lk_salesorderbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesOrder>("lk_salesorderbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesOrder>("lk_salesorderbase_modifiedby", "lk_salesorderbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_salesorderdetail_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesorderdetail_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesOrderDetail> lk_salesorderdetail_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesOrderDetail>("lk_salesorderdetail_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesOrderDetail>("lk_salesorderdetail_createdonbehalfby", "lk_salesorderdetail_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_salesorderdetail_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesorderdetail_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesOrderDetail> lk_salesorderdetail_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesOrderDetail>("lk_salesorderdetail_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesOrderDetail>("lk_salesorderdetail_modifiedonbehalfby", "lk_salesorderdetail_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_salesorderdetailbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesorderdetailbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesOrderDetail> lk_salesorderdetailbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesOrderDetail>("lk_salesorderdetailbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesOrderDetail>("lk_salesorderdetailbase_createdby", "lk_salesorderdetailbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_salesorderdetailbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_salesorderdetailbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesOrderDetail> lk_salesorderdetailbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesOrderDetail>("lk_salesorderdetailbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesOrderDetail>("lk_salesorderdetailbase_modifiedby", "lk_salesorderdetailbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_savedquery_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_savedquery_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SavedQuery> lk_savedquery_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SavedQuery>("lk_savedquery_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SavedQuery>("lk_savedquery_createdonbehalfby", "lk_savedquery_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_savedquery_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_savedquery_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SavedQuery> lk_savedquery_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SavedQuery>("lk_savedquery_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SavedQuery>("lk_savedquery_modifiedonbehalfby", "lk_savedquery_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_savedquerybase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_savedquerybase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.SavedQuery> lk_savedquerybase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SavedQuery>("lk_savedquerybase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SavedQuery>("lk_savedquerybase_createdby", "lk_savedquerybase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_savedquerybase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_savedquerybase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.SavedQuery> lk_savedquerybase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SavedQuery>("lk_savedquerybase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SavedQuery>("lk_savedquerybase_modifiedby", "lk_savedquerybase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_savedqueryvisualizationbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_savedqueryvisualizationbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.SavedQueryVisualization> lk_savedqueryvisualizationbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SavedQueryVisualization>("lk_savedqueryvisualizationbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SavedQueryVisualization>("lk_savedqueryvisualizationbase_createdby", "lk_savedqueryvisualizationbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_savedqueryvisualizationbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_savedqueryvisualizationbase_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SavedQueryVisualization> lk_savedqueryvisualizationbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SavedQueryVisualization>("lk_savedqueryvisualizationbase_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SavedQueryVisualization>("lk_savedqueryvisualizationbase_createdonbehalfby", "lk_savedqueryvisualizationbase_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_savedqueryvisualizationbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_savedqueryvisualizationbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.SavedQueryVisualization> lk_savedqueryvisualizationbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SavedQueryVisualization>("lk_savedqueryvisualizationbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SavedQueryVisualization>("lk_savedqueryvisualizationbase_modifiedby", "lk_savedqueryvisualizationbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_savedqueryvisualizationbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_savedqueryvisualizationbase_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SavedQueryVisualization> lk_savedqueryvisualizationbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SavedQueryVisualization>("lk_savedqueryvisualizationbase_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SavedQueryVisualization>("lk_savedqueryvisualizationbase_modifiedonbehalfby", "lk_savedqueryvisualizationbase_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sdkmessage_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessage_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessage> lk_sdkmessage_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessage>("lk_sdkmessage_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessage>("lk_sdkmessage_createdonbehalfby", "lk_sdkmessage_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sdkmessage_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessage_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessage> lk_sdkmessage_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessage>("lk_sdkmessage_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessage>("lk_sdkmessage_modifiedonbehalfby", "lk_sdkmessage_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sdkmessagefilter_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessagefilter_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageFilter> lk_sdkmessagefilter_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageFilter>("lk_sdkmessagefilter_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageFilter>("lk_sdkmessagefilter_createdonbehalfby", "lk_sdkmessagefilter_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sdkmessagefilter_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessagefilter_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageFilter> lk_sdkmessagefilter_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageFilter>("lk_sdkmessagefilter_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageFilter>("lk_sdkmessagefilter_modifiedonbehalfby", "lk_sdkmessagefilter_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sdkmessagepair_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessagepair_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessagePair> lk_sdkmessagepair_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessagePair>("lk_sdkmessagepair_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessagePair>("lk_sdkmessagepair_createdonbehalfby", "lk_sdkmessagepair_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sdkmessagepair_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessagepair_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessagePair> lk_sdkmessagepair_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessagePair>("lk_sdkmessagepair_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessagePair>("lk_sdkmessagepair_modifiedonbehalfby", "lk_sdkmessagepair_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sdkmessageprocessingstep_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessageprocessingstep_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageProcessingStep> lk_sdkmessageprocessingstep_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageProcessingStep>("lk_sdkmessageprocessingstep_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageProcessingStep>("lk_sdkmessageprocessingstep_createdonbehalfby", "lk_sdkmessageprocessingstep_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sdkmessageprocessingstep_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessageprocessingstep_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageProcessingStep> lk_sdkmessageprocessingstep_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageProcessingStep>("lk_sdkmessageprocessingstep_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageProcessingStep>("lk_sdkmessageprocessingstep_modifiedonbehalfby", "lk_sdkmessageprocessingstep_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sdkmessageprocessingstepimage_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessageprocessingstepimage_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageProcessingStepImage> lk_sdkmessageprocessingstepimage_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageProcessingStepImage>("lk_sdkmessageprocessingstepimage_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageProcessingStepImage>("lk_sdkmessageprocessingstepimage_createdonbehalfby", "lk_sdkmessageprocessingstepimage_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sdkmessageprocessingstepimage_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessageprocessingstepimage_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageProcessingStepImage> lk_sdkmessageprocessingstepimage_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageProcessingStepImage>("lk_sdkmessageprocessingstepimage_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageProcessingStepImage>("lk_sdkmessageprocessingstepimage_modifiedonbehalfby", "lk_sdkmessageprocessingstepimage_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sdkmessageprocessingstepsecureconfig_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessageprocessingstepsecureconfig_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageProcessingStepSecureConfig> lk_sdkmessageprocessingstepsecureconfig_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageProcessingStepSecureConfig>("lk_sdkmessageprocessingstepsecureconfig_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageProcessingStepSecureConfig>("lk_sdkmessageprocessingstepsecureconfig_createdonbehalfby", "lk_sdkmessageprocessingstepsecureconfig_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sdkmessageprocessingstepsecureconfig_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessageprocessingstepsecureconfig_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageProcessingStepSecureConfig> lk_sdkmessageprocessingstepsecureconfig_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageProcessingStepSecureConfig>("lk_sdkmessageprocessingstepsecureconfig_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageProcessingStepSecureConfig>("lk_sdkmessageprocessingstepsecureconfig_modifiedonbehalfby", "lk_sdkmessageprocessingstepsecureconfig_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sdkmessagerequest_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessagerequest_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageRequest> lk_sdkmessagerequest_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageRequest>("lk_sdkmessagerequest_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageRequest>("lk_sdkmessagerequest_createdonbehalfby", "lk_sdkmessagerequest_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sdkmessagerequest_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessagerequest_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageRequest> lk_sdkmessagerequest_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageRequest>("lk_sdkmessagerequest_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageRequest>("lk_sdkmessagerequest_modifiedonbehalfby", "lk_sdkmessagerequest_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sdkmessagerequestfield_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessagerequestfield_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageRequestField> lk_sdkmessagerequestfield_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageRequestField>("lk_sdkmessagerequestfield_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageRequestField>("lk_sdkmessagerequestfield_createdonbehalfby", "lk_sdkmessagerequestfield_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sdkmessagerequestfield_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessagerequestfield_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageRequestField> lk_sdkmessagerequestfield_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageRequestField>("lk_sdkmessagerequestfield_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageRequestField>("lk_sdkmessagerequestfield_modifiedonbehalfby", "lk_sdkmessagerequestfield_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sdkmessageresponse_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessageresponse_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageResponse> lk_sdkmessageresponse_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageResponse>("lk_sdkmessageresponse_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageResponse>("lk_sdkmessageresponse_createdonbehalfby", "lk_sdkmessageresponse_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sdkmessageresponse_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessageresponse_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageResponse> lk_sdkmessageresponse_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageResponse>("lk_sdkmessageresponse_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageResponse>("lk_sdkmessageresponse_modifiedonbehalfby", "lk_sdkmessageresponse_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sdkmessageresponsefield_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessageresponsefield_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageResponseField> lk_sdkmessageresponsefield_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageResponseField>("lk_sdkmessageresponsefield_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageResponseField>("lk_sdkmessageresponsefield_createdonbehalfby", "lk_sdkmessageresponsefield_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sdkmessageresponsefield_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sdkmessageresponsefield_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageResponseField> lk_sdkmessageresponsefield_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageResponseField>("lk_sdkmessageresponsefield_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageResponseField>("lk_sdkmessageresponsefield_modifiedonbehalfby", "lk_sdkmessageresponsefield_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_semiannualfiscalcalendar_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_semiannualfiscalcalendar_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.SemiAnnualFiscalCalendar> lk_semiannualfiscalcalendar_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SemiAnnualFiscalCalendar>("lk_semiannualfiscalcalendar_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SemiAnnualFiscalCalendar>("lk_semiannualfiscalcalendar_createdby", "lk_semiannualfiscalcalendar_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_semiannualfiscalcalendar_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_semiannualfiscalcalendar_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SemiAnnualFiscalCalendar> lk_semiannualfiscalcalendar_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SemiAnnualFiscalCalendar>("lk_semiannualfiscalcalendar_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SemiAnnualFiscalCalendar>("lk_semiannualfiscalcalendar_createdonbehalfby", "lk_semiannualfiscalcalendar_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_semiannualfiscalcalendar_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_semiannualfiscalcalendar_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.SemiAnnualFiscalCalendar> lk_semiannualfiscalcalendar_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SemiAnnualFiscalCalendar>("lk_semiannualfiscalcalendar_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SemiAnnualFiscalCalendar>("lk_semiannualfiscalcalendar_modifiedby", "lk_semiannualfiscalcalendar_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_semiannualfiscalcalendar_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_semiannualfiscalcalendar_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SemiAnnualFiscalCalendar> lk_semiannualfiscalcalendar_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SemiAnnualFiscalCalendar>("lk_semiannualfiscalcalendar_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SemiAnnualFiscalCalendar>("lk_semiannualfiscalcalendar_modifiedonbehalfby", "lk_semiannualfiscalcalendar_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_semiannualfiscalcalendar_salespersonid
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_semiannualfiscalcalendar_salespersonid")]
		public System.Collections.Generic.IEnumerable<Xrm.SemiAnnualFiscalCalendar> lk_semiannualfiscalcalendar_salespersonid
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SemiAnnualFiscalCalendar>("lk_semiannualfiscalcalendar_salespersonid", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SemiAnnualFiscalCalendar>("lk_semiannualfiscalcalendar_salespersonid", "lk_semiannualfiscalcalendar_salespersonid", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_service_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_service_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Service> lk_service_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Service>("lk_service_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Service>("lk_service_createdby", "lk_service_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_service_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_service_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Service> lk_service_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Service>("lk_service_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Service>("lk_service_createdonbehalfby", "lk_service_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_service_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_service_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Service> lk_service_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Service>("lk_service_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Service>("lk_service_modifiedby", "lk_service_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_service_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_service_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Service> lk_service_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Service>("lk_service_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Service>("lk_service_modifiedonbehalfby", "lk_service_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_serviceappointment_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_serviceappointment_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceAppointment> lk_serviceappointment_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceAppointment>("lk_serviceappointment_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceAppointment>("lk_serviceappointment_createdby", "lk_serviceappointment_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_serviceappointment_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_serviceappointment_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceAppointment> lk_serviceappointment_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceAppointment>("lk_serviceappointment_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceAppointment>("lk_serviceappointment_createdonbehalfby", "lk_serviceappointment_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_serviceappointment_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_serviceappointment_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceAppointment> lk_serviceappointment_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceAppointment>("lk_serviceappointment_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceAppointment>("lk_serviceappointment_modifiedby", "lk_serviceappointment_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_serviceappointment_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_serviceappointment_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceAppointment> lk_serviceappointment_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceAppointment>("lk_serviceappointment_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceAppointment>("lk_serviceappointment_modifiedonbehalfby", "lk_serviceappointment_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_serviceendpointbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_serviceendpointbase_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceEndpoint> lk_serviceendpointbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceEndpoint>("lk_serviceendpointbase_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceEndpoint>("lk_serviceendpointbase_createdonbehalfby", "lk_serviceendpointbase_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_serviceendpointbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_serviceendpointbase_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceEndpoint> lk_serviceendpointbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceEndpoint>("lk_serviceendpointbase_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceEndpoint>("lk_serviceendpointbase_modifiedonbehalfby", "lk_serviceendpointbase_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sharepointdocumentlocationbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sharepointdocumentlocationbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.SharePointDocumentLocation> lk_sharepointdocumentlocationbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SharePointDocumentLocation>("lk_sharepointdocumentlocationbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SharePointDocumentLocation>("lk_sharepointdocumentlocationbase_createdby", "lk_sharepointdocumentlocationbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sharepointdocumentlocationbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sharepointdocumentlocationbase_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SharePointDocumentLocation> lk_sharepointdocumentlocationbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SharePointDocumentLocation>("lk_sharepointdocumentlocationbase_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SharePointDocumentLocation>("lk_sharepointdocumentlocationbase_createdonbehalfby", "lk_sharepointdocumentlocationbase_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sharepointdocumentlocationbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sharepointdocumentlocationbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.SharePointDocumentLocation> lk_sharepointdocumentlocationbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SharePointDocumentLocation>("lk_sharepointdocumentlocationbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SharePointDocumentLocation>("lk_sharepointdocumentlocationbase_modifiedby", "lk_sharepointdocumentlocationbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sharepointdocumentlocationbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sharepointdocumentlocationbase_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SharePointDocumentLocation> lk_sharepointdocumentlocationbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SharePointDocumentLocation>("lk_sharepointdocumentlocationbase_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SharePointDocumentLocation>("lk_sharepointdocumentlocationbase_modifiedonbehalfby", "lk_sharepointdocumentlocationbase_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sharepointsitebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sharepointsitebase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.SharePointSite> lk_sharepointsitebase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SharePointSite>("lk_sharepointsitebase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SharePointSite>("lk_sharepointsitebase_createdby", "lk_sharepointsitebase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sharepointsitebase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sharepointsitebase_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SharePointSite> lk_sharepointsitebase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SharePointSite>("lk_sharepointsitebase_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SharePointSite>("lk_sharepointsitebase_createdonbehalfby", "lk_sharepointsitebase_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sharepointsitebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sharepointsitebase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.SharePointSite> lk_sharepointsitebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SharePointSite>("lk_sharepointsitebase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SharePointSite>("lk_sharepointsitebase_modifiedby", "lk_sharepointsitebase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sharepointsitebase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sharepointsitebase_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SharePointSite> lk_sharepointsitebase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SharePointSite>("lk_sharepointsitebase_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SharePointSite>("lk_sharepointsitebase_modifiedonbehalfby", "lk_sharepointsitebase_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_site_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_site_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Site> lk_site_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Site>("lk_site_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Site>("lk_site_createdonbehalfby", "lk_site_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_site_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_site_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Site> lk_site_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Site>("lk_site_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Site>("lk_site_modifiedonbehalfby", "lk_site_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sitebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sitebase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Site> lk_sitebase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Site>("lk_sitebase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Site>("lk_sitebase_createdby", "lk_sitebase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_sitebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_sitebase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Site> lk_sitebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Site>("lk_sitebase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Site>("lk_sitebase_modifiedby", "lk_sitebase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_solution_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_solution_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Solution> lk_solution_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Solution>("lk_solution_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Solution>("lk_solution_createdby", "lk_solution_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_solution_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_solution_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Solution> lk_solution_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Solution>("lk_solution_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Solution>("lk_solution_modifiedby", "lk_solution_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_solutionbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_solutionbase_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Solution> lk_solutionbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Solution>("lk_solutionbase_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Solution>("lk_solutionbase_createdonbehalfby", "lk_solutionbase_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_solutionbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_solutionbase_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Solution> lk_solutionbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Solution>("lk_solutionbase_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Solution>("lk_solutionbase_modifiedonbehalfby", "lk_solutionbase_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_solutioncomponentbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_solutioncomponentbase_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SolutionComponent> lk_solutioncomponentbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SolutionComponent>("lk_solutioncomponentbase_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SolutionComponent>("lk_solutioncomponentbase_createdonbehalfby", "lk_solutioncomponentbase_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_solutioncomponentbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_solutioncomponentbase_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.SolutionComponent> lk_solutioncomponentbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SolutionComponent>("lk_solutioncomponentbase_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SolutionComponent>("lk_solutioncomponentbase_modifiedonbehalfby", "lk_solutioncomponentbase_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_subject_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_subject_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Subject> lk_subject_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Subject>("lk_subject_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Subject>("lk_subject_createdonbehalfby", "lk_subject_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_subject_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_subject_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Subject> lk_subject_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Subject>("lk_subject_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Subject>("lk_subject_modifiedonbehalfby", "lk_subject_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_subjectbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_subjectbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Subject> lk_subjectbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Subject>("lk_subjectbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Subject>("lk_subjectbase_createdby", "lk_subjectbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_subjectbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_subjectbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Subject> lk_subjectbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Subject>("lk_subjectbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Subject>("lk_subjectbase_modifiedby", "lk_subjectbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_systemuser_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_systemuser_createdonbehalfby", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.SystemUser> Referencedlk_systemuser_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SystemUser>("lk_systemuser_createdonbehalfby", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SystemUser>("Referencedlk_systemuser_createdonbehalfby", "lk_systemuser_createdonbehalfby", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_systemuser_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_systemuser_modifiedonbehalfby", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.SystemUser> Referencedlk_systemuser_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SystemUser>("lk_systemuser_modifiedonbehalfby", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SystemUser>("Referencedlk_systemuser_modifiedonbehalfby", "lk_systemuser_modifiedonbehalfby", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_systemuserbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_systemuserbase_createdby", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.SystemUser> Referencedlk_systemuserbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SystemUser>("lk_systemuserbase_createdby", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SystemUser>("Referencedlk_systemuserbase_createdby", "lk_systemuserbase_createdby", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_systemuserbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_systemuserbase_modifiedby", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.SystemUser> Referencedlk_systemuserbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SystemUser>("lk_systemuserbase_modifiedby", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SystemUser>("Referencedlk_systemuserbase_modifiedby", "lk_systemuserbase_modifiedby", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_task_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_task_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Task> lk_task_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Task>("lk_task_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Task>("lk_task_createdby", "lk_task_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_task_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_task_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Task> lk_task_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Task>("lk_task_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Task>("lk_task_createdonbehalfby", "lk_task_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_task_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_task_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Task> lk_task_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Task>("lk_task_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Task>("lk_task_modifiedby", "lk_task_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_task_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_task_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Task> lk_task_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Task>("lk_task_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Task>("lk_task_modifiedonbehalfby", "lk_task_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_team_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_team_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Team> lk_team_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Team>("lk_team_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Team>("lk_team_createdonbehalfby", "lk_team_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_team_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_team_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Team> lk_team_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Team>("lk_team_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Team>("lk_team_modifiedonbehalfby", "lk_team_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_teambase_administratorid
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_teambase_administratorid")]
		public System.Collections.Generic.IEnumerable<Xrm.Team> lk_teambase_administratorid
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Team>("lk_teambase_administratorid", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Team>("lk_teambase_administratorid", "lk_teambase_administratorid", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_teambase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_teambase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Team> lk_teambase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Team>("lk_teambase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Team>("lk_teambase_createdby", "lk_teambase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_teambase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_teambase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Team> lk_teambase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Team>("lk_teambase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Team>("lk_teambase_modifiedby", "lk_teambase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_templatebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_templatebase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Template> lk_templatebase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Template>("lk_templatebase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Template>("lk_templatebase_createdby", "lk_templatebase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_templatebase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_templatebase_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Template> lk_templatebase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Template>("lk_templatebase_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Template>("lk_templatebase_createdonbehalfby", "lk_templatebase_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_templatebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_templatebase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Template> lk_templatebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Template>("lk_templatebase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Template>("lk_templatebase_modifiedby", "lk_templatebase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_templatebase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_templatebase_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Template> lk_templatebase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Template>("lk_templatebase_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Template>("lk_templatebase_modifiedonbehalfby", "lk_templatebase_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_territory_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_territory_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Territory> lk_territory_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Territory>("lk_territory_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Territory>("lk_territory_createdonbehalfby", "lk_territory_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_territory_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_territory_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Territory> lk_territory_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Territory>("lk_territory_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Territory>("lk_territory_modifiedonbehalfby", "lk_territory_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_territorybase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_territorybase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Territory> lk_territorybase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Territory>("lk_territorybase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Territory>("lk_territorybase_createdby", "lk_territorybase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_territorybase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_territorybase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Territory> lk_territorybase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Territory>("lk_territorybase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Territory>("lk_territorybase_modifiedby", "lk_territorybase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_timezonedefinition_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_timezonedefinition_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.TimeZoneDefinition> lk_timezonedefinition_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.TimeZoneDefinition>("lk_timezonedefinition_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.TimeZoneDefinition>("lk_timezonedefinition_createdby", "lk_timezonedefinition_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_timezonedefinition_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_timezonedefinition_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.TimeZoneDefinition> lk_timezonedefinition_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.TimeZoneDefinition>("lk_timezonedefinition_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.TimeZoneDefinition>("lk_timezonedefinition_createdonbehalfby", "lk_timezonedefinition_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_timezonedefinition_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_timezonedefinition_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.TimeZoneDefinition> lk_timezonedefinition_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.TimeZoneDefinition>("lk_timezonedefinition_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.TimeZoneDefinition>("lk_timezonedefinition_modifiedby", "lk_timezonedefinition_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_timezonedefinition_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_timezonedefinition_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.TimeZoneDefinition> lk_timezonedefinition_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.TimeZoneDefinition>("lk_timezonedefinition_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.TimeZoneDefinition>("lk_timezonedefinition_modifiedonbehalfby", "lk_timezonedefinition_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_timezonelocalizedname_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_timezonelocalizedname_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.TimeZoneLocalizedName> lk_timezonelocalizedname_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.TimeZoneLocalizedName>("lk_timezonelocalizedname_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.TimeZoneLocalizedName>("lk_timezonelocalizedname_createdby", "lk_timezonelocalizedname_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_timezonelocalizedname_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_timezonelocalizedname_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.TimeZoneLocalizedName> lk_timezonelocalizedname_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.TimeZoneLocalizedName>("lk_timezonelocalizedname_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.TimeZoneLocalizedName>("lk_timezonelocalizedname_createdonbehalfby", "lk_timezonelocalizedname_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_timezonelocalizedname_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_timezonelocalizedname_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.TimeZoneLocalizedName> lk_timezonelocalizedname_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.TimeZoneLocalizedName>("lk_timezonelocalizedname_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.TimeZoneLocalizedName>("lk_timezonelocalizedname_modifiedby", "lk_timezonelocalizedname_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_timezonelocalizedname_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_timezonelocalizedname_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.TimeZoneLocalizedName> lk_timezonelocalizedname_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.TimeZoneLocalizedName>("lk_timezonelocalizedname_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.TimeZoneLocalizedName>("lk_timezonelocalizedname_modifiedonbehalfby", "lk_timezonelocalizedname_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_timezonerule_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_timezonerule_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.TimeZoneRule> lk_timezonerule_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.TimeZoneRule>("lk_timezonerule_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.TimeZoneRule>("lk_timezonerule_createdby", "lk_timezonerule_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_timezonerule_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_timezonerule_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.TimeZoneRule> lk_timezonerule_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.TimeZoneRule>("lk_timezonerule_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.TimeZoneRule>("lk_timezonerule_createdonbehalfby", "lk_timezonerule_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_timezonerule_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_timezonerule_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.TimeZoneRule> lk_timezonerule_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.TimeZoneRule>("lk_timezonerule_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.TimeZoneRule>("lk_timezonerule_modifiedby", "lk_timezonerule_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_timezonerule_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_timezonerule_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.TimeZoneRule> lk_timezonerule_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.TimeZoneRule>("lk_timezonerule_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.TimeZoneRule>("lk_timezonerule_modifiedonbehalfby", "lk_timezonerule_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_transactioncurrency_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_transactioncurrency_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.TransactionCurrency> lk_transactioncurrency_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.TransactionCurrency>("lk_transactioncurrency_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.TransactionCurrency>("lk_transactioncurrency_createdonbehalfby", "lk_transactioncurrency_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_transactioncurrency_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_transactioncurrency_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.TransactionCurrency> lk_transactioncurrency_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.TransactionCurrency>("lk_transactioncurrency_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.TransactionCurrency>("lk_transactioncurrency_modifiedonbehalfby", "lk_transactioncurrency_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_transactioncurrencybase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_transactioncurrencybase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.TransactionCurrency> lk_transactioncurrencybase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.TransactionCurrency>("lk_transactioncurrencybase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.TransactionCurrency>("lk_transactioncurrencybase_createdby", "lk_transactioncurrencybase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_transactioncurrencybase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_transactioncurrencybase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.TransactionCurrency> lk_transactioncurrencybase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.TransactionCurrency>("lk_transactioncurrencybase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.TransactionCurrency>("lk_transactioncurrencybase_modifiedby", "lk_transactioncurrencybase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_transformationmapping_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_transformationmapping_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.TransformationMapping> lk_transformationmapping_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.TransformationMapping>("lk_transformationmapping_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.TransformationMapping>("lk_transformationmapping_createdby", "lk_transformationmapping_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_transformationmapping_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_transformationmapping_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.TransformationMapping> lk_transformationmapping_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.TransformationMapping>("lk_transformationmapping_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.TransformationMapping>("lk_transformationmapping_createdonbehalfby", "lk_transformationmapping_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_transformationmapping_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_transformationmapping_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.TransformationMapping> lk_transformationmapping_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.TransformationMapping>("lk_transformationmapping_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.TransformationMapping>("lk_transformationmapping_modifiedby", "lk_transformationmapping_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_transformationmapping_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_transformationmapping_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.TransformationMapping> lk_transformationmapping_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.TransformationMapping>("lk_transformationmapping_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.TransformationMapping>("lk_transformationmapping_modifiedonbehalfby", "lk_transformationmapping_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_transformationparametermapping_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_transformationparametermapping_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.TransformationParameterMapping> lk_transformationparametermapping_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.TransformationParameterMapping>("lk_transformationparametermapping_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.TransformationParameterMapping>("lk_transformationparametermapping_createdby", "lk_transformationparametermapping_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_transformationparametermapping_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_transformationparametermapping_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.TransformationParameterMapping> lk_transformationparametermapping_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.TransformationParameterMapping>("lk_transformationparametermapping_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.TransformationParameterMapping>("lk_transformationparametermapping_createdonbehalfby", "lk_transformationparametermapping_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_transformationparametermapping_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_transformationparametermapping_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.TransformationParameterMapping> lk_transformationparametermapping_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.TransformationParameterMapping>("lk_transformationparametermapping_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.TransformationParameterMapping>("lk_transformationparametermapping_modifiedby", "lk_transformationparametermapping_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_transformationparametermapping_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_transformationparametermapping_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.TransformationParameterMapping> lk_transformationparametermapping_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.TransformationParameterMapping>("lk_transformationparametermapping_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.TransformationParameterMapping>("lk_transformationparametermapping_modifiedonbehalfby", "lk_transformationparametermapping_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_uom_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_uom_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.UoM> lk_uom_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UoM>("lk_uom_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UoM>("lk_uom_createdonbehalfby", "lk_uom_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_uom_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_uom_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.UoM> lk_uom_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UoM>("lk_uom_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UoM>("lk_uom_modifiedonbehalfby", "lk_uom_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_uombase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_uombase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.UoM> lk_uombase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UoM>("lk_uombase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UoM>("lk_uombase_createdby", "lk_uombase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_uombase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_uombase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.UoM> lk_uombase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UoM>("lk_uombase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UoM>("lk_uombase_modifiedby", "lk_uombase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_uomschedule_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_uomschedule_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.UoMSchedule> lk_uomschedule_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UoMSchedule>("lk_uomschedule_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UoMSchedule>("lk_uomschedule_createdonbehalfby", "lk_uomschedule_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_uomschedule_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_uomschedule_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.UoMSchedule> lk_uomschedule_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UoMSchedule>("lk_uomschedule_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UoMSchedule>("lk_uomschedule_modifiedonbehalfby", "lk_uomschedule_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_uomschedulebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_uomschedulebase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.UoMSchedule> lk_uomschedulebase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UoMSchedule>("lk_uomschedulebase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UoMSchedule>("lk_uomschedulebase_createdby", "lk_uomschedulebase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_uomschedulebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_uomschedulebase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.UoMSchedule> lk_uomschedulebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UoMSchedule>("lk_uomschedulebase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UoMSchedule>("lk_uomschedulebase_modifiedby", "lk_uomschedulebase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_userform_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_userform_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.UserForm> lk_userform_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserForm>("lk_userform_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserForm>("lk_userform_createdby", "lk_userform_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_userform_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_userform_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.UserForm> lk_userform_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserForm>("lk_userform_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserForm>("lk_userform_modifiedby", "lk_userform_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_userformbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_userformbase_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.UserForm> lk_userformbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserForm>("lk_userformbase_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserForm>("lk_userformbase_createdonbehalfby", "lk_userformbase_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_userformbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_userformbase_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.UserForm> lk_userformbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserForm>("lk_userformbase_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserForm>("lk_userformbase_modifiedonbehalfby", "lk_userformbase_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_userquery_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_userquery_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.UserQuery> lk_userquery_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserQuery>("lk_userquery_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserQuery>("lk_userquery_createdby", "lk_userquery_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_userquery_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_userquery_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.UserQuery> lk_userquery_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserQuery>("lk_userquery_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserQuery>("lk_userquery_createdonbehalfby", "lk_userquery_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_userquery_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_userquery_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.UserQuery> lk_userquery_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserQuery>("lk_userquery_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserQuery>("lk_userquery_modifiedby", "lk_userquery_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_userquery_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_userquery_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.UserQuery> lk_userquery_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserQuery>("lk_userquery_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserQuery>("lk_userquery_modifiedonbehalfby", "lk_userquery_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_userqueryvisualization_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_userqueryvisualization_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.UserQueryVisualization> lk_userqueryvisualization_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserQueryVisualization>("lk_userqueryvisualization_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserQueryVisualization>("lk_userqueryvisualization_createdby", "lk_userqueryvisualization_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_userqueryvisualization_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_userqueryvisualization_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.UserQueryVisualization> lk_userqueryvisualization_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserQueryVisualization>("lk_userqueryvisualization_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserQueryVisualization>("lk_userqueryvisualization_modifiedby", "lk_userqueryvisualization_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_userqueryvisualizationbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_userqueryvisualizationbase_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.UserQueryVisualization> lk_userqueryvisualizationbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserQueryVisualization>("lk_userqueryvisualizationbase_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserQueryVisualization>("lk_userqueryvisualizationbase_createdonbehalfby", "lk_userqueryvisualizationbase_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_userqueryvisualizationbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_userqueryvisualizationbase_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.UserQueryVisualization> lk_userqueryvisualizationbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserQueryVisualization>("lk_userqueryvisualizationbase_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserQueryVisualization>("lk_userqueryvisualizationbase_modifiedonbehalfby", "lk_userqueryvisualizationbase_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_usersettings_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_usersettings_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.UserSettings> lk_usersettings_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserSettings>("lk_usersettings_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserSettings>("lk_usersettings_createdonbehalfby", "lk_usersettings_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_usersettings_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_usersettings_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.UserSettings> lk_usersettings_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserSettings>("lk_usersettings_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserSettings>("lk_usersettings_modifiedonbehalfby", "lk_usersettings_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_usersettingsbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_usersettingsbase_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.UserSettings> lk_usersettingsbase_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserSettings>("lk_usersettingsbase_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserSettings>("lk_usersettingsbase_createdby", "lk_usersettingsbase_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_usersettingsbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_usersettingsbase_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.UserSettings> lk_usersettingsbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserSettings>("lk_usersettingsbase_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserSettings>("lk_usersettingsbase_modifiedby", "lk_usersettingsbase_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_webresourcebase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_webresourcebase_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.WebResource> lk_webresourcebase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.WebResource>("lk_webresourcebase_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.WebResource>("lk_webresourcebase_createdonbehalfby", "lk_webresourcebase_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_webresourcebase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_webresourcebase_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.WebResource> lk_webresourcebase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.WebResource>("lk_webresourcebase_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.WebResource>("lk_webresourcebase_modifiedonbehalfby", "lk_webresourcebase_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_workflowlog_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_workflowlog_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.WorkflowLog> lk_workflowlog_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.WorkflowLog>("lk_workflowlog_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.WorkflowLog>("lk_workflowlog_createdby", "lk_workflowlog_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_workflowlog_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_workflowlog_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.WorkflowLog> lk_workflowlog_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.WorkflowLog>("lk_workflowlog_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.WorkflowLog>("lk_workflowlog_createdonbehalfby", "lk_workflowlog_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_workflowlog_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_workflowlog_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.WorkflowLog> lk_workflowlog_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.WorkflowLog>("lk_workflowlog_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.WorkflowLog>("lk_workflowlog_modifiedby", "lk_workflowlog_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_workflowlog_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_workflowlog_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.WorkflowLog> lk_workflowlog_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.WorkflowLog>("lk_workflowlog_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.WorkflowLog>("lk_workflowlog_modifiedonbehalfby", "lk_workflowlog_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N modifiedby_attributemap
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_attributemap")]
		public System.Collections.Generic.IEnumerable<Xrm.AttributeMap> modifiedby_attributemap
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AttributeMap>("modifiedby_attributemap", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AttributeMap>("modifiedby_attributemap", "modifiedby_attributemap", null, value);
			}
		}
		
		/// <summary>
		/// 1:N modifiedby_connection
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_connection")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> modifiedby_connection
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("modifiedby_connection", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("modifiedby_connection", "modifiedby_connection", null, value);
			}
		}
		
		/// <summary>
		/// 1:N modifiedby_connection_role
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_connection_role")]
		public System.Collections.Generic.IEnumerable<Xrm.ConnectionRole> modifiedby_connection_role
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ConnectionRole>("modifiedby_connection_role", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ConnectionRole>("modifiedby_connection_role", "modifiedby_connection_role", null, value);
			}
		}
		
		/// <summary>
		/// 1:N modifiedby_customer_relationship
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_customer_relationship")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerRelationship> modifiedby_customer_relationship
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerRelationship>("modifiedby_customer_relationship", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerRelationship>("modifiedby_customer_relationship", "modifiedby_customer_relationship", null, value);
			}
		}
		
		/// <summary>
		/// 1:N modifiedby_entitymap
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_entitymap")]
		public System.Collections.Generic.IEnumerable<Xrm.EntityMap> modifiedby_entitymap
		{
			get
			{
				return this.GetRelatedEntities<Xrm.EntityMap>("modifiedby_entitymap", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.EntityMap>("modifiedby_entitymap", "modifiedby_entitymap", null, value);
			}
		}
		
		/// <summary>
		/// 1:N modifiedby_pluginassembly
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_pluginassembly")]
		public System.Collections.Generic.IEnumerable<Xrm.PluginAssembly> modifiedby_pluginassembly
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PluginAssembly>("modifiedby_pluginassembly", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PluginAssembly>("modifiedby_pluginassembly", "modifiedby_pluginassembly", null, value);
			}
		}
		
		/// <summary>
		/// 1:N modifiedby_plugintype
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_plugintype")]
		public System.Collections.Generic.IEnumerable<Xrm.PluginType> modifiedby_plugintype
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PluginType>("modifiedby_plugintype", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PluginType>("modifiedby_plugintype", "modifiedby_plugintype", null, value);
			}
		}
		
		/// <summary>
		/// 1:N modifiedby_plugintypestatistic
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_plugintypestatistic")]
		public System.Collections.Generic.IEnumerable<Xrm.PluginTypeStatistic> modifiedby_plugintypestatistic
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PluginTypeStatistic>("modifiedby_plugintypestatistic", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PluginTypeStatistic>("modifiedby_plugintypestatistic", "modifiedby_plugintypestatistic", null, value);
			}
		}
		
		/// <summary>
		/// 1:N modifiedby_relationship_role
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_relationship_role")]
		public System.Collections.Generic.IEnumerable<Xrm.RelationshipRole> modifiedby_relationship_role
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RelationshipRole>("modifiedby_relationship_role", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RelationshipRole>("modifiedby_relationship_role", "modifiedby_relationship_role", null, value);
			}
		}
		
		/// <summary>
		/// 1:N modifiedby_relationship_role_map
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_relationship_role_map")]
		public System.Collections.Generic.IEnumerable<Xrm.RelationshipRoleMap> modifiedby_relationship_role_map
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RelationshipRoleMap>("modifiedby_relationship_role_map", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RelationshipRoleMap>("modifiedby_relationship_role_map", "modifiedby_relationship_role_map", null, value);
			}
		}
		
		/// <summary>
		/// 1:N modifiedby_sdkmessage
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_sdkmessage")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessage> modifiedby_sdkmessage
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessage>("modifiedby_sdkmessage", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessage>("modifiedby_sdkmessage", "modifiedby_sdkmessage", null, value);
			}
		}
		
		/// <summary>
		/// 1:N modifiedby_sdkmessagefilter
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_sdkmessagefilter")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageFilter> modifiedby_sdkmessagefilter
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageFilter>("modifiedby_sdkmessagefilter", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageFilter>("modifiedby_sdkmessagefilter", "modifiedby_sdkmessagefilter", null, value);
			}
		}
		
		/// <summary>
		/// 1:N modifiedby_sdkmessagepair
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_sdkmessagepair")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessagePair> modifiedby_sdkmessagepair
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessagePair>("modifiedby_sdkmessagepair", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessagePair>("modifiedby_sdkmessagepair", "modifiedby_sdkmessagepair", null, value);
			}
		}
		
		/// <summary>
		/// 1:N modifiedby_sdkmessageprocessingstep
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_sdkmessageprocessingstep")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageProcessingStep> modifiedby_sdkmessageprocessingstep
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageProcessingStep>("modifiedby_sdkmessageprocessingstep", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageProcessingStep>("modifiedby_sdkmessageprocessingstep", "modifiedby_sdkmessageprocessingstep", null, value);
			}
		}
		
		/// <summary>
		/// 1:N modifiedby_sdkmessageprocessingstepimage
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_sdkmessageprocessingstepimage")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageProcessingStepImage> modifiedby_sdkmessageprocessingstepimage
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageProcessingStepImage>("modifiedby_sdkmessageprocessingstepimage", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageProcessingStepImage>("modifiedby_sdkmessageprocessingstepimage", "modifiedby_sdkmessageprocessingstepimage", null, value);
			}
		}
		
		/// <summary>
		/// 1:N modifiedby_sdkmessageprocessingstepsecureconfig
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_sdkmessageprocessingstepsecureconfig")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageProcessingStepSecureConfig> modifiedby_sdkmessageprocessingstepsecureconfig
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageProcessingStepSecureConfig>("modifiedby_sdkmessageprocessingstepsecureconfig", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageProcessingStepSecureConfig>("modifiedby_sdkmessageprocessingstepsecureconfig", "modifiedby_sdkmessageprocessingstepsecureconfig", null, value);
			}
		}
		
		/// <summary>
		/// 1:N modifiedby_sdkmessagerequest
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_sdkmessagerequest")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageRequest> modifiedby_sdkmessagerequest
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageRequest>("modifiedby_sdkmessagerequest", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageRequest>("modifiedby_sdkmessagerequest", "modifiedby_sdkmessagerequest", null, value);
			}
		}
		
		/// <summary>
		/// 1:N modifiedby_sdkmessagerequestfield
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_sdkmessagerequestfield")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageRequestField> modifiedby_sdkmessagerequestfield
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageRequestField>("modifiedby_sdkmessagerequestfield", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageRequestField>("modifiedby_sdkmessagerequestfield", "modifiedby_sdkmessagerequestfield", null, value);
			}
		}
		
		/// <summary>
		/// 1:N modifiedby_sdkmessageresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_sdkmessageresponse")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageResponse> modifiedby_sdkmessageresponse
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageResponse>("modifiedby_sdkmessageresponse", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageResponse>("modifiedby_sdkmessageresponse", "modifiedby_sdkmessageresponse", null, value);
			}
		}
		
		/// <summary>
		/// 1:N modifiedby_sdkmessageresponsefield
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_sdkmessageresponsefield")]
		public System.Collections.Generic.IEnumerable<Xrm.SdkMessageResponseField> modifiedby_sdkmessageresponsefield
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SdkMessageResponseField>("modifiedby_sdkmessageresponsefield", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SdkMessageResponseField>("modifiedby_sdkmessageresponsefield", "modifiedby_sdkmessageresponsefield", null, value);
			}
		}
		
		/// <summary>
		/// 1:N modifiedby_serviceendpoint
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedby_serviceendpoint")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceEndpoint> modifiedby_serviceendpoint
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceEndpoint>("modifiedby_serviceendpoint", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceEndpoint>("modifiedby_serviceendpoint", "modifiedby_serviceendpoint", null, value);
			}
		}
		
		/// <summary>
		/// 1:N modifiedonbehalfby_attributemap
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedonbehalfby_attributemap")]
		public System.Collections.Generic.IEnumerable<Xrm.AttributeMap> modifiedonbehalfby_attributemap
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AttributeMap>("modifiedonbehalfby_attributemap", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AttributeMap>("modifiedonbehalfby_attributemap", "modifiedonbehalfby_attributemap", null, value);
			}
		}
		
		/// <summary>
		/// 1:N modifiedonbehalfby_customer_relationship
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("modifiedonbehalfby_customer_relationship")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerRelationship> modifiedonbehalfby_customer_relationship
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerRelationship>("modifiedonbehalfby_customer_relationship", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerRelationship>("modifiedonbehalfby_customer_relationship", "modifiedonbehalfby_customer_relationship", null, value);
			}
		}
		
		/// <summary>
		/// 1:N opportunity_owning_user
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("opportunity_owning_user")]
		public System.Collections.Generic.IEnumerable<Xrm.Opportunity> opportunity_owning_user
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Opportunity>("opportunity_owning_user", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Opportunity>("opportunity_owning_user", "opportunity_owning_user", null, value);
			}
		}
		
		/// <summary>
		/// 1:N OwnerMapping_SystemUser
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("OwnerMapping_SystemUser")]
		public System.Collections.Generic.IEnumerable<Xrm.OwnerMapping> OwnerMapping_SystemUser
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OwnerMapping>("OwnerMapping_SystemUser", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OwnerMapping>("OwnerMapping_SystemUser", "OwnerMapping_SystemUser", null, value);
			}
		}
		
		/// <summary>
		/// 1:N queue_primary_user
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("queue_primary_user")]
		public System.Collections.Generic.IEnumerable<Xrm.Queue> queue_primary_user
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Queue>("queue_primary_user", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Queue>("queue_primary_user", "queue_primary_user", null, value);
			}
		}
		
		/// <summary>
		/// 1:N system_user_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_accounts")]
		public System.Collections.Generic.IEnumerable<Xrm.Account> system_user_accounts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Account>("system_user_accounts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Account>("system_user_accounts", "system_user_accounts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N system_user_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_activity_parties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> system_user_activity_parties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("system_user_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("system_user_activity_parties", "system_user_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N system_user_asyncoperation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_asyncoperation")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> system_user_asyncoperation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("system_user_asyncoperation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("system_user_asyncoperation", "system_user_asyncoperation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N system_user_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_contacts")]
		public System.Collections.Generic.IEnumerable<Xrm.Contact> system_user_contacts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contact>("system_user_contacts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contact>("system_user_contacts", "system_user_contacts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N system_user_email_templates
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_email_templates")]
		public System.Collections.Generic.IEnumerable<Xrm.Template> system_user_email_templates
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Template>("system_user_email_templates", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Template>("system_user_email_templates", "system_user_email_templates", null, value);
			}
		}
		
		/// <summary>
		/// 1:N system_user_incidents
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_incidents")]
		public System.Collections.Generic.IEnumerable<Xrm.Incident> system_user_incidents
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Incident>("system_user_incidents", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Incident>("system_user_incidents", "system_user_incidents", null, value);
			}
		}
		
		/// <summary>
		/// 1:N system_user_invoicedetail
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_invoicedetail")]
		public System.Collections.Generic.IEnumerable<Xrm.InvoiceDetail> system_user_invoicedetail
		{
			get
			{
				return this.GetRelatedEntities<Xrm.InvoiceDetail>("system_user_invoicedetail", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.InvoiceDetail>("system_user_invoicedetail", "system_user_invoicedetail", null, value);
			}
		}
		
		/// <summary>
		/// 1:N system_user_invoices
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_invoices")]
		public System.Collections.Generic.IEnumerable<Xrm.Invoice> system_user_invoices
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Invoice>("system_user_invoices", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Invoice>("system_user_invoices", "system_user_invoices", null, value);
			}
		}
		
		/// <summary>
		/// 1:N system_user_orders
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_orders")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesOrder> system_user_orders
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesOrder>("system_user_orders", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesOrder>("system_user_orders", "system_user_orders", null, value);
			}
		}
		
		/// <summary>
		/// 1:N system_user_quotedetail
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_quotedetail")]
		public System.Collections.Generic.IEnumerable<Xrm.QuoteDetail> system_user_quotedetail
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QuoteDetail>("system_user_quotedetail", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QuoteDetail>("system_user_quotedetail", "system_user_quotedetail", null, value);
			}
		}
		
		/// <summary>
		/// 1:N system_user_quotes
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_quotes")]
		public System.Collections.Generic.IEnumerable<Xrm.Quote> system_user_quotes
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Quote>("system_user_quotes", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Quote>("system_user_quotes", "system_user_quotes", null, value);
			}
		}
		
		/// <summary>
		/// 1:N system_user_sales_literature
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_sales_literature")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesLiterature> system_user_sales_literature
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesLiterature>("system_user_sales_literature", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesLiterature>("system_user_sales_literature", "system_user_sales_literature", null, value);
			}
		}
		
		/// <summary>
		/// 1:N system_user_salesorderdetail
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_salesorderdetail")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesOrderDetail> system_user_salesorderdetail
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesOrderDetail>("system_user_salesorderdetail", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesOrderDetail>("system_user_salesorderdetail", "system_user_salesorderdetail", null, value);
			}
		}
		
		/// <summary>
		/// 1:N system_user_service_appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_service_appointments")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceAppointment> system_user_service_appointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceAppointment>("system_user_service_appointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceAppointment>("system_user_service_appointments", "system_user_service_appointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N system_user_service_contracts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_service_contracts")]
		public System.Collections.Generic.IEnumerable<Xrm.Contract> system_user_service_contracts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contract>("system_user_service_contracts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contract>("system_user_service_contracts", "system_user_service_contracts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N system_user_territories
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_territories")]
		public System.Collections.Generic.IEnumerable<Xrm.Territory> system_user_territories
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Territory>("system_user_territories", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Territory>("system_user_territories", "system_user_territories", null, value);
			}
		}
		
		/// <summary>
		/// 1:N system_user_workflow
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_workflow")]
		public System.Collections.Generic.IEnumerable<Xrm.Workflow> system_user_workflow
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Workflow>("system_user_workflow", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Workflow>("system_user_workflow", "system_user_workflow", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SystemUser_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SystemUser_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> SystemUser_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("SystemUser_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("SystemUser_AsyncOperations", "SystemUser_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SystemUser_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SystemUser_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> SystemUser_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("SystemUser_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("SystemUser_BulkDeleteFailures", "SystemUser_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SystemUser_Campaigns
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SystemUser_Campaigns")]
		public System.Collections.Generic.IEnumerable<Xrm.Campaign> SystemUser_Campaigns
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Campaign>("SystemUser_Campaigns", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Campaign>("SystemUser_Campaigns", "SystemUser_Campaigns", null, value);
			}
		}
		
		/// <summary>
		/// 1:N systemuser_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("systemuser_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> systemuser_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("systemuser_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("systemuser_connections1", "systemuser_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N systemuser_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("systemuser_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> systemuser_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("systemuser_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("systemuser_connections2", "systemuser_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SystemUser_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SystemUser_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> SystemUser_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("SystemUser_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("SystemUser_DuplicateBaseRecord", "SystemUser_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SystemUser_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SystemUser_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> SystemUser_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("SystemUser_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("SystemUser_DuplicateMatchingRecord", "SystemUser_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SystemUser_DuplicateRules
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SystemUser_DuplicateRules")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRule> SystemUser_DuplicateRules
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRule>("SystemUser_DuplicateRules", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRule>("SystemUser_DuplicateRules", "SystemUser_DuplicateRules", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SystemUser_ImportFiles
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SystemUser_ImportFiles")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportFile> SystemUser_ImportFiles
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportFile>("SystemUser_ImportFiles", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportFile>("SystemUser_ImportFiles", "SystemUser_ImportFiles", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SystemUser_ImportLogs
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SystemUser_ImportLogs")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportLog> SystemUser_ImportLogs
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportLog>("SystemUser_ImportLogs", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportLog>("SystemUser_ImportLogs", "SystemUser_ImportLogs", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SystemUser_ImportMaps
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SystemUser_ImportMaps")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportMap> SystemUser_ImportMaps
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportMap>("SystemUser_ImportMaps", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportMap>("SystemUser_ImportMaps", "SystemUser_ImportMaps", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SystemUser_Imports
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SystemUser_Imports")]
		public System.Collections.Generic.IEnumerable<Xrm.Import> SystemUser_Imports
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Import>("SystemUser_Imports", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Import>("SystemUser_Imports", "SystemUser_Imports", null, value);
			}
		}
		
		/// <summary>
		/// 1:N systemuser_PostFollows
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("systemuser_PostFollows")]
		public System.Collections.Generic.IEnumerable<Xrm.PostFollow> systemuser_PostFollows
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PostFollow>("systemuser_PostFollows", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PostFollow>("systemuser_PostFollows", "systemuser_PostFollows", null, value);
			}
		}
		
		/// <summary>
		/// 1:N systemuser_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("systemuser_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> systemuser_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("systemuser_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("systemuser_principalobjectattributeaccess", "systemuser_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N systemuser_principalobjectattributeaccess_principalid
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("systemuser_principalobjectattributeaccess_principalid")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> systemuser_principalobjectattributeaccess_principalid
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("systemuser_principalobjectattributeaccess_principalid", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("systemuser_principalobjectattributeaccess_principalid", "systemuser_principalobjectattributeaccess_principalid", null, value);
			}
		}
		
		/// <summary>
		/// 1:N SystemUser_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SystemUser_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> SystemUser_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("SystemUser_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("SystemUser_ProcessSessions", "SystemUser_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N systemuser_resources
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("systemuser_resources")]
		public System.Collections.Generic.IEnumerable<Xrm.Resource> systemuser_resources
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Resource>("systemuser_resources", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Resource>("systemuser_resources", "systemuser_resources", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_accounts")]
		public System.Collections.Generic.IEnumerable<Xrm.Account> user_accounts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Account>("user_accounts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Account>("user_accounts", "user_accounts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_activity
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_activity")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityPointer> user_activity
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityPointer>("user_activity", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityPointer>("user_activity", "user_activity", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_appointment
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_appointment")]
		public System.Collections.Generic.IEnumerable<Xrm.Appointment> user_appointment
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Appointment>("user_appointment", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Appointment>("user_appointment", "user_appointment", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_BulkOperation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_BulkOperation")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkOperation> user_BulkOperation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkOperation>("user_BulkOperation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkOperation>("user_BulkOperation", "user_BulkOperation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_campaignactivity
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_campaignactivity")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignActivity> user_campaignactivity
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignActivity>("user_campaignactivity", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignActivity>("user_campaignactivity", "user_campaignactivity", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_campaignresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_campaignresponse")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignResponse> user_campaignresponse
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignResponse>("user_campaignresponse", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignResponse>("user_campaignresponse", "user_campaignresponse", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_customer_opportunity_roles
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_customer_opportunity_roles")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerOpportunityRole> user_customer_opportunity_roles
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerOpportunityRole>("user_customer_opportunity_roles", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerOpportunityRole>("user_customer_opportunity_roles", "user_customer_opportunity_roles", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_customer_relationship
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_customer_relationship")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerRelationship> user_customer_relationship
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerRelationship>("user_customer_relationship", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerRelationship>("user_customer_relationship", "user_customer_relationship", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_email
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_email")]
		public System.Collections.Generic.IEnumerable<Xrm.Email> user_email
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Email>("user_email", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Email>("user_email", "user_email", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_fax
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_fax")]
		public System.Collections.Generic.IEnumerable<Xrm.Fax> user_fax
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Fax>("user_fax", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Fax>("user_fax", "user_fax", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_goal
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_goal")]
		public System.Collections.Generic.IEnumerable<Xrm.Goal> user_goal
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Goal>("user_goal", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Goal>("user_goal", "user_goal", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_goal_goalowner
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_goal_goalowner")]
		public System.Collections.Generic.IEnumerable<Xrm.Goal> user_goal_goalowner
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Goal>("user_goal_goalowner", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Goal>("user_goal_goalowner", "user_goal_goalowner", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_incidentresolution
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_incidentresolution")]
		public System.Collections.Generic.IEnumerable<Xrm.IncidentResolution> user_incidentresolution
		{
			get
			{
				return this.GetRelatedEntities<Xrm.IncidentResolution>("user_incidentresolution", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.IncidentResolution>("user_incidentresolution", "user_incidentresolution", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_letter
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_letter")]
		public System.Collections.Generic.IEnumerable<Xrm.Letter> user_letter
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Letter>("user_letter", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Letter>("user_letter", "user_letter", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_list
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_list")]
		public System.Collections.Generic.IEnumerable<Xrm.List> user_list
		{
			get
			{
				return this.GetRelatedEntities<Xrm.List>("user_list", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.List>("user_list", "user_list", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_msdyn_postalbum
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_msdyn_postalbum")]
		public System.Collections.Generic.IEnumerable<Xrm.msdyn_PostAlbum> user_msdyn_postalbum
		{
			get
			{
				return this.GetRelatedEntities<Xrm.msdyn_PostAlbum>("user_msdyn_postalbum", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.msdyn_PostAlbum>("user_msdyn_postalbum", "user_msdyn_postalbum", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_new_uzytkownicy
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_new_uzytkownicy")]
		public System.Collections.Generic.IEnumerable<Xrm.new_uzytkownicy> user_new_uzytkownicy
		{
			get
			{
				return this.GetRelatedEntities<Xrm.new_uzytkownicy>("user_new_uzytkownicy", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.new_uzytkownicy>("user_new_uzytkownicy", "user_new_uzytkownicy", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_new_uzytkownikkontakty
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_new_uzytkownikkontakty")]
		public System.Collections.Generic.IEnumerable<Xrm.new_uzytkownikkontakty> user_new_uzytkownikkontakty
		{
			get
			{
				return this.GetRelatedEntities<Xrm.new_uzytkownikkontakty>("user_new_uzytkownikkontakty", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.new_uzytkownikkontakty>("user_new_uzytkownikkontakty", "user_new_uzytkownikkontakty", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_new_zainteresowanie
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_new_zainteresowanie")]
		public System.Collections.Generic.IEnumerable<Xrm.new_zainteresowanie> user_new_zainteresowanie
		{
			get
			{
				return this.GetRelatedEntities<Xrm.new_zainteresowanie>("user_new_zainteresowanie", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.new_zainteresowanie>("user_new_zainteresowanie", "user_new_zainteresowanie", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_opportunityclose
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_opportunityclose")]
		public System.Collections.Generic.IEnumerable<Xrm.OpportunityClose> user_opportunityclose
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OpportunityClose>("user_opportunityclose", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OpportunityClose>("user_opportunityclose", "user_opportunityclose", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_orderclose
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_orderclose")]
		public System.Collections.Generic.IEnumerable<Xrm.OrderClose> user_orderclose
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OrderClose>("user_orderclose", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OrderClose>("user_orderclose", "user_orderclose", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_owner_postfollows
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_owner_postfollows")]
		public System.Collections.Generic.IEnumerable<Xrm.PostFollow> user_owner_postfollows
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PostFollow>("user_owner_postfollows", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PostFollow>("user_owner_postfollows", "user_owner_postfollows", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_parent_user
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_parent_user", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.SystemUser> Referenceduser_parent_user
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SystemUser>("user_parent_user", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SystemUser>("Referenceduser_parent_user", "user_parent_user", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// 1:N user_phonecall
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_phonecall")]
		public System.Collections.Generic.IEnumerable<Xrm.PhoneCall> user_phonecall
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PhoneCall>("user_phonecall", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PhoneCall>("user_phonecall", "user_phonecall", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_quoteclose
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_quoteclose")]
		public System.Collections.Generic.IEnumerable<Xrm.QuoteClose> user_quoteclose
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QuoteClose>("user_quoteclose", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QuoteClose>("user_quoteclose", "user_quoteclose", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_recurringappointmentmaster
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_recurringappointmentmaster")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurringAppointmentMaster> user_recurringappointmentmaster
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurringAppointmentMaster>("user_recurringappointmentmaster", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurringAppointmentMaster>("user_recurringappointmentmaster", "user_recurringappointmentmaster", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_settings
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_settings")]
		public System.Collections.Generic.IEnumerable<Xrm.UserSettings> user_settings
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserSettings>("user_settings", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserSettings>("user_settings", "user_settings", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_sharepointdocumentlocation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_sharepointdocumentlocation")]
		public System.Collections.Generic.IEnumerable<Xrm.SharePointDocumentLocation> user_sharepointdocumentlocation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SharePointDocumentLocation>("user_sharepointdocumentlocation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SharePointDocumentLocation>("user_sharepointdocumentlocation", "user_sharepointdocumentlocation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_sharepointsite
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_sharepointsite")]
		public System.Collections.Generic.IEnumerable<Xrm.SharePointSite> user_sharepointsite
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SharePointSite>("user_sharepointsite", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SharePointSite>("user_sharepointsite", "user_sharepointsite", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_task
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_task")]
		public System.Collections.Generic.IEnumerable<Xrm.Task> user_task
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Task>("user_task", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Task>("user_task", "user_task", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_userform
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_userform")]
		public System.Collections.Generic.IEnumerable<Xrm.UserForm> user_userform
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserForm>("user_userform", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserForm>("user_userform", "user_userform", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_userquery
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_userquery")]
		public System.Collections.Generic.IEnumerable<Xrm.UserQuery> user_userquery
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserQuery>("user_userquery", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserQuery>("user_userquery", "user_userquery", null, value);
			}
		}
		
		/// <summary>
		/// 1:N user_userqueryvisualizations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_userqueryvisualizations")]
		public System.Collections.Generic.IEnumerable<Xrm.UserQueryVisualization> user_userqueryvisualizations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserQueryVisualization>("user_userqueryvisualizations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserQueryVisualization>("user_userqueryvisualizations", "user_userqueryvisualizations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_owning_user
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_owning_user")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_owning_user
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_owning_user", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_owning_user", "userentityinstancedata_owning_user", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_systemuser
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_systemuser")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_systemuser
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_systemuser", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_systemuser", "userentityinstancedata_systemuser", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityuisettings_owning_user
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityuisettings_owning_user")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityUISettings> userentityuisettings_owning_user
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityUISettings>("userentityuisettings_owning_user", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityUISettings>("userentityuisettings_owning_user", "userentityuisettings_owning_user", null, value);
			}
		}
		
		/// <summary>
		/// 1:N webresource_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("webresource_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.WebResource> webresource_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.WebResource>("webresource_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.WebResource>("webresource_createdby", "webresource_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N webresource_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("webresource_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.WebResource> webresource_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.WebResource>("webresource_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.WebResource>("webresource_modifiedby", "webresource_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N workflow_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("workflow_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.Workflow> workflow_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Workflow>("workflow_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Workflow>("workflow_createdby", "workflow_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N workflow_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("workflow_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Workflow> workflow_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Workflow>("workflow_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Workflow>("workflow_createdonbehalfby", "workflow_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N workflow_dependency_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("workflow_dependency_createdby")]
		public System.Collections.Generic.IEnumerable<Xrm.WorkflowDependency> workflow_dependency_createdby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.WorkflowDependency>("workflow_dependency_createdby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.WorkflowDependency>("workflow_dependency_createdby", "workflow_dependency_createdby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N workflow_dependency_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("workflow_dependency_createdonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.WorkflowDependency> workflow_dependency_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.WorkflowDependency>("workflow_dependency_createdonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.WorkflowDependency>("workflow_dependency_createdonbehalfby", "workflow_dependency_createdonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N workflow_dependency_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("workflow_dependency_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.WorkflowDependency> workflow_dependency_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.WorkflowDependency>("workflow_dependency_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.WorkflowDependency>("workflow_dependency_modifiedby", "workflow_dependency_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N workflow_dependency_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("workflow_dependency_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.WorkflowDependency> workflow_dependency_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.WorkflowDependency>("workflow_dependency_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.WorkflowDependency>("workflow_dependency_modifiedonbehalfby", "workflow_dependency_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N workflow_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("workflow_modifiedby")]
		public System.Collections.Generic.IEnumerable<Xrm.Workflow> workflow_modifiedby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Workflow>("workflow_modifiedby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Workflow>("workflow_modifiedby", "workflow_modifiedby", null, value);
			}
		}
		
		/// <summary>
		/// 1:N workflow_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("workflow_modifiedonbehalfby")]
		public System.Collections.Generic.IEnumerable<Xrm.Workflow> workflow_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Workflow>("workflow_modifiedonbehalfby", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Workflow>("workflow_modifiedonbehalfby", "workflow_modifiedonbehalfby", null, value);
			}
		}
		
		/// <summary>
		/// N:N systemuserprofiles_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("systemuserprofiles_association")]
		public System.Collections.Generic.IEnumerable<Xrm.FieldSecurityProfile> systemuserprofiles_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.FieldSecurityProfile>("systemuserprofiles_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.FieldSecurityProfile>("systemuserprofiles_association", "systemuserprofiles_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N systemuserroles_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("systemuserroles_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Role> systemuserroles_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Role>("systemuserroles_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Role>("systemuserroles_association", "systemuserroles_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N teammembership_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("teammembership_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Team> teammembership_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Team>("teammembership_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Team>("teammembership_association", "teammembership_association", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_system_users
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_system_users")]
		public Xrm.BusinessUnit business_unit_system_users
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_system_users", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BusinessUnit>("business_unit_system_users", "business_unit_system_users", null, value);
			}
		}
		
		/// <summary>
		/// N:1 calendar_system_users
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("calendarid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("calendar_system_users")]
		public Xrm.Calendar calendar_system_users
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Calendar>("calendar_system_users", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Calendar>("calendar_system_users", "calendar_system_users", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_systemuser_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_systemuser_createdonbehalfby", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.SystemUser Referencinglk_systemuser_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_systemuser_createdonbehalfby", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
		}
		
		/// <summary>
		/// N:1 lk_systemuser_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_systemuser_modifiedonbehalfby", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.SystemUser Referencinglk_systemuser_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_systemuser_modifiedonbehalfby", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
		}
		
		/// <summary>
		/// N:1 lk_systemuserbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_systemuserbase_createdby", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.SystemUser Referencinglk_systemuserbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_systemuserbase_createdby", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
		}
		
		/// <summary>
		/// N:1 lk_systemuserbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_systemuserbase_modifiedby", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.SystemUser Referencinglk_systemuserbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_systemuserbase_modifiedby", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
		}
		
		/// <summary>
		/// N:1 organization_system_users
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_system_users")]
		public Xrm.Organization organization_system_users
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_system_users", null);
			}
		}
		
		/// <summary>
		/// N:1 queue_system_user
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("queueid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("queue_system_user")]
		public Xrm.Queue queue_system_user
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Queue>("queue_system_user", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Queue>("queue_system_user", "queue_system_user", null, value);
			}
		}
		
		/// <summary>
		/// N:1 site_system_users
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("siteid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("site_system_users")]
		public Xrm.Site site_system_users
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Site>("site_system_users", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Site>("site_system_users", "site_system_users", null, value);
			}
		}
		
		/// <summary>
		/// N:1 territory_system_users
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("territoryid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("territory_system_users")]
		public Xrm.Territory territory_system_users
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Territory>("territory_system_users", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Territory>("territory_system_users", "territory_system_users", null, value);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_SystemUser
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_SystemUser")]
		public Xrm.TransactionCurrency TransactionCurrency_SystemUser
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_SystemUser", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_SystemUser", "TransactionCurrency_SystemUser", null, value);
			}
		}
		
		/// <summary>
		/// N:1 user_parent_user
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentsystemuserid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_parent_user", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.SystemUser Referencinguser_parent_user
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_parent_user", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("Referencinguser_parent_user", "user_parent_user", Microsoft.Xrm.Sdk.EntityRole.Referencing, value);
			}
		}
	}
	
	/// <summary>
	/// 
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("systemuserlicenses")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SystemUserLicensesSet")]
	public partial class SystemUserLicenses : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public SystemUserLicenses() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "systemuserlicenses";
		
		public const int EntityTypeCode = 13;
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("licenseid")]
		public System.Nullable<System.Guid> LicenseId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("licenseid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("systemuserid")]
		public System.Nullable<System.Guid> SystemUserId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("systemuserid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator licencji użytkowników.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("systemuserlicenseid")]
		public System.Nullable<System.Guid> SystemUserLicenseId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("systemuserlicenseid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("SystemUserLicenseId", "systemuserlicenseid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("systemuserlicenseid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.SystemUserLicenseId = value;
			}
		}
	}
	
	/// <summary>
	/// 
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("systemuserprofiles")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SystemUserProfilesSet")]
	public partial class SystemUserProfiles : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public SystemUserProfiles() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "systemuserprofiles";
		
		public const int EntityTypeCode = 1202;
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fieldsecurityprofileid")]
		public System.Nullable<System.Guid> FieldSecurityProfileId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("fieldsecurityprofileid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("systemuserid")]
		public System.Nullable<System.Guid> SystemUserId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("systemuserid");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("systemuserprofileid")]
		public System.Nullable<System.Guid> SystemUserProfileId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("systemuserprofileid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("SystemUserProfileId", "systemuserprofileid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("systemuserprofileid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.SystemUserProfileId = value;
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// N:N systemuserprofiles_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("systemuserprofiles_association")]
		public System.Collections.Generic.IEnumerable<Xrm.SystemUser> systemuserprofiles_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SystemUser>("systemuserprofiles_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SystemUser>("systemuserprofiles_association", "systemuserprofiles_association", null, value);
			}
		}
	}
	
	/// <summary>
	/// 
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("systemuserroles")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("SystemUserRolesSet")]
	public partial class SystemUserRoles : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public SystemUserRoles() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "systemuserroles";
		
		public const int EntityTypeCode = 15;
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("roleid")]
		public System.Nullable<System.Guid> RoleId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("roleid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("systemuserid")]
		public System.Nullable<System.Guid> SystemUserId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("systemuserid");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("systemuserroleid")]
		public System.Nullable<System.Guid> SystemUserRoleId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("systemuserroleid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("SystemUserRoleId", "systemuserroleid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("systemuserroleid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.SystemUserRoleId = value;
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// N:N systemuserroles_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("systemuserroles_association")]
		public System.Collections.Generic.IEnumerable<Xrm.SystemUser> systemuserroles_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SystemUser>("systemuserroles_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SystemUser>("systemuserroles_association", "systemuserroles_association", null, value);
			}
		}
	}
	
	/// <summary>
	/// Ogólne działanie reprezentujące pracę do wykonania.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("task")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("TaskSet")]
	public partial class Task : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Task() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "task";
		
		public const int EntityTypeCode = 4212;
		
		/// <summary>
		/// Unikatowy identyfikator zadania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public System.Nullable<System.Guid> ActivityId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("activityid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("ActivityId", "activityid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.ActivityId = value;
			}
		}
		
		/// <summary>
		/// Typ działania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activitytypecode")]
		public string ActivityTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("activitytypecode");
			}
		}
		
		/// <summary>
		/// Rzeczywisty czas trwania zadania w minutach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualdurationminutes")]
		public System.Nullable<int> ActualDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("actualdurationminutes");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ActualDurationMinutes", "actualdurationminutes", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista godzina zakończenia zadania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualend")]
		public System.Nullable<System.DateTime> ActualEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualEnd", "actualend", value);
			}
		}
		
		/// <summary>
		/// Rzeczywista godzina rozpoczęcia zadania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("actualstart")]
		public System.Nullable<System.DateTime> ActualStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("actualstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ActualStart", "actualstart", value);
			}
		}
		
		/// <summary>
		/// Kategoria zadania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("category")]
		public string Category
		{
			get
			{
				return this.GetAttributeValue<string>("category");
			}
			set
			{
				this.SetAttributeValue<string>("Category", "category", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył zadanie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia zadania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył zadanie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis zadania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z zadaniem w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja, czy zadanie zostało zafakturowane jako element obsługi sprawy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isbilled")]
		public System.Nullable<bool> IsBilled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isbilled");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsBilled", "isbilled", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy działanie ma charakter regularny, czy też jest zdarzeniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isregularactivity")]
		public System.Nullable<bool> IsRegularActivity
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isregularactivity");
			}
		}
		
		/// <summary>
		/// Informacja, czy zadanie zostało utworzone przy użyciu reguły przepływu pracy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isworkflowcreated")]
		public System.Nullable<bool> IsWorkflowCreated
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isworkflowcreated");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsWorkflowCreated", "isworkflowcreated", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni modyfikował zadanie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji zadania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował zadanie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem zadania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem zadania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, który jest właścicielem zadania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem zadania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Stopień wykonania zadania określony w procentach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("percentcomplete")]
		public System.Nullable<int> PercentComplete
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("percentcomplete");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("PercentComplete", "percentcomplete", value);
			}
		}
		
		/// <summary>
		/// Priorytet zadania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("prioritycode")]
		public System.Nullable<int> PriorityCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("prioritycode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("PriorityCode", "prioritycode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obiektu, z którym jest skojarzone zadanie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		public Microsoft.Xrm.Client.CrmEntityReference RegardingObjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("regardingobjectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RegardingObjectId", "regardingobjectid", value);
			}
		}
		
		/// <summary>
		/// Zaplanowany czas wykonywania zadania określony w minutach.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduleddurationminutes")]
		public System.Nullable<int> ScheduledDurationMinutes
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("scheduleddurationminutes");
			}
		}
		
		/// <summary>
		/// Zaplanowana godzina zakończenia zadania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledend")]
		public System.Nullable<System.DateTime> ScheduledEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ScheduledEnd", "scheduledend", value);
			}
		}
		
		/// <summary>
		/// Zaplanowana godzina rozpoczęcia zadania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scheduledstart")]
		public System.Nullable<System.DateTime> ScheduledStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("scheduledstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ScheduledStart", "scheduledstart", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonej usługi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		public Microsoft.Xrm.Client.CrmEntityReference ServiceId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("serviceid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ServiceId", "serviceid", value);
			}
		}
		
		/// <summary>
		/// Stan zadania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu zdania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Podkategoria zadania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subcategory")]
		public string Subcategory
		{
			get
			{
				return this.GetAttributeValue<string>("subcategory");
			}
			set
			{
				this.SetAttributeValue<string>("Subcategory", "subcategory", value);
			}
		}
		
		/// <summary>
		/// Temat skojarzony z zadaniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subject")]
		public string Subject
		{
			get
			{
				return this.GetAttributeValue<string>("subject");
			}
			set
			{
				this.SetAttributeValue<string>("Subject", "subject", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subscriptionid")]
		public System.Nullable<System.Guid> SubscriptionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("subscriptionid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("SubscriptionId", "subscriptionid", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z zadaniem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Kod strefy czasowej używanej przy tworzeniu rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
		public System.Nullable<int> UTCConversionTimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UTCConversionTimeZoneCode", "utcconversiontimezonecode", value);
			}
		}
		
		/// <summary>
		/// Numer wersji zadania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N task_activity_parties
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("task_activity_parties")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityParty> task_activity_parties
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityParty>("task_activity_parties", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityParty>("task_activity_parties", "task_activity_parties", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Task_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Task_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> Task_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("Task_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("Task_Annotation", "Task_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Task_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Task_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Task_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Task_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Task_AsyncOperations", "Task_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Task_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Task_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Task_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Task_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Task_BulkDeleteFailures", "Task_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N task_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("task_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> task_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("task_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("task_connections1", "task_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N task_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("task_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> task_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("task_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("task_connections2", "task_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Task_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Task_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Task_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Task_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Task_DuplicateBaseRecord", "Task_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Task_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Task_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Task_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Task_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Task_DuplicateMatchingRecord", "Task_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N task_PostFollows
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("task_PostFollows")]
		public System.Collections.Generic.IEnumerable<Xrm.PostFollow> task_PostFollows
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PostFollow>("task_PostFollows", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PostFollow>("task_PostFollows", "task_PostFollows", null, value);
			}
		}
		
		/// <summary>
		/// 1:N task_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("task_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> task_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("task_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("task_principalobjectattributeaccess", "task_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Task_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Task_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Task_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Task_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Task_ProcessSessions", "Task_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Task_QueueItem
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Task_QueueItem")]
		public System.Collections.Generic.IEnumerable<Xrm.QueueItem> Task_QueueItem
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QueueItem>("Task_QueueItem", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QueueItem>("Task_QueueItem", "Task_QueueItem", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_task
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_task")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_task
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_task", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_task", "userentityinstancedata_task", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Account_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Account_Tasks")]
		public Xrm.Account Account_Tasks
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("Account_Tasks", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("Account_Tasks", "Account_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// N:1 activity_pointer_task
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("activity_pointer_task")]
		public Xrm.ActivityPointer activity_pointer_task
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_task", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ActivityPointer>("activity_pointer_task", "activity_pointer_task", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_task_activities
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_task_activities")]
		public Xrm.BusinessUnit business_unit_task_activities
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_task_activities", null);
			}
		}
		
		/// <summary>
		/// N:1 Campaign_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Campaign_Tasks")]
		public Xrm.Campaign Campaign_Tasks
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Campaign>("Campaign_Tasks", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Campaign>("Campaign_Tasks", "Campaign_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// N:1 CampaignActivity_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("CampaignActivity_Tasks")]
		public Xrm.CampaignActivity CampaignActivity_Tasks
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignActivity>("CampaignActivity_Tasks", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CampaignActivity>("CampaignActivity_Tasks", "CampaignActivity_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Contact_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contact_Tasks")]
		public Xrm.Contact Contact_Tasks
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("Contact_Tasks", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("Contact_Tasks", "Contact_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Contract_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Contract_Tasks")]
		public Xrm.Contract Contract_Tasks
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contract>("Contract_Tasks", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contract>("Contract_Tasks", "Contract_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Incident_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Incident_Tasks")]
		public Xrm.Incident Incident_Tasks
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Incident>("Incident_Tasks", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Incident>("Incident_Tasks", "Incident_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Invoice_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Invoice_Tasks")]
		public Xrm.Invoice Invoice_Tasks
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Invoice>("Invoice_Tasks", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Invoice>("Invoice_Tasks", "Invoice_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Lead_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Lead_Tasks")]
		public Xrm.Lead Lead_Tasks
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Lead>("Lead_Tasks", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Lead>("Lead_Tasks", "Lead_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_task_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_task_createdby")]
		public Xrm.SystemUser lk_task_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_task_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_task_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_task_createdonbehalfby")]
		public Xrm.SystemUser lk_task_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_task_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_task_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_task_modifiedby")]
		public Xrm.SystemUser lk_task_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_task_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_task_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_task_modifiedonbehalfby")]
		public Xrm.SystemUser lk_task_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_task_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postalbum_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_Tasks")]
		public Xrm.msdyn_PostAlbum msdyn_postalbum_Tasks
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_Tasks", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_Tasks", "msdyn_postalbum_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownicy_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_Tasks")]
		public Xrm.new_uzytkownicy new_uzytkownicy_Tasks
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_Tasks", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_Tasks", "new_uzytkownicy_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownikkontakty_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_Tasks")]
		public Xrm.new_uzytkownikkontakty new_uzytkownikkontakty_Tasks
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_Tasks", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_Tasks", "new_uzytkownikkontakty_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_zainteresowanie_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_Tasks")]
		public Xrm.new_zainteresowanie new_zainteresowanie_Tasks
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_Tasks", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_Tasks", "new_zainteresowanie_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Opportunity_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Opportunity_Tasks")]
		public Xrm.Opportunity Opportunity_Tasks
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Opportunity>("Opportunity_Tasks", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Opportunity>("Opportunity_Tasks", "Opportunity_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// N:1 Quote_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Quote_Tasks")]
		public Xrm.Quote Quote_Tasks
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Quote>("Quote_Tasks", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Quote>("Quote_Tasks", "Quote_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// N:1 SalesOrder_Tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("SalesOrder_Tasks")]
		public Xrm.SalesOrder SalesOrder_Tasks
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesOrder>("SalesOrder_Tasks", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesOrder>("SalesOrder_Tasks", "SalesOrder_Tasks", null, value);
			}
		}
		
		/// <summary>
		/// N:1 service_tasks
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("service_tasks")]
		public Xrm.Service service_tasks
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Service>("service_tasks", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Service>("service_tasks", "service_tasks", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_task
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_task")]
		public Xrm.Team team_task
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_task", null);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_Task
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_Task")]
		public Xrm.TransactionCurrency TransactionCurrency_Task
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_Task", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_Task", "TransactionCurrency_Task", null, value);
			}
		}
		
		/// <summary>
		/// N:1 user_task
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_task")]
		public Xrm.SystemUser user_task
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_task", null);
			}
		}
	}
	
	/// <summary>
	/// Grupa użytkowników systemu, którzy regularnie ze sobą współpracują. Korzystając z zespołów, można uprościć udostępnianie rekordów i zapewnić członkom zespołu wspólny dostęp do danych organizacji, gdy należą oni do różnych jednostek biznesowych.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("team")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("TeamSet")]
	public partial class Team : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Team() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "team";
		
		public const int EntityTypeCode = 9;
		
		/// <summary>
		/// Unikatowy identyfikator głównego użytkownika odpowiedzialnego za zespół.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("administratorid")]
		public Microsoft.Xrm.Client.CrmEntityReference AdministratorId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("administratorid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("AdministratorId", "administratorid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, z którą jest skojarzony zespół.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		public Microsoft.Xrm.Client.CrmEntityReference BusinessUnitId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("businessunitid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("BusinessUnitId", "businessunitid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył zespół.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia zespołu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył zespół.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis zespołu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Adres e-mail zespołu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("emailaddress")]
		public string EMailAddress
		{
			get
			{
				return this.GetAttributeValue<string>("emailaddress");
			}
			set
			{
				this.SetAttributeValue<string>("EMailAddress", "emailaddress", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z zespołem w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy zespół jest zespołem domyślnej jednostki biznesowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isdefault")]
		public System.Nullable<bool> IsDefault
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isdefault");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował zespół.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji zespołu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował zespół.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa zespołu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z zespołem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public System.Nullable<System.Guid> OrganizationId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("organizationid");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator domyślnej kolejki zespołu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("queueid")]
		public Microsoft.Xrm.Client.CrmEntityReference QueueId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("queueid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("QueueId", "queueid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("teamid")]
		public System.Nullable<System.Guid> TeamId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("teamid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("TeamId", "teamid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("teamid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.TeamId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z zespołem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Numer wersji zespołu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// Wymowa pełnej nazwy zespołu zapisana przy użyciu fonetycznych znaków Hiragana lub Katakana.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("yominame")]
		public string YomiName
		{
			get
			{
				return this.GetAttributeValue<string>("yominame");
			}
			set
			{
				this.SetAttributeValue<string>("YomiName", "yominame", value);
			}
		}
		
		/// <summary>
		/// 1:N ImportFile_Team
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ImportFile_Team")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportFile> ImportFile_Team
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportFile>("ImportFile_Team", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportFile>("ImportFile_Team", "ImportFile_Team", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lead_owning_team
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lead_owning_team")]
		public System.Collections.Generic.IEnumerable<Xrm.Lead> lead_owning_team
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Lead>("lead_owning_team", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Lead>("lead_owning_team", "lead_owning_team", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_accounts")]
		public System.Collections.Generic.IEnumerable<Xrm.Account> team_accounts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Account>("team_accounts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Account>("team_accounts", "team_accounts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_activity
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_activity")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityPointer> team_activity
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityPointer>("team_activity", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityPointer>("team_activity", "team_activity", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_annotations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_annotations")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> team_annotations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("team_annotations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("team_annotations", "team_annotations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_appointment
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_appointment")]
		public System.Collections.Generic.IEnumerable<Xrm.Appointment> team_appointment
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Appointment>("team_appointment", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Appointment>("team_appointment", "team_appointment", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_asyncoperation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_asyncoperation")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> team_asyncoperation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("team_asyncoperation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("team_asyncoperation", "team_asyncoperation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Team_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Team_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Team_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Team_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Team_AsyncOperations", "Team_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Team_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Team_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Team_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Team_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Team_BulkDeleteFailures", "Team_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_BulkOperation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_BulkOperation")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkOperation> team_BulkOperation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkOperation>("team_BulkOperation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkOperation>("team_BulkOperation", "team_BulkOperation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_campaignactivity
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_campaignactivity")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignActivity> team_campaignactivity
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignActivity>("team_campaignactivity", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignActivity>("team_campaignactivity", "team_campaignactivity", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_campaignresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_campaignresponse")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignResponse> team_campaignresponse
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignResponse>("team_campaignresponse", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignResponse>("team_campaignresponse", "team_campaignresponse", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_Campaigns
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_Campaigns")]
		public System.Collections.Generic.IEnumerable<Xrm.Campaign> team_Campaigns
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Campaign>("team_Campaigns", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Campaign>("team_Campaigns", "team_Campaigns", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_connections1
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_connections1")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> team_connections1
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("team_connections1", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("team_connections1", "team_connections1", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_connections2
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_connections2")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> team_connections2
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("team_connections2", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("team_connections2", "team_connections2", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_contacts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_contacts")]
		public System.Collections.Generic.IEnumerable<Xrm.Contact> team_contacts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contact>("team_contacts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contact>("team_contacts", "team_contacts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_customer_opportunity_roles
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_customer_opportunity_roles")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerOpportunityRole> team_customer_opportunity_roles
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerOpportunityRole>("team_customer_opportunity_roles", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerOpportunityRole>("team_customer_opportunity_roles", "team_customer_opportunity_roles", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_customer_relationship
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_customer_relationship")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerRelationship> team_customer_relationship
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerRelationship>("team_customer_relationship", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerRelationship>("team_customer_relationship", "team_customer_relationship", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Team_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Team_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Team_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Team_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Team_DuplicateBaseRecord", "Team_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Team_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Team_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Team_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Team_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Team_DuplicateMatchingRecord", "Team_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_DuplicateRules
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_DuplicateRules")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRule> team_DuplicateRules
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRule>("team_DuplicateRules", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRule>("team_DuplicateRules", "team_DuplicateRules", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_email
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_email")]
		public System.Collections.Generic.IEnumerable<Xrm.Email> team_email
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Email>("team_email", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Email>("team_email", "team_email", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_email_templates
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_email_templates")]
		public System.Collections.Generic.IEnumerable<Xrm.Template> team_email_templates
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Template>("team_email_templates", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Template>("team_email_templates", "team_email_templates", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_fax
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_fax")]
		public System.Collections.Generic.IEnumerable<Xrm.Fax> team_fax
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Fax>("team_fax", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Fax>("team_fax", "team_fax", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_goal
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_goal")]
		public System.Collections.Generic.IEnumerable<Xrm.Goal> team_goal
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Goal>("team_goal", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Goal>("team_goal", "team_goal", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_goal_goalowner
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_goal_goalowner")]
		public System.Collections.Generic.IEnumerable<Xrm.Goal> team_goal_goalowner
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Goal>("team_goal_goalowner", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Goal>("team_goal_goalowner", "team_goal_goalowner", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_goalrollupquery
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_goalrollupquery")]
		public System.Collections.Generic.IEnumerable<Xrm.GoalRollupQuery> team_goalrollupquery
		{
			get
			{
				return this.GetRelatedEntities<Xrm.GoalRollupQuery>("team_goalrollupquery", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.GoalRollupQuery>("team_goalrollupquery", "team_goalrollupquery", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_ImportFiles
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_ImportFiles")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportFile> team_ImportFiles
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportFile>("team_ImportFiles", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportFile>("team_ImportFiles", "team_ImportFiles", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_ImportLogs
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_ImportLogs")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportLog> team_ImportLogs
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportLog>("team_ImportLogs", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportLog>("team_ImportLogs", "team_ImportLogs", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_ImportMaps
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_ImportMaps")]
		public System.Collections.Generic.IEnumerable<Xrm.ImportMap> team_ImportMaps
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ImportMap>("team_ImportMaps", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ImportMap>("team_ImportMaps", "team_ImportMaps", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_Imports
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_Imports")]
		public System.Collections.Generic.IEnumerable<Xrm.Import> team_Imports
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Import>("team_Imports", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Import>("team_Imports", "team_Imports", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_incidentresolution
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_incidentresolution")]
		public System.Collections.Generic.IEnumerable<Xrm.IncidentResolution> team_incidentresolution
		{
			get
			{
				return this.GetRelatedEntities<Xrm.IncidentResolution>("team_incidentresolution", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.IncidentResolution>("team_incidentresolution", "team_incidentresolution", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_incidents
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_incidents")]
		public System.Collections.Generic.IEnumerable<Xrm.Incident> team_incidents
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Incident>("team_incidents", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Incident>("team_incidents", "team_incidents", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_invoices
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_invoices")]
		public System.Collections.Generic.IEnumerable<Xrm.Invoice> team_invoices
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Invoice>("team_invoices", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Invoice>("team_invoices", "team_invoices", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_letter
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_letter")]
		public System.Collections.Generic.IEnumerable<Xrm.Letter> team_letter
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Letter>("team_letter", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Letter>("team_letter", "team_letter", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_list
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_list")]
		public System.Collections.Generic.IEnumerable<Xrm.List> team_list
		{
			get
			{
				return this.GetRelatedEntities<Xrm.List>("team_list", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.List>("team_list", "team_list", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_msdyn_postalbum
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_msdyn_postalbum")]
		public System.Collections.Generic.IEnumerable<Xrm.msdyn_PostAlbum> team_msdyn_postalbum
		{
			get
			{
				return this.GetRelatedEntities<Xrm.msdyn_PostAlbum>("team_msdyn_postalbum", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.msdyn_PostAlbum>("team_msdyn_postalbum", "team_msdyn_postalbum", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_new_uzytkownicy
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_new_uzytkownicy")]
		public System.Collections.Generic.IEnumerable<Xrm.new_uzytkownicy> team_new_uzytkownicy
		{
			get
			{
				return this.GetRelatedEntities<Xrm.new_uzytkownicy>("team_new_uzytkownicy", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.new_uzytkownicy>("team_new_uzytkownicy", "team_new_uzytkownicy", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_new_uzytkownikkontakty
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_new_uzytkownikkontakty")]
		public System.Collections.Generic.IEnumerable<Xrm.new_uzytkownikkontakty> team_new_uzytkownikkontakty
		{
			get
			{
				return this.GetRelatedEntities<Xrm.new_uzytkownikkontakty>("team_new_uzytkownikkontakty", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.new_uzytkownikkontakty>("team_new_uzytkownikkontakty", "team_new_uzytkownikkontakty", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_new_zainteresowanie
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_new_zainteresowanie")]
		public System.Collections.Generic.IEnumerable<Xrm.new_zainteresowanie> team_new_zainteresowanie
		{
			get
			{
				return this.GetRelatedEntities<Xrm.new_zainteresowanie>("team_new_zainteresowanie", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.new_zainteresowanie>("team_new_zainteresowanie", "team_new_zainteresowanie", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_opportunities
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_opportunities")]
		public System.Collections.Generic.IEnumerable<Xrm.Opportunity> team_opportunities
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Opportunity>("team_opportunities", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Opportunity>("team_opportunities", "team_opportunities", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_opportunityclose
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_opportunityclose")]
		public System.Collections.Generic.IEnumerable<Xrm.OpportunityClose> team_opportunityclose
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OpportunityClose>("team_opportunityclose", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OpportunityClose>("team_opportunityclose", "team_opportunityclose", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_orderclose
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_orderclose")]
		public System.Collections.Generic.IEnumerable<Xrm.OrderClose> team_orderclose
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OrderClose>("team_orderclose", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OrderClose>("team_orderclose", "team_orderclose", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_orders
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_orders")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesOrder> team_orders
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesOrder>("team_orders", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesOrder>("team_orders", "team_orders", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_phonecall
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_phonecall")]
		public System.Collections.Generic.IEnumerable<Xrm.PhoneCall> team_phonecall
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PhoneCall>("team_phonecall", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PhoneCall>("team_phonecall", "team_phonecall", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_postfollows
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_postfollows")]
		public System.Collections.Generic.IEnumerable<Xrm.PostFollow> team_postfollows
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PostFollow>("team_postfollows", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PostFollow>("team_postfollows", "team_postfollows", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> team_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("team_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("team_principalobjectattributeaccess", "team_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_principalobjectattributeaccess_principalid
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_principalobjectattributeaccess_principalid")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> team_principalobjectattributeaccess_principalid
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("team_principalobjectattributeaccess_principalid", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("team_principalobjectattributeaccess_principalid", "team_principalobjectattributeaccess_principalid", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_processsession
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_processsession")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> team_processsession
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("team_processsession", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("team_processsession", "team_processsession", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Team_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Team_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Team_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Team_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Team_ProcessSessions", "Team_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_queueitembase_workerid
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_queueitembase_workerid")]
		public System.Collections.Generic.IEnumerable<Xrm.QueueItem> team_queueitembase_workerid
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QueueItem>("team_queueitembase_workerid", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QueueItem>("team_queueitembase_workerid", "team_queueitembase_workerid", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_quoteclose
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_quoteclose")]
		public System.Collections.Generic.IEnumerable<Xrm.QuoteClose> team_quoteclose
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QuoteClose>("team_quoteclose", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QuoteClose>("team_quoteclose", "team_quoteclose", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_quotes
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_quotes")]
		public System.Collections.Generic.IEnumerable<Xrm.Quote> team_quotes
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Quote>("team_quotes", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Quote>("team_quotes", "team_quotes", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_recurringappointmentmaster
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_recurringappointmentmaster")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurringAppointmentMaster> team_recurringappointmentmaster
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurringAppointmentMaster>("team_recurringappointmentmaster", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurringAppointmentMaster>("team_recurringappointmentmaster", "team_recurringappointmentmaster", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_resource_groups
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_resource_groups")]
		public System.Collections.Generic.IEnumerable<Xrm.ResourceGroup> team_resource_groups
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ResourceGroup>("team_resource_groups", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ResourceGroup>("team_resource_groups", "team_resource_groups", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_resource_specs
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_resource_specs")]
		public System.Collections.Generic.IEnumerable<Xrm.ResourceSpec> team_resource_specs
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ResourceSpec>("team_resource_specs", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ResourceSpec>("team_resource_specs", "team_resource_specs", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_service_appointments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_service_appointments")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceAppointment> team_service_appointments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceAppointment>("team_service_appointments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceAppointment>("team_service_appointments", "team_service_appointments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_service_contracts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_service_contracts")]
		public System.Collections.Generic.IEnumerable<Xrm.Contract> team_service_contracts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contract>("team_service_contracts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contract>("team_service_contracts", "team_service_contracts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_sharepointdocumentlocation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_sharepointdocumentlocation")]
		public System.Collections.Generic.IEnumerable<Xrm.SharePointDocumentLocation> team_sharepointdocumentlocation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SharePointDocumentLocation>("team_sharepointdocumentlocation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SharePointDocumentLocation>("team_sharepointdocumentlocation", "team_sharepointdocumentlocation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_sharepointsite
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_sharepointsite")]
		public System.Collections.Generic.IEnumerable<Xrm.SharePointSite> team_sharepointsite
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SharePointSite>("team_sharepointsite", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SharePointSite>("team_sharepointsite", "team_sharepointsite", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_task
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_task")]
		public System.Collections.Generic.IEnumerable<Xrm.Task> team_task
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Task>("team_task", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Task>("team_task", "team_task", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_userentityinstancedata
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_userentityinstancedata")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> team_userentityinstancedata
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("team_userentityinstancedata", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("team_userentityinstancedata", "team_userentityinstancedata", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_userentityuisettings
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_userentityuisettings")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityUISettings> team_userentityuisettings
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityUISettings>("team_userentityuisettings", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityUISettings>("team_userentityuisettings", "team_userentityuisettings", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_userform
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_userform")]
		public System.Collections.Generic.IEnumerable<Xrm.UserForm> team_userform
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserForm>("team_userform", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserForm>("team_userform", "team_userform", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_userquery
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_userquery")]
		public System.Collections.Generic.IEnumerable<Xrm.UserQuery> team_userquery
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserQuery>("team_userquery", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserQuery>("team_userquery", "team_userquery", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_userqueryvisualizations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_userqueryvisualizations")]
		public System.Collections.Generic.IEnumerable<Xrm.UserQueryVisualization> team_userqueryvisualizations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserQueryVisualization>("team_userqueryvisualizations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserQueryVisualization>("team_userqueryvisualizations", "team_userqueryvisualizations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_workflow
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_workflow")]
		public System.Collections.Generic.IEnumerable<Xrm.Workflow> team_workflow
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Workflow>("team_workflow", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Workflow>("team_workflow", "team_workflow", null, value);
			}
		}
		
		/// <summary>
		/// 1:N team_workflowlog
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_workflowlog")]
		public System.Collections.Generic.IEnumerable<Xrm.WorkflowLog> team_workflowlog
		{
			get
			{
				return this.GetRelatedEntities<Xrm.WorkflowLog>("team_workflowlog", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.WorkflowLog>("team_workflowlog", "team_workflowlog", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_team
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_team")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_team
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_team", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_team", "userentityinstancedata_team", null, value);
			}
		}
		
		/// <summary>
		/// N:N teammembership_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("teammembership_association")]
		public System.Collections.Generic.IEnumerable<Xrm.SystemUser> teammembership_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SystemUser>("teammembership_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SystemUser>("teammembership_association", "teammembership_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N teamprofiles_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("teamprofiles_association")]
		public System.Collections.Generic.IEnumerable<Xrm.FieldSecurityProfile> teamprofiles_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.FieldSecurityProfile>("teamprofiles_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.FieldSecurityProfile>("teamprofiles_association", "teamprofiles_association", null, value);
			}
		}
		
		/// <summary>
		/// N:N teamroles_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("teamroles_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Role> teamroles_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Role>("teamroles_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Role>("teamroles_association", "teamroles_association", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_teams
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_teams")]
		public Xrm.BusinessUnit business_unit_teams
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_teams", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BusinessUnit>("business_unit_teams", "business_unit_teams", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_team_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_team_createdonbehalfby")]
		public Xrm.SystemUser lk_team_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_team_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_team_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_team_modifiedonbehalfby")]
		public Xrm.SystemUser lk_team_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_team_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_teambase_administratorid
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("administratorid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_teambase_administratorid")]
		public Xrm.SystemUser lk_teambase_administratorid
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_teambase_administratorid", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("lk_teambase_administratorid", "lk_teambase_administratorid", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_teambase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_teambase_createdby")]
		public Xrm.SystemUser lk_teambase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_teambase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_teambase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_teambase_modifiedby")]
		public Xrm.SystemUser lk_teambase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_teambase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_teams
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_teams")]
		public Xrm.Organization organization_teams
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_teams", null);
			}
		}
		
		/// <summary>
		/// N:1 queue_team
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("queueid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("queue_team")]
		public Xrm.Queue queue_team
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Queue>("queue_team", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Queue>("queue_team", "queue_team", null, value);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_Team
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_Team")]
		public Xrm.TransactionCurrency TransactionCurrency_Team
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_Team", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_Team", "TransactionCurrency_Team", null, value);
			}
		}
	}
	
	/// <summary>
	/// 
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("teammembership")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("TeamMembershipSet")]
	public partial class TeamMembership : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public TeamMembership() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "teammembership";
		
		public const int EntityTypeCode = 23;
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("systemuserid")]
		public System.Nullable<System.Guid> SystemUserId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("systemuserid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("teamid")]
		public System.Nullable<System.Guid> TeamId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("teamid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator członkostwa w zespole.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("teammembershipid")]
		public System.Nullable<System.Guid> TeamMembershipId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("teammembershipid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("TeamMembershipId", "teammembershipid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("teammembershipid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.TeamMembershipId = value;
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_teammembership
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_teammembership")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_teammembership
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_teammembership", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_teammembership", "userentityinstancedata_teammembership", null, value);
			}
		}
		
		/// <summary>
		/// N:N teammembership_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("teammembership_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Team> teammembership_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Team>("teammembership_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Team>("teammembership_association", "teammembership_association", null, value);
			}
		}
	}
	
	/// <summary>
	/// Profile zespołu
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("teamprofiles")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("TeamProfilesSet")]
	public partial class TeamProfiles : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public TeamProfiles() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "teamprofiles";
		
		public const int EntityTypeCode = 1203;
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fieldsecurityprofileid")]
		public System.Nullable<System.Guid> FieldSecurityProfileId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("fieldsecurityprofileid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("teamid")]
		public System.Nullable<System.Guid> TeamId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("teamid");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("teamprofileid")]
		public System.Nullable<System.Guid> TeamProfileId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("teamprofileid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("TeamProfileId", "teamprofileid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("teamprofileid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.TeamProfileId = value;
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// N:N teamprofiles_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("teamprofiles_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Team> teamprofiles_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Team>("teamprofiles_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Team>("teamprofiles_association", "teamprofiles_association", null, value);
			}
		}
	}
	
	/// <summary>
	/// 
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("teamroles")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("TeamRolesSet")]
	public partial class TeamRoles : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public TeamRoles() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "teamroles";
		
		public const int EntityTypeCode = 40;
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("roleid")]
		public System.Nullable<System.Guid> RoleId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("roleid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("teamid")]
		public System.Nullable<System.Guid> TeamId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("teamid");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("teamroleid")]
		public System.Nullable<System.Guid> TeamRoleId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("teamroleid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("TeamRoleId", "teamroleid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("teamroleid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.TeamRoleId = value;
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// N:N teamroles_association
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("teamroles_association")]
		public System.Collections.Generic.IEnumerable<Xrm.Team> teamroles_association
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Team>("teamroles_association", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Team>("teamroles_association", "teamroles_association", null, value);
			}
		}
	}
	
	/// <summary>
	/// Szablon wiadomości e-mail zawierający jej standardowe atrybuty.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("template")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("TemplateSet")]
	public partial class Template : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Template() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "template";
		
		public const int EntityTypeCode = 2010;
		
		/// <summary>
		/// Tekst treści szablonu wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("body")]
		public string Body
		{
			get
			{
				return this.GetAttributeValue<string>("body");
			}
			set
			{
				this.SetAttributeValue<string>("Body", "body", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył szablon wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia szablonu wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył szablon.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis szablonu wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("generationtypecode")]
		public System.Nullable<int> GenerationTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("generationtypecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("GenerationTypeCode", "generationtypecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy można dostosować ten składnik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomizable")]
		public Microsoft.Xrm.Sdk.BooleanManagedProperty IsCustomizable
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("iscustomizable");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("IsCustomizable", "iscustomizable", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy składnik rozwiązania jest częścią rozwiązania zarządzanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy szablon jest prywatny, czy dostępny dla wszystkich użytkowników.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ispersonal")]
		public System.Nullable<bool> IsPersonal
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ispersonal");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsPersonal", "ispersonal", value);
			}
		}
		
		/// <summary>
		/// Język szablonu wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("languagecode")]
		public System.Nullable<int> LanguageCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("languagecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("LanguageCode", "languagecode", value);
			}
		}
		
		/// <summary>
		/// Typ MIME szablonu wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("mimetype")]
		public string MimeType
		{
			get
			{
				return this.GetAttributeValue<string>("mimetype");
			}
			set
			{
				this.SetAttributeValue<string>("MimeType", "mimetype", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował szablon.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji szablonu wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował szablon.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, który jest właścicielem szablonu wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem szablonu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, który jest właścicielem szablonu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem szablonu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Dane XML dotyczące treści szablonu wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("presentationxml")]
		public string PresentationXml
		{
			get
			{
				return this.GetAttributeValue<string>("presentationxml");
			}
			set
			{
				this.SetAttributeValue<string>("PresentationXml", "presentationxml", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// Temat skojarzony z szablonem wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subject")]
		public string Subject
		{
			get
			{
				return this.GetAttributeValue<string>("subject");
			}
			set
			{
				this.SetAttributeValue<string>("Subject", "subject", value);
			}
		}
		
		/// <summary>
		/// Dane XML dotyczące tematu szablonu wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subjectpresentationxml")]
		public string SubjectPresentationXml
		{
			get
			{
				return this.GetAttributeValue<string>("subjectpresentationxml");
			}
			set
			{
				this.SetAttributeValue<string>("SubjectPresentationXml", "subjectpresentationxml", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator szablonu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("templateid")]
		public System.Nullable<System.Guid> TemplateId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("templateid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("TemplateId", "templateid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("templateid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.TemplateId = value;
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("templateidunique")]
		public System.Nullable<System.Guid> TemplateIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("templateidunique");
			}
		}
		
		/// <summary>
		/// Typ szablonu wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("templatetypecode")]
		public string TemplateTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("templatetypecode");
			}
			set
			{
				this.SetAttributeValue<string>("TemplateTypeCode", "templatetypecode", value);
			}
		}
		
		/// <summary>
		/// Tytuł szablonu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("title")]
		public string Title
		{
			get
			{
				return this.GetAttributeValue<string>("title");
			}
			set
			{
				this.SetAttributeValue<string>("Title", "title", value);
			}
		}
		
		/// <summary>
		/// Numer wersji szablonu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N template_activity_mime_attachments
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("template_activity_mime_attachments")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityMimeAttachment> template_activity_mime_attachments
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityMimeAttachment>("template_activity_mime_attachments", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityMimeAttachment>("template_activity_mime_attachments", "template_activity_mime_attachments", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Template_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Template_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Template_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Template_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Template_AsyncOperations", "Template_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Template_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Template_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Template_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Template_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Template_BulkDeleteFailures", "Template_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Template_Organization
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Template_Organization")]
		public System.Collections.Generic.IEnumerable<Xrm.Organization> Template_Organization
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Organization>("Template_Organization", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Organization>("Template_Organization", "Template_Organization", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Template_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Template_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Template_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Template_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Template_ProcessSessions", "Template_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_template
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_template")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_template
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_template", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_template", "userentityinstancedata_template", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_templates
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_templates")]
		public Xrm.BusinessUnit business_unit_templates
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_templates", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_templatebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_templatebase_createdby")]
		public Xrm.SystemUser lk_templatebase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_templatebase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_templatebase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_templatebase_createdonbehalfby")]
		public Xrm.SystemUser lk_templatebase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_templatebase_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_templatebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_templatebase_modifiedby")]
		public Xrm.SystemUser lk_templatebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_templatebase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_templatebase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_templatebase_modifiedonbehalfby")]
		public Xrm.SystemUser lk_templatebase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_templatebase_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 system_user_email_templates
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_email_templates")]
		public Xrm.SystemUser system_user_email_templates
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("system_user_email_templates", null);
			}
		}
		
		/// <summary>
		/// N:1 team_email_templates
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_email_templates")]
		public Xrm.Team team_email_templates
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_email_templates", null);
			}
		}
	}
	
	/// <summary>
	/// Obszar reprezentuje regiony sprzedaży.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("territory")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("TerritorySet")]
	public partial class Territory : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Territory() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "territory";
		
		public const int EntityTypeCode = 2013;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył obszar.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia obszaru.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył obszar.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis obszaru.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty skojarzonej z obszarem w odniesieniu do waluty podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator menedżera obszaru.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("managerid")]
		public Microsoft.Xrm.Client.CrmEntityReference ManagerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("managerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ManagerId", "managerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował obszar.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji obszaru.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował obszar.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa obszaru.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z obszarem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator obszaru.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("territoryid")]
		public System.Nullable<System.Guid> TerritoryId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("territoryid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("TerritoryId", "territoryid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("territoryid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.TerritoryId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty skojarzonej z obszarem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Numer wersji obszaru.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N territory_accounts
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("territory_accounts")]
		public System.Collections.Generic.IEnumerable<Xrm.Account> territory_accounts
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Account>("territory_accounts", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Account>("territory_accounts", "territory_accounts", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Territory_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Territory_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> Territory_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("Territory_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("Territory_AsyncOperations", "Territory_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Territory_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Territory_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> Territory_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("Territory_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("Territory_BulkDeleteFailures", "Territory_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Territory_DuplicateBaseRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Territory_DuplicateBaseRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Territory_DuplicateBaseRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Territory_DuplicateBaseRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Territory_DuplicateBaseRecord", "Territory_DuplicateBaseRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Territory_DuplicateMatchingRecord
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Territory_DuplicateMatchingRecord")]
		public System.Collections.Generic.IEnumerable<Xrm.DuplicateRecord> Territory_DuplicateMatchingRecord
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DuplicateRecord>("Territory_DuplicateMatchingRecord", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DuplicateRecord>("Territory_DuplicateMatchingRecord", "Territory_DuplicateMatchingRecord", null, value);
			}
		}
		
		/// <summary>
		/// 1:N territory_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("territory_principalobjectattributeaccess")]
		public System.Collections.Generic.IEnumerable<Xrm.PrincipalObjectAttributeAccess> territory_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("territory_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PrincipalObjectAttributeAccess>("territory_principalobjectattributeaccess", "territory_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// 1:N Territory_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Territory_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> Territory_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("Territory_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("Territory_ProcessSessions", "Territory_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N territory_system_users
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("territory_system_users")]
		public System.Collections.Generic.IEnumerable<Xrm.SystemUser> territory_system_users
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SystemUser>("territory_system_users", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SystemUser>("territory_system_users", "territory_system_users", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_territory
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_territory")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_territory
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_territory", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_territory", "userentityinstancedata_territory", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_territory_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_territory_createdonbehalfby")]
		public Xrm.SystemUser lk_territory_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_territory_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_territory_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_territory_modifiedonbehalfby")]
		public Xrm.SystemUser lk_territory_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_territory_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_territorybase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_territorybase_createdby")]
		public Xrm.SystemUser lk_territorybase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_territorybase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_territorybase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_territorybase_modifiedby")]
		public Xrm.SystemUser lk_territorybase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_territorybase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_territories
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_territories")]
		public Xrm.Organization organization_territories
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_territories", null);
			}
		}
		
		/// <summary>
		/// N:1 system_user_territories
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("managerid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_territories")]
		public Xrm.SystemUser system_user_territories
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("system_user_territories", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("system_user_territories", "system_user_territories", null, value);
			}
		}
		
		/// <summary>
		/// N:1 TransactionCurrency_Territory
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_Territory")]
		public Xrm.TransactionCurrency TransactionCurrency_Territory
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_Territory", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("TransactionCurrency_Territory", "TransactionCurrency_Territory", null, value);
			}
		}
	}
	
	/// <summary>
	/// Definicja strefy czasowej, w tym nazwa i kod strefy czasowej.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("timezonedefinition")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("TimeZoneDefinitionSet")]
	public partial class TimeZoneDefinition : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public TimeZoneDefinition() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "timezonedefinition";
		
		public const int EntityTypeCode = 4810;
		
		/// <summary>
		/// Podstawowa różnica czasu strefy czasowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("bias")]
		public System.Nullable<int> Bias
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("bias");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Bias", "bias", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył rekord strefy czasowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia rekordu strefy czasowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył definicję strefy czasowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa strefy czasowej dla czasu letniego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("daylightname")]
		public string DaylightName
		{
			get
			{
				return this.GetAttributeValue<string>("daylightname");
			}
			set
			{
				this.SetAttributeValue<string>("DaylightName", "daylightname", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował rekord strefy czasowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina modyfikacji rekordu strefy czasowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował definicję strefy czasowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z definicją strefy czasowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Polecenie wpisu dla definicji strefy czasowej jest przedawnione. Wartość ostatniego wpisu wynosi 0.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("retiredorder")]
		public System.Nullable<int> RetiredOrder
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("retiredorder");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("RetiredOrder", "retiredorder", value);
			}
		}
		
		/// <summary>
		/// Nazwa strefy czasowej dla czasu standardowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("standardname")]
		public string StandardName
		{
			get
			{
				return this.GetAttributeValue<string>("standardname");
			}
			set
			{
				this.SetAttributeValue<string>("StandardName", "standardname", value);
			}
		}
		
		/// <summary>
		/// Kod identyfikacyjny strefy czasowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonecode")]
		public System.Nullable<int> TimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneCode", "timezonecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator rekordu strefy czasowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonedefinitionid")]
		public System.Nullable<System.Guid> TimeZoneDefinitionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("timezonedefinitionid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("TimeZoneDefinitionId", "timezonedefinitionid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonedefinitionid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.TimeZoneDefinitionId = value;
			}
		}
		
		/// <summary>
		/// Nazwa wyświetlana strefy czasowej w rejestrze systemu Windows.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userinterfacename")]
		public string UserInterfaceName
		{
			get
			{
				return this.GetAttributeValue<string>("userinterfacename");
			}
			set
			{
				this.SetAttributeValue<string>("UserInterfaceName", "userinterfacename", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N lk_timezonelocalizedname_timezonedefinitionid
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_timezonelocalizedname_timezonedefinitionid")]
		public System.Collections.Generic.IEnumerable<Xrm.TimeZoneLocalizedName> lk_timezonelocalizedname_timezonedefinitionid
		{
			get
			{
				return this.GetRelatedEntities<Xrm.TimeZoneLocalizedName>("lk_timezonelocalizedname_timezonedefinitionid", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.TimeZoneLocalizedName>("lk_timezonelocalizedname_timezonedefinitionid", "lk_timezonelocalizedname_timezonedefinitionid", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_timezonerule_timezonedefinitionid
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_timezonerule_timezonedefinitionid")]
		public System.Collections.Generic.IEnumerable<Xrm.TimeZoneRule> lk_timezonerule_timezonedefinitionid
		{
			get
			{
				return this.GetRelatedEntities<Xrm.TimeZoneRule>("lk_timezonerule_timezonedefinitionid", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.TimeZoneRule>("lk_timezonerule_timezonedefinitionid", "lk_timezonerule_timezonedefinitionid", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_timezonedefinition
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_timezonedefinition")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_timezonedefinition
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_timezonedefinition", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_timezonedefinition", "userentityinstancedata_timezonedefinition", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_timezonedefinition_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_timezonedefinition_createdby")]
		public Xrm.SystemUser lk_timezonedefinition_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_timezonedefinition_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_timezonedefinition_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_timezonedefinition_createdonbehalfby")]
		public Xrm.SystemUser lk_timezonedefinition_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_timezonedefinition_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_timezonedefinition_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_timezonedefinition_modifiedby")]
		public Xrm.SystemUser lk_timezonedefinition_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_timezonedefinition_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_timezonedefinition_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_timezonedefinition_modifiedonbehalfby")]
		public Xrm.SystemUser lk_timezonedefinition_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_timezonedefinition_modifiedonbehalfby", null);
			}
		}
	}
	
	/// <summary>
	/// Nazwa lokalna strefy czasowej.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("timezonelocalizedname")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("TimeZoneLocalizedNameSet")]
	public partial class TimeZoneLocalizedName : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public TimeZoneLocalizedName() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "timezonelocalizedname";
		
		public const int EntityTypeCode = 4812;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył rekord.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył nazwę lokalną strefy czasowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator kultury, w której zakodowane są nazwy interfejsu użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("cultureid")]
		public System.Nullable<int> CultureId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("cultureid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("CultureId", "cultureid", value);
			}
		}
		
		/// <summary>
		/// Nazwa strefy czasowej dla czasu letniego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("daylightname")]
		public string DaylightName
		{
			get
			{
				return this.GetAttributeValue<string>("daylightname");
			}
			set
			{
				this.SetAttributeValue<string>("DaylightName", "daylightname", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował nazwę lokalną strefy czasowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina modyfikacji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który zmodyfikował jako ostatni nazwę lokalną strefy czasowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z nazwą lokalną strefy czasowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Nazwa strefy czasowej dla czasu standardowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("standardname")]
		public string StandardName
		{
			get
			{
				return this.GetAttributeValue<string>("standardname");
			}
			set
			{
				this.SetAttributeValue<string>("StandardName", "standardname", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator wystąpień encji definicji strefy czasowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonedefinitionid")]
		public Microsoft.Xrm.Client.CrmEntityReference TimeZoneDefinitionId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("timezonedefinitionid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TimeZoneDefinitionId", "timezonedefinitionid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator wystąpień encji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonelocalizednameid")]
		public System.Nullable<System.Guid> TimeZoneLocalizedNameId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("timezonelocalizednameid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("TimeZoneLocalizedNameId", "timezonelocalizednameid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonelocalizednameid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.TimeZoneLocalizedNameId = value;
			}
		}
		
		/// <summary>
		/// Unikatowa nazwa wyświetlana strefy czasowej w rejestrze systemu Microsoft Windows.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userinterfacename")]
		public string UserInterfaceName
		{
			get
			{
				return this.GetAttributeValue<string>("userinterfacename");
			}
			set
			{
				this.SetAttributeValue<string>("UserInterfaceName", "userinterfacename", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_timezonelocalizedname
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_timezonelocalizedname")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_timezonelocalizedname
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_timezonelocalizedname", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_timezonelocalizedname", "userentityinstancedata_timezonelocalizedname", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_timezonelocalizedname_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_timezonelocalizedname_createdby")]
		public Xrm.SystemUser lk_timezonelocalizedname_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_timezonelocalizedname_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_timezonelocalizedname_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_timezonelocalizedname_createdonbehalfby")]
		public Xrm.SystemUser lk_timezonelocalizedname_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_timezonelocalizedname_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_timezonelocalizedname_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_timezonelocalizedname_modifiedby")]
		public Xrm.SystemUser lk_timezonelocalizedname_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_timezonelocalizedname_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_timezonelocalizedname_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_timezonelocalizedname_modifiedonbehalfby")]
		public Xrm.SystemUser lk_timezonelocalizedname_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_timezonelocalizedname_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_timezonelocalizedname_timezonedefinitionid
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonedefinitionid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_timezonelocalizedname_timezonedefinitionid")]
		public Xrm.TimeZoneDefinition lk_timezonelocalizedname_timezonedefinitionid
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TimeZoneDefinition>("lk_timezonelocalizedname_timezonedefinitionid", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TimeZoneDefinition>("lk_timezonelocalizedname_timezonedefinitionid", "lk_timezonelocalizedname_timezonedefinitionid", null, value);
			}
		}
	}
	
	/// <summary>
	/// Definicja konwersji czasu między czasem lokalnym a czasem UTC dla danej strefy czasowej w danym okresie.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("timezonerule")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("TimeZoneRuleSet")]
	public partial class TimeZoneRule : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public TimeZoneRule() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "timezonerule";
		
		public const int EntityTypeCode = 4811;
		
		/// <summary>
		/// Podstawowa różnica czasu w regule dotyczącej strefy czasowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("bias")]
		public System.Nullable<int> Bias
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("bias");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("Bias", "bias", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył regułę dotyczącą strefy czasowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia reguły dotyczącej strefy czasowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył regułę dotyczącą strefy czasowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Dodatkowa różnica czasu (oprócz różnicy podstawowej) dla czasu letniego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("daylightbias")]
		public System.Nullable<int> DaylightBias
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("daylightbias");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("DaylightBias", "daylightbias", value);
			}
		}
		
		/// <summary>
		/// Dzień miesiąca, w którym rozpoczyna się stosowanie czasu letniego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("daylightday")]
		public System.Nullable<int> DaylightDay
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("daylightday");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("DaylightDay", "daylightday", value);
			}
		}
		
		/// <summary>
		/// Dzień tygodnia, w którym rozpoczyna się stosowanie czasu letniego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("daylightdayofweek")]
		public System.Nullable<int> DaylightDayOfWeek
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("daylightdayofweek");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("DaylightDayOfWeek", "daylightdayofweek", value);
			}
		}
		
		/// <summary>
		/// Godzina rozpoczęcia stosowania czasu letniego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("daylighthour")]
		public System.Nullable<int> DaylightHour
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("daylighthour");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("DaylightHour", "daylighthour", value);
			}
		}
		
		/// <summary>
		/// Minuta rozpoczęcia stosowania czasu letniego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("daylightminute")]
		public System.Nullable<int> DaylightMinute
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("daylightminute");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("DaylightMinute", "daylightminute", value);
			}
		}
		
		/// <summary>
		/// Miesiąc rozpoczęcia stosowania czasu letniego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("daylightmonth")]
		public System.Nullable<int> DaylightMonth
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("daylightmonth");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("DaylightMonth", "daylightmonth", value);
			}
		}
		
		/// <summary>
		/// Sekunda rozpoczęcia stosowania czasu letniego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("daylightsecond")]
		public System.Nullable<int> DaylightSecond
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("daylightsecond");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("DaylightSecond", "daylightsecond", value);
			}
		}
		
		/// <summary>
		/// Rok rozpoczęcia stosowania czasu letniego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("daylightyear")]
		public System.Nullable<int> DaylightYear
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("daylightyear");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("DaylightYear", "daylightyear", value);
			}
		}
		
		/// <summary>
		/// Czas lokalny początku obowiązywania tej reguły.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("effectivedatetime")]
		public System.Nullable<System.DateTime> EffectiveDateTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("effectivedatetime");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("EffectiveDateTime", "effectivedatetime", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował regułę dotyczącą strefy czasowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina modyfikacji reguły dotyczącej strefy czasowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował regułę dotyczącą strefy czasowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z regułą dotyczącą strefy czasowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Dodatkowa różnica czasu (oprócz różnicy podstawowej) dla czasu standardowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("standardbias")]
		public System.Nullable<int> StandardBias
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("standardbias");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("StandardBias", "standardbias", value);
			}
		}
		
		/// <summary>
		/// Dzień miesiąca, w którym rozpoczyna się stosowanie czasu standardowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("standardday")]
		public System.Nullable<int> StandardDay
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("standardday");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("StandardDay", "standardday", value);
			}
		}
		
		/// <summary>
		/// Dzień tygodnia, w którym rozpoczyna się stosowanie czasu standardowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("standarddayofweek")]
		public System.Nullable<int> StandardDayOfWeek
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("standarddayofweek");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("StandardDayOfWeek", "standarddayofweek", value);
			}
		}
		
		/// <summary>
		/// Godzina rozpoczęcia stosowania czasu standardowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("standardhour")]
		public System.Nullable<int> StandardHour
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("standardhour");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("StandardHour", "standardhour", value);
			}
		}
		
		/// <summary>
		/// Minuta rozpoczęcia stosowania czasu standardowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("standardminute")]
		public System.Nullable<int> StandardMinute
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("standardminute");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("StandardMinute", "standardminute", value);
			}
		}
		
		/// <summary>
		/// Miesiąc rozpoczęcia stosowania czasu standardowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("standardmonth")]
		public System.Nullable<int> StandardMonth
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("standardmonth");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("StandardMonth", "standardmonth", value);
			}
		}
		
		/// <summary>
		/// Sekunda rozpoczęcia stosowania czasu standardowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("standardsecond")]
		public System.Nullable<int> StandardSecond
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("standardsecond");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("StandardSecond", "standardsecond", value);
			}
		}
		
		/// <summary>
		/// Rok rozpoczęcia stosowania czasu standardowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("standardyear")]
		public System.Nullable<int> StandardYear
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("standardyear");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("StandardYear", "standardyear", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator definicji strefy czasowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonedefinitionid")]
		public Microsoft.Xrm.Client.CrmEntityReference TimeZoneDefinitionId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("timezonedefinitionid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TimeZoneDefinitionId", "timezonedefinitionid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator reguły dotyczącej strefy czasowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleid")]
		public System.Nullable<System.Guid> TimeZoneRuleId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("timezoneruleid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("TimeZoneRuleId", "timezoneruleid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.TimeZoneRuleId = value;
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
		public System.Nullable<int> TimeZoneRuleVersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneRuleVersionNumber", "timezoneruleversionnumber", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_timezonerule
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_timezonerule")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_timezonerule
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_timezonerule", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_timezonerule", "userentityinstancedata_timezonerule", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_timezonerule_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_timezonerule_createdby")]
		public Xrm.SystemUser lk_timezonerule_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_timezonerule_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_timezonerule_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_timezonerule_createdonbehalfby")]
		public Xrm.SystemUser lk_timezonerule_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_timezonerule_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_timezonerule_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_timezonerule_modifiedby")]
		public Xrm.SystemUser lk_timezonerule_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_timezonerule_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_timezonerule_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_timezonerule_modifiedonbehalfby")]
		public Xrm.SystemUser lk_timezonerule_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_timezonerule_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_timezonerule_timezonedefinitionid
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonedefinitionid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_timezonerule_timezonedefinitionid")]
		public Xrm.TimeZoneDefinition lk_timezonerule_timezonedefinitionid
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TimeZoneDefinition>("lk_timezonerule_timezonedefinitionid", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TimeZoneDefinition>("lk_timezonerule_timezonedefinitionid", "lk_timezonerule_timezonedefinitionid", null, value);
			}
		}
	}
	
	/// <summary>
	/// Waluta, w której przeprowadza się transakcję finansową.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("transactioncurrency")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("TransactionCurrencySet")]
	public partial class TransactionCurrency : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public TransactionCurrency() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "transactioncurrency";
		
		public const int EntityTypeCode = 9105;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył walutę transakcji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia waluty transakcji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył walutę transakcji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa waluty transakcji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("currencyname")]
		public string CurrencyName
		{
			get
			{
				return this.GetAttributeValue<string>("currencyname");
			}
			set
			{
				this.SetAttributeValue<string>("CurrencyName", "currencyname", value);
			}
		}
		
		/// <summary>
		/// Liczba cyfr po przecinku, która może być stosowana w zapisie waluty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("currencyprecision")]
		public System.Nullable<int> CurrencyPrecision
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("currencyprecision");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("CurrencyPrecision", "currencyprecision", value);
			}
		}
		
		/// <summary>
		/// Symbol waluty transakcji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("currencysymbol")]
		public string CurrencySymbol
		{
			get
			{
				return this.GetAttributeValue<string>("currencysymbol");
			}
			set
			{
				this.SetAttributeValue<string>("CurrencySymbol", "currencysymbol", value);
			}
		}
		
		/// <summary>
		/// Kurs wymiany waluty transakcji w odniesieniu do waluty podstawowej organizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("exchangerate")]
		public System.Nullable<decimal> ExchangeRate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("exchangerate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("ExchangeRate", "exchangerate", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Kod ISO waluty transakcji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isocurrencycode")]
		public string ISOCurrencyCode
		{
			get
			{
				return this.GetAttributeValue<string>("isocurrencycode");
			}
			set
			{
				this.SetAttributeValue<string>("ISOCurrencyCode", "isocurrencycode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował walutę transakcji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji waluty transakcji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował walutę transakcji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z walutą transakcji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Stan waluty transakcji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu waluty transakcji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator waluty transakcji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public System.Nullable<System.Guid> TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("transactioncurrencyid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.TransactionCurrencyId = value;
			}
		}
		
		/// <summary>
		/// Numer wersji waluty transakcji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N basecurrency_organization
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("basecurrency_organization")]
		public System.Collections.Generic.IEnumerable<Xrm.Organization> basecurrency_organization
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Organization>("basecurrency_organization", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Organization>("basecurrency_organization", "basecurrency_organization", null, value);
			}
		}
		
		/// <summary>
		/// 1:N transactioncurrency_account
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_account")]
		public System.Collections.Generic.IEnumerable<Xrm.Account> transactioncurrency_account
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Account>("transactioncurrency_account", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Account>("transactioncurrency_account", "transactioncurrency_account", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_ActivityPointer
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_ActivityPointer")]
		public System.Collections.Generic.IEnumerable<Xrm.ActivityPointer> TransactionCurrency_ActivityPointer
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ActivityPointer>("TransactionCurrency_ActivityPointer", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ActivityPointer>("TransactionCurrency_ActivityPointer", "TransactionCurrency_ActivityPointer", null, value);
			}
		}
		
		/// <summary>
		/// 1:N transactioncurrency_annualfiscalcalendar
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_annualfiscalcalendar")]
		public System.Collections.Generic.IEnumerable<Xrm.AnnualFiscalCalendar> transactioncurrency_annualfiscalcalendar
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AnnualFiscalCalendar>("transactioncurrency_annualfiscalcalendar", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AnnualFiscalCalendar>("transactioncurrency_annualfiscalcalendar", "transactioncurrency_annualfiscalcalendar", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_Appointment
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_Appointment")]
		public System.Collections.Generic.IEnumerable<Xrm.Appointment> TransactionCurrency_Appointment
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Appointment>("TransactionCurrency_Appointment", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Appointment>("TransactionCurrency_Appointment", "TransactionCurrency_Appointment", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> TransactionCurrency_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("TransactionCurrency_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("TransactionCurrency_AsyncOperations", "TransactionCurrency_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_BusinessUnit
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_BusinessUnit")]
		public System.Collections.Generic.IEnumerable<Xrm.BusinessUnit> TransactionCurrency_BusinessUnit
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BusinessUnit>("TransactionCurrency_BusinessUnit", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BusinessUnit>("TransactionCurrency_BusinessUnit", "TransactionCurrency_BusinessUnit", null, value);
			}
		}
		
		/// <summary>
		/// 1:N transactioncurrency_campaign
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_campaign")]
		public System.Collections.Generic.IEnumerable<Xrm.Campaign> transactioncurrency_campaign
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Campaign>("transactioncurrency_campaign", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Campaign>("transactioncurrency_campaign", "transactioncurrency_campaign", null, value);
			}
		}
		
		/// <summary>
		/// 1:N transactioncurrency_campaignactivity
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_campaignactivity")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignActivity> transactioncurrency_campaignactivity
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignActivity>("transactioncurrency_campaignactivity", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignActivity>("transactioncurrency_campaignactivity", "transactioncurrency_campaignactivity", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_CampaignResponse
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_CampaignResponse")]
		public System.Collections.Generic.IEnumerable<Xrm.CampaignResponse> TransactionCurrency_CampaignResponse
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CampaignResponse>("TransactionCurrency_CampaignResponse", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CampaignResponse>("TransactionCurrency_CampaignResponse", "TransactionCurrency_CampaignResponse", null, value);
			}
		}
		
		/// <summary>
		/// 1:N transactioncurrency_competitor
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_competitor")]
		public System.Collections.Generic.IEnumerable<Xrm.Competitor> transactioncurrency_competitor
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Competitor>("transactioncurrency_competitor", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Competitor>("transactioncurrency_competitor", "transactioncurrency_competitor", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_Connection
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_Connection")]
		public System.Collections.Generic.IEnumerable<Xrm.Connection> TransactionCurrency_Connection
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Connection>("TransactionCurrency_Connection", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Connection>("TransactionCurrency_Connection", "TransactionCurrency_Connection", null, value);
			}
		}
		
		/// <summary>
		/// 1:N transactioncurrency_contact
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_contact")]
		public System.Collections.Generic.IEnumerable<Xrm.Contact> transactioncurrency_contact
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contact>("transactioncurrency_contact", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contact>("transactioncurrency_contact", "transactioncurrency_contact", null, value);
			}
		}
		
		/// <summary>
		/// 1:N transactioncurrency_contract
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_contract")]
		public System.Collections.Generic.IEnumerable<Xrm.Contract> transactioncurrency_contract
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Contract>("transactioncurrency_contract", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Contract>("transactioncurrency_contract", "transactioncurrency_contract", null, value);
			}
		}
		
		/// <summary>
		/// 1:N transactioncurrency_contractdetail
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_contractdetail")]
		public System.Collections.Generic.IEnumerable<Xrm.ContractDetail> transactioncurrency_contractdetail
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ContractDetail>("transactioncurrency_contractdetail", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ContractDetail>("transactioncurrency_contractdetail", "transactioncurrency_contractdetail", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_CustomerAddress
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_CustomerAddress")]
		public System.Collections.Generic.IEnumerable<Xrm.CustomerAddress> TransactionCurrency_CustomerAddress
		{
			get
			{
				return this.GetRelatedEntities<Xrm.CustomerAddress>("TransactionCurrency_CustomerAddress", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.CustomerAddress>("TransactionCurrency_CustomerAddress", "TransactionCurrency_CustomerAddress", null, value);
			}
		}
		
		/// <summary>
		/// 1:N transactioncurrency_discount
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_discount")]
		public System.Collections.Generic.IEnumerable<Xrm.Discount> transactioncurrency_discount
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Discount>("transactioncurrency_discount", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Discount>("transactioncurrency_discount", "transactioncurrency_discount", null, value);
			}
		}
		
		/// <summary>
		/// 1:N transactioncurrency_discounttype
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_discounttype")]
		public System.Collections.Generic.IEnumerable<Xrm.DiscountType> transactioncurrency_discounttype
		{
			get
			{
				return this.GetRelatedEntities<Xrm.DiscountType>("transactioncurrency_discounttype", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.DiscountType>("transactioncurrency_discounttype", "transactioncurrency_discounttype", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_Email
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_Email")]
		public System.Collections.Generic.IEnumerable<Xrm.Email> TransactionCurrency_Email
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Email>("TransactionCurrency_Email", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Email>("TransactionCurrency_Email", "TransactionCurrency_Email", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_Equipment
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_Equipment")]
		public System.Collections.Generic.IEnumerable<Xrm.Equipment> TransactionCurrency_Equipment
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Equipment>("TransactionCurrency_Equipment", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Equipment>("TransactionCurrency_Equipment", "TransactionCurrency_Equipment", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_Fax
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_Fax")]
		public System.Collections.Generic.IEnumerable<Xrm.Fax> TransactionCurrency_Fax
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Fax>("TransactionCurrency_Fax", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Fax>("TransactionCurrency_Fax", "TransactionCurrency_Fax", null, value);
			}
		}
		
		/// <summary>
		/// 1:N transactioncurrency_fixedmonthlyfiscalcalendar
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_fixedmonthlyfiscalcalendar")]
		public System.Collections.Generic.IEnumerable<Xrm.FixedMonthlyFiscalCalendar> transactioncurrency_fixedmonthlyfiscalcalendar
		{
			get
			{
				return this.GetRelatedEntities<Xrm.FixedMonthlyFiscalCalendar>("transactioncurrency_fixedmonthlyfiscalcalendar", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.FixedMonthlyFiscalCalendar>("transactioncurrency_fixedmonthlyfiscalcalendar", "transactioncurrency_fixedmonthlyfiscalcalendar", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_Goal
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_Goal")]
		public System.Collections.Generic.IEnumerable<Xrm.Goal> TransactionCurrency_Goal
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Goal>("TransactionCurrency_Goal", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Goal>("TransactionCurrency_Goal", "TransactionCurrency_Goal", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_Incident
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_Incident")]
		public System.Collections.Generic.IEnumerable<Xrm.Incident> TransactionCurrency_Incident
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Incident>("TransactionCurrency_Incident", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Incident>("TransactionCurrency_Incident", "TransactionCurrency_Incident", null, value);
			}
		}
		
		/// <summary>
		/// 1:N transactioncurrency_invoice
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_invoice")]
		public System.Collections.Generic.IEnumerable<Xrm.Invoice> transactioncurrency_invoice
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Invoice>("transactioncurrency_invoice", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Invoice>("transactioncurrency_invoice", "transactioncurrency_invoice", null, value);
			}
		}
		
		/// <summary>
		/// 1:N transactioncurrency_invoicedetail
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_invoicedetail")]
		public System.Collections.Generic.IEnumerable<Xrm.InvoiceDetail> transactioncurrency_invoicedetail
		{
			get
			{
				return this.GetRelatedEntities<Xrm.InvoiceDetail>("transactioncurrency_invoicedetail", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.InvoiceDetail>("transactioncurrency_invoicedetail", "transactioncurrency_invoicedetail", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_KbArticle
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_KbArticle")]
		public System.Collections.Generic.IEnumerable<Xrm.KbArticle> TransactionCurrency_KbArticle
		{
			get
			{
				return this.GetRelatedEntities<Xrm.KbArticle>("TransactionCurrency_KbArticle", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.KbArticle>("TransactionCurrency_KbArticle", "TransactionCurrency_KbArticle", null, value);
			}
		}
		
		/// <summary>
		/// 1:N transactioncurrency_lead
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_lead")]
		public System.Collections.Generic.IEnumerable<Xrm.Lead> transactioncurrency_lead
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Lead>("transactioncurrency_lead", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Lead>("transactioncurrency_lead", "transactioncurrency_lead", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_LeadAddress
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_LeadAddress")]
		public System.Collections.Generic.IEnumerable<Xrm.LeadAddress> TransactionCurrency_LeadAddress
		{
			get
			{
				return this.GetRelatedEntities<Xrm.LeadAddress>("TransactionCurrency_LeadAddress", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.LeadAddress>("TransactionCurrency_LeadAddress", "TransactionCurrency_LeadAddress", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_Letter
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_Letter")]
		public System.Collections.Generic.IEnumerable<Xrm.Letter> TransactionCurrency_Letter
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Letter>("TransactionCurrency_Letter", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Letter>("TransactionCurrency_Letter", "TransactionCurrency_Letter", null, value);
			}
		}
		
		/// <summary>
		/// 1:N transactioncurrency_list
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_list")]
		public System.Collections.Generic.IEnumerable<Xrm.List> transactioncurrency_list
		{
			get
			{
				return this.GetRelatedEntities<Xrm.List>("transactioncurrency_list", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.List>("transactioncurrency_list", "transactioncurrency_list", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_MailMergeTemplate
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_MailMergeTemplate")]
		public System.Collections.Generic.IEnumerable<Xrm.MailMergeTemplate> TransactionCurrency_MailMergeTemplate
		{
			get
			{
				return this.GetRelatedEntities<Xrm.MailMergeTemplate>("TransactionCurrency_MailMergeTemplate", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.MailMergeTemplate>("TransactionCurrency_MailMergeTemplate", "TransactionCurrency_MailMergeTemplate", null, value);
			}
		}
		
		/// <summary>
		/// 1:N transactioncurrency_monthlyfiscalcalendar
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_monthlyfiscalcalendar")]
		public System.Collections.Generic.IEnumerable<Xrm.MonthlyFiscalCalendar> transactioncurrency_monthlyfiscalcalendar
		{
			get
			{
				return this.GetRelatedEntities<Xrm.MonthlyFiscalCalendar>("transactioncurrency_monthlyfiscalcalendar", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.MonthlyFiscalCalendar>("transactioncurrency_monthlyfiscalcalendar", "transactioncurrency_monthlyfiscalcalendar", null, value);
			}
		}
		
		/// <summary>
		/// 1:N transactioncurrency_opportunity
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_opportunity")]
		public System.Collections.Generic.IEnumerable<Xrm.Opportunity> transactioncurrency_opportunity
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Opportunity>("transactioncurrency_opportunity", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Opportunity>("transactioncurrency_opportunity", "transactioncurrency_opportunity", null, value);
			}
		}
		
		/// <summary>
		/// 1:N transactioncurrency_opportunityclose
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_opportunityclose")]
		public System.Collections.Generic.IEnumerable<Xrm.OpportunityClose> transactioncurrency_opportunityclose
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OpportunityClose>("transactioncurrency_opportunityclose", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OpportunityClose>("transactioncurrency_opportunityclose", "transactioncurrency_opportunityclose", null, value);
			}
		}
		
		/// <summary>
		/// 1:N transactioncurrency_opportunityproduct
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_opportunityproduct")]
		public System.Collections.Generic.IEnumerable<Xrm.OpportunityProduct> transactioncurrency_opportunityproduct
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OpportunityProduct>("transactioncurrency_opportunityproduct", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OpportunityProduct>("transactioncurrency_opportunityproduct", "transactioncurrency_opportunityproduct", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_PhoneCall
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_PhoneCall")]
		public System.Collections.Generic.IEnumerable<Xrm.PhoneCall> TransactionCurrency_PhoneCall
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PhoneCall>("TransactionCurrency_PhoneCall", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PhoneCall>("TransactionCurrency_PhoneCall", "TransactionCurrency_PhoneCall", null, value);
			}
		}
		
		/// <summary>
		/// 1:N transactioncurrency_pricelevel
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_pricelevel")]
		public System.Collections.Generic.IEnumerable<Xrm.PriceLevel> transactioncurrency_pricelevel
		{
			get
			{
				return this.GetRelatedEntities<Xrm.PriceLevel>("transactioncurrency_pricelevel", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.PriceLevel>("transactioncurrency_pricelevel", "transactioncurrency_pricelevel", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_ProcessSessions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_ProcessSessions")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> TransactionCurrency_ProcessSessions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("TransactionCurrency_ProcessSessions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("TransactionCurrency_ProcessSessions", "TransactionCurrency_ProcessSessions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N transactioncurrency_product
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_product")]
		public System.Collections.Generic.IEnumerable<Xrm.Product> transactioncurrency_product
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Product>("transactioncurrency_product", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Product>("transactioncurrency_product", "transactioncurrency_product", null, value);
			}
		}
		
		/// <summary>
		/// 1:N transactioncurrency_productpricelevel
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_productpricelevel")]
		public System.Collections.Generic.IEnumerable<Xrm.ProductPriceLevel> transactioncurrency_productpricelevel
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProductPriceLevel>("transactioncurrency_productpricelevel", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProductPriceLevel>("transactioncurrency_productpricelevel", "transactioncurrency_productpricelevel", null, value);
			}
		}
		
		/// <summary>
		/// 1:N transactioncurrency_quarterlyfiscalcalendar
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_quarterlyfiscalcalendar")]
		public System.Collections.Generic.IEnumerable<Xrm.QuarterlyFiscalCalendar> transactioncurrency_quarterlyfiscalcalendar
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QuarterlyFiscalCalendar>("transactioncurrency_quarterlyfiscalcalendar", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QuarterlyFiscalCalendar>("transactioncurrency_quarterlyfiscalcalendar", "transactioncurrency_quarterlyfiscalcalendar", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_Queue
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_Queue")]
		public System.Collections.Generic.IEnumerable<Xrm.Queue> TransactionCurrency_Queue
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Queue>("TransactionCurrency_Queue", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Queue>("TransactionCurrency_Queue", "TransactionCurrency_Queue", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_QueueItem
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_QueueItem")]
		public System.Collections.Generic.IEnumerable<Xrm.QueueItem> TransactionCurrency_QueueItem
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QueueItem>("TransactionCurrency_QueueItem", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QueueItem>("TransactionCurrency_QueueItem", "TransactionCurrency_QueueItem", null, value);
			}
		}
		
		/// <summary>
		/// 1:N transactioncurrency_quote
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_quote")]
		public System.Collections.Generic.IEnumerable<Xrm.Quote> transactioncurrency_quote
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Quote>("transactioncurrency_quote", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Quote>("transactioncurrency_quote", "transactioncurrency_quote", null, value);
			}
		}
		
		/// <summary>
		/// 1:N transactioncurrency_quotedetail
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_quotedetail")]
		public System.Collections.Generic.IEnumerable<Xrm.QuoteDetail> transactioncurrency_quotedetail
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QuoteDetail>("transactioncurrency_quotedetail", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QuoteDetail>("transactioncurrency_quotedetail", "transactioncurrency_quotedetail", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_RecurringAppointmentMaster
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_RecurringAppointmentMaster")]
		public System.Collections.Generic.IEnumerable<Xrm.RecurringAppointmentMaster> TransactionCurrency_RecurringAppointmentMaster
		{
			get
			{
				return this.GetRelatedEntities<Xrm.RecurringAppointmentMaster>("TransactionCurrency_RecurringAppointmentMaster", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.RecurringAppointmentMaster>("TransactionCurrency_RecurringAppointmentMaster", "TransactionCurrency_RecurringAppointmentMaster", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_ReportCategory
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_ReportCategory")]
		public System.Collections.Generic.IEnumerable<Xrm.ReportCategory> TransactionCurrency_ReportCategory
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ReportCategory>("TransactionCurrency_ReportCategory", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ReportCategory>("TransactionCurrency_ReportCategory", "TransactionCurrency_ReportCategory", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_SalesLiterature
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_SalesLiterature")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesLiterature> TransactionCurrency_SalesLiterature
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesLiterature>("TransactionCurrency_SalesLiterature", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesLiterature>("TransactionCurrency_SalesLiterature", "TransactionCurrency_SalesLiterature", null, value);
			}
		}
		
		/// <summary>
		/// 1:N transactioncurrency_salesorder
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_salesorder")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesOrder> transactioncurrency_salesorder
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesOrder>("transactioncurrency_salesorder", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesOrder>("transactioncurrency_salesorder", "transactioncurrency_salesorder", null, value);
			}
		}
		
		/// <summary>
		/// 1:N transactioncurrency_salesorderdetail
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_salesorderdetail")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesOrderDetail> transactioncurrency_salesorderdetail
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesOrderDetail>("transactioncurrency_salesorderdetail", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesOrderDetail>("transactioncurrency_salesorderdetail", "transactioncurrency_salesorderdetail", null, value);
			}
		}
		
		/// <summary>
		/// 1:N transactioncurrency_semiannualfiscalcalendar
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_semiannualfiscalcalendar")]
		public System.Collections.Generic.IEnumerable<Xrm.SemiAnnualFiscalCalendar> transactioncurrency_semiannualfiscalcalendar
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SemiAnnualFiscalCalendar>("transactioncurrency_semiannualfiscalcalendar", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SemiAnnualFiscalCalendar>("transactioncurrency_semiannualfiscalcalendar", "transactioncurrency_semiannualfiscalcalendar", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_ServiceAppointment
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_ServiceAppointment")]
		public System.Collections.Generic.IEnumerable<Xrm.ServiceAppointment> TransactionCurrency_ServiceAppointment
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ServiceAppointment>("TransactionCurrency_ServiceAppointment", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ServiceAppointment>("TransactionCurrency_ServiceAppointment", "TransactionCurrency_ServiceAppointment", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_SharePointDocumentLocation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_SharePointDocumentLocation")]
		public System.Collections.Generic.IEnumerable<Xrm.SharePointDocumentLocation> TransactionCurrency_SharePointDocumentLocation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SharePointDocumentLocation>("TransactionCurrency_SharePointDocumentLocation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SharePointDocumentLocation>("TransactionCurrency_SharePointDocumentLocation", "TransactionCurrency_SharePointDocumentLocation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_SharePointSite
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_SharePointSite")]
		public System.Collections.Generic.IEnumerable<Xrm.SharePointSite> TransactionCurrency_SharePointSite
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SharePointSite>("TransactionCurrency_SharePointSite", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SharePointSite>("TransactionCurrency_SharePointSite", "TransactionCurrency_SharePointSite", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_SystemUser
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_SystemUser")]
		public System.Collections.Generic.IEnumerable<Xrm.SystemUser> TransactionCurrency_SystemUser
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SystemUser>("TransactionCurrency_SystemUser", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SystemUser>("TransactionCurrency_SystemUser", "TransactionCurrency_SystemUser", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_Task
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_Task")]
		public System.Collections.Generic.IEnumerable<Xrm.Task> TransactionCurrency_Task
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Task>("TransactionCurrency_Task", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Task>("TransactionCurrency_Task", "TransactionCurrency_Task", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_Team
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_Team")]
		public System.Collections.Generic.IEnumerable<Xrm.Team> TransactionCurrency_Team
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Team>("TransactionCurrency_Team", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Team>("TransactionCurrency_Team", "TransactionCurrency_Team", null, value);
			}
		}
		
		/// <summary>
		/// 1:N TransactionCurrency_Territory
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransactionCurrency_Territory")]
		public System.Collections.Generic.IEnumerable<Xrm.Territory> TransactionCurrency_Territory
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Territory>("TransactionCurrency_Territory", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Territory>("TransactionCurrency_Territory", "TransactionCurrency_Territory", null, value);
			}
		}
		
		/// <summary>
		/// 1:N transactioncurrency_usersettings
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_usersettings")]
		public System.Collections.Generic.IEnumerable<Xrm.UserSettings> transactioncurrency_usersettings
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserSettings>("transactioncurrency_usersettings", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserSettings>("transactioncurrency_usersettings", "transactioncurrency_usersettings", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_transactioncurrency
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_transactioncurrency")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_transactioncurrency
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_transactioncurrency", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_transactioncurrency", "userentityinstancedata_transactioncurrency", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_transactioncurrency_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_transactioncurrency_createdonbehalfby")]
		public Xrm.SystemUser lk_transactioncurrency_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_transactioncurrency_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_transactioncurrency_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_transactioncurrency_modifiedonbehalfby")]
		public Xrm.SystemUser lk_transactioncurrency_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_transactioncurrency_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_transactioncurrencybase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_transactioncurrencybase_createdby")]
		public Xrm.SystemUser lk_transactioncurrencybase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_transactioncurrencybase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_transactioncurrencybase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_transactioncurrencybase_modifiedby")]
		public Xrm.SystemUser lk_transactioncurrencybase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_transactioncurrencybase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_transactioncurrencies
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_transactioncurrencies")]
		public Xrm.Organization organization_transactioncurrencies
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_transactioncurrencies", null);
			}
		}
	}
	
	/// <summary>
	/// Mapowanie transformacji atrybutów źródłowych w mapowaniu danych do atrybutów programu Microsoft Dynamics CRM.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("transformationmapping")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("TransformationMappingSet")]
	public partial class TransformationMapping : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public TransformationMapping() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "transformationmapping";
		
		public const int EntityTypeCode = 4426;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył mapowanie transformacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia mapowania transformacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył mapowanie transformacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego mapowania danych.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importmapid")]
		public Microsoft.Xrm.Client.CrmEntityReference ImportMapId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("importmapid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ImportMapId", "importmapid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował mapowanie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji mapowania transformacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował mapowanie transformacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy wymagane jest przetworzenie mapowania transformacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("processcode")]
		public System.Nullable<int> ProcessCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("processcode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ProcessCode", "processcode", value);
			}
		}
		
		/// <summary>
		/// Nazwa encji źródłowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sourceentityname")]
		public string SourceEntityName
		{
			get
			{
				return this.GetAttributeValue<string>("sourceentityname");
			}
			set
			{
				this.SetAttributeValue<string>("SourceEntityName", "sourceentityname", value);
			}
		}
		
		/// <summary>
		/// Stan mapowania transformacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu mapowania transformacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Nazwa encji programu Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("targetentityname")]
		public string TargetEntityName
		{
			get
			{
				return this.GetAttributeValue<string>("targetentityname");
			}
			set
			{
				this.SetAttributeValue<string>("TargetEntityName", "targetentityname", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator mapowania transformacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transformationmappingid")]
		public System.Nullable<System.Guid> TransformationMappingId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("transformationmappingid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("TransformationMappingId", "transformationmappingid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transformationmappingid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.TransformationMappingId = value;
			}
		}
		
		/// <summary>
		/// Typ transformacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transformationtypename")]
		public string TransformationTypeName
		{
			get
			{
				return this.GetAttributeValue<string>("transformationtypename");
			}
			set
			{
				this.SetAttributeValue<string>("TransformationTypeName", "transformationtypename", value);
			}
		}
		
		/// <summary>
		/// 1:N TransformationParameterMapping_TransformationMapping
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransformationParameterMapping_TransformationMapping")]
		public System.Collections.Generic.IEnumerable<Xrm.TransformationParameterMapping> TransformationParameterMapping_TransformationMapping
		{
			get
			{
				return this.GetRelatedEntities<Xrm.TransformationParameterMapping>("TransformationParameterMapping_TransformationMapping", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.TransformationParameterMapping>("TransformationParameterMapping_TransformationMapping", "TransformationParameterMapping_TransformationMapping", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_transformationmapping
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_transformationmapping")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_transformationmapping
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_transformationmapping", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_transformationmapping", "userentityinstancedata_transformationmapping", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_transformationmapping_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_transformationmapping_createdby")]
		public Xrm.SystemUser lk_transformationmapping_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_transformationmapping_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_transformationmapping_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_transformationmapping_createdonbehalfby")]
		public Xrm.SystemUser lk_transformationmapping_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_transformationmapping_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_transformationmapping_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_transformationmapping_modifiedby")]
		public Xrm.SystemUser lk_transformationmapping_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_transformationmapping_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_transformationmapping_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_transformationmapping_modifiedonbehalfby")]
		public Xrm.SystemUser lk_transformationmapping_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_transformationmapping_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 TransformationMapping_ImportMap
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importmapid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransformationMapping_ImportMap")]
		public Xrm.ImportMap TransformationMapping_ImportMap
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ImportMap>("TransformationMapping_ImportMap", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ImportMap>("TransformationMapping_ImportMap", "TransformationMapping_ImportMap", null, value);
			}
		}
	}
	
	/// <summary>
	/// Definiuje parametry transformacji w mapowaniu danych.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("transformationparametermapping")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("TransformationParameterMappingSet")]
	public partial class TransformationParameterMapping : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public TransformationParameterMapping() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "transformationparametermapping";
		
		public const int EntityTypeCode = 4427;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył mapowanie parametru.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia mapowania parametru transformacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył mapowanie parametru transformacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Dane transformacji dla parametru transformacji
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("data")]
		public string Data
		{
			get
			{
				return this.GetAttributeValue<string>("data");
			}
			set
			{
				this.SetAttributeValue<string>("Data", "data", value);
			}
		}
		
		/// <summary>
		/// Typ danych dla parametru transformacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("datatypecode")]
		public System.Nullable<int> DataTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("datatypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("DataTypeCode", "datatypecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował mapowanie parametru transformacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji mapowania parametru transformacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował mapowanie parametru transformacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Indeks tablicy w przypadku, gdy parametr wejściowy jest tablicą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parameterarrayindex")]
		public System.Nullable<int> ParameterArrayIndex
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("parameterarrayindex");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ParameterArrayIndex", "parameterarrayindex", value);
			}
		}
		
		/// <summary>
		/// Numer sekwencji parametru.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parametersequence")]
		public System.Nullable<int> ParameterSequence
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("parametersequence");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ParameterSequence", "parametersequence", value);
			}
		}
		
		/// <summary>
		/// Typ parametru transformacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parametertypecode")]
		public System.Nullable<int> ParameterTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("parametertypecode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ParameterTypeCode", "parametertypecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator transformacji, z którą skojarzony jest parametr.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transformationmappingid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransformationMappingId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transformationmappingid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransformationMappingId", "transformationmappingid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator mapowania parametru transformacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transformationparametermappingid")]
		public System.Nullable<System.Guid> TransformationParameterMappingId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("transformationparametermappingid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("TransformationParameterMappingId", "transformationparametermappingid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transformationparametermappingid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.TransformationParameterMappingId = value;
			}
		}
		
		/// <summary>
		/// 1:N LookUpMapping_TransformationParameterMapping
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("LookUpMapping_TransformationParameterMapping")]
		public System.Collections.Generic.IEnumerable<Xrm.LookUpMapping> LookUpMapping_TransformationParameterMapping
		{
			get
			{
				return this.GetRelatedEntities<Xrm.LookUpMapping>("LookUpMapping_TransformationParameterMapping", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.LookUpMapping>("LookUpMapping_TransformationParameterMapping", "LookUpMapping_TransformationParameterMapping", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_transformationparametermapping
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_transformationparametermapping")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_transformationparametermapping
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_transformationparametermapping", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_transformationparametermapping", "userentityinstancedata_transformationparametermapping", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_transformationparametermapping_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_transformationparametermapping_createdby")]
		public Xrm.SystemUser lk_transformationparametermapping_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_transformationparametermapping_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_transformationparametermapping_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_transformationparametermapping_createdonbehalfby")]
		public Xrm.SystemUser lk_transformationparametermapping_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_transformationparametermapping_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_transformationparametermapping_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_transformationparametermapping_modifiedby")]
		public Xrm.SystemUser lk_transformationparametermapping_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_transformationparametermapping_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_transformationparametermapping_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_transformationparametermapping_modifiedonbehalfby")]
		public Xrm.SystemUser lk_transformationparametermapping_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_transformationparametermapping_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 TransformationParameterMapping_TransformationMapping
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transformationmappingid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("TransformationParameterMapping_TransformationMapping")]
		public Xrm.TransformationMapping TransformationParameterMapping_TransformationMapping
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransformationMapping>("TransformationParameterMapping_TransformationMapping", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransformationMapping>("TransformationParameterMapping_TransformationMapping", "TransformationParameterMapping_TransformationMapping", null, value);
			}
		}
	}
	
	/// <summary>
	/// Jednostka miary.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("uom")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("UoMSet")]
	public partial class UoM : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public UoM() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "uom";
		
		public const int EntityTypeCode = 1055;
		
		/// <summary>
		/// Unikatowy identyfikator jednostki bazowej produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baseuom")]
		public Microsoft.Xrm.Client.CrmEntityReference BaseUoM
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("baseuom");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("BaseUoM", "baseuom", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył jednostkę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia jednostki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył jednostkę miary.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy jednostka jest jednostką bazową grupy jednostek.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isschedulebaseuom")]
		public System.Nullable<bool> IsScheduleBaseUoM
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isschedulebaseuom");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował jednostkę.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji jednostki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował jednostkę miary.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa jednostki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z jednostką miary.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public System.Nullable<System.Guid> OrganizationId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("organizationid");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Jednostkowa ilość produktu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("quantity")]
		public System.Nullable<decimal> Quantity
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<decimal>>("quantity");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<decimal>>("Quantity", "quantity", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("uomid")]
		public System.Nullable<System.Guid> UoMId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("uomid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("UoMId", "uomid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("uomid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.UoMId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator grupy jednostek, z którą jest skojarzona jednostka.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("uomscheduleid")]
		public Microsoft.Xrm.Client.CrmEntityReference UoMScheduleId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("uomscheduleid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("UoMScheduleId", "uomscheduleid", value);
			}
		}
		
		/// <summary>
		/// Numer wersji jednostki.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N unit_of_measurement_base_unit
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("unit_of_measurement_base_unit", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.UoM> Referencedunit_of_measurement_base_unit
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UoM>("unit_of_measurement_base_unit", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UoM>("Referencedunit_of_measurement_base_unit", "unit_of_measurement_base_unit", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// 1:N unit_of_measurement_contract_line_items
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("unit_of_measurement_contract_line_items")]
		public System.Collections.Generic.IEnumerable<Xrm.ContractDetail> unit_of_measurement_contract_line_items
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ContractDetail>("unit_of_measurement_contract_line_items", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ContractDetail>("unit_of_measurement_contract_line_items", "unit_of_measurement_contract_line_items", null, value);
			}
		}
		
		/// <summary>
		/// 1:N unit_of_measurement_invoice_details
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("unit_of_measurement_invoice_details")]
		public System.Collections.Generic.IEnumerable<Xrm.InvoiceDetail> unit_of_measurement_invoice_details
		{
			get
			{
				return this.GetRelatedEntities<Xrm.InvoiceDetail>("unit_of_measurement_invoice_details", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.InvoiceDetail>("unit_of_measurement_invoice_details", "unit_of_measurement_invoice_details", null, value);
			}
		}
		
		/// <summary>
		/// 1:N unit_of_measurement_opportunity_products
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("unit_of_measurement_opportunity_products")]
		public System.Collections.Generic.IEnumerable<Xrm.OpportunityProduct> unit_of_measurement_opportunity_products
		{
			get
			{
				return this.GetRelatedEntities<Xrm.OpportunityProduct>("unit_of_measurement_opportunity_products", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.OpportunityProduct>("unit_of_measurement_opportunity_products", "unit_of_measurement_opportunity_products", null, value);
			}
		}
		
		/// <summary>
		/// 1:N unit_of_measurement_order_details
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("unit_of_measurement_order_details")]
		public System.Collections.Generic.IEnumerable<Xrm.SalesOrderDetail> unit_of_measurement_order_details
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SalesOrderDetail>("unit_of_measurement_order_details", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SalesOrderDetail>("unit_of_measurement_order_details", "unit_of_measurement_order_details", null, value);
			}
		}
		
		/// <summary>
		/// 1:N unit_of_measurement_product_price_levels
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("unit_of_measurement_product_price_levels")]
		public System.Collections.Generic.IEnumerable<Xrm.ProductPriceLevel> unit_of_measurement_product_price_levels
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProductPriceLevel>("unit_of_measurement_product_price_levels", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProductPriceLevel>("unit_of_measurement_product_price_levels", "unit_of_measurement_product_price_levels", null, value);
			}
		}
		
		/// <summary>
		/// 1:N unit_of_measurement_products
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("unit_of_measurement_products")]
		public System.Collections.Generic.IEnumerable<Xrm.Product> unit_of_measurement_products
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Product>("unit_of_measurement_products", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Product>("unit_of_measurement_products", "unit_of_measurement_products", null, value);
			}
		}
		
		/// <summary>
		/// 1:N unit_of_measurement_quote_details
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("unit_of_measurement_quote_details")]
		public System.Collections.Generic.IEnumerable<Xrm.QuoteDetail> unit_of_measurement_quote_details
		{
			get
			{
				return this.GetRelatedEntities<Xrm.QuoteDetail>("unit_of_measurement_quote_details", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.QuoteDetail>("unit_of_measurement_quote_details", "unit_of_measurement_quote_details", null, value);
			}
		}
		
		/// <summary>
		/// 1:N UoM_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("UoM_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> UoM_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("UoM_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("UoM_AsyncOperations", "UoM_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N UoM_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("UoM_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> UoM_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("UoM_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("UoM_BulkDeleteFailures", "UoM_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_uom
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_uom")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_uom
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_uom", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_uom", "userentityinstancedata_uom", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_uom_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_uom_createdonbehalfby")]
		public Xrm.SystemUser lk_uom_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_uom_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_uom_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_uom_modifiedonbehalfby")]
		public Xrm.SystemUser lk_uom_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_uom_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_uombase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_uombase_createdby")]
		public Xrm.SystemUser lk_uombase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_uombase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_uombase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_uombase_modifiedby")]
		public Xrm.SystemUser lk_uombase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_uombase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 unit_of_measure_schedule_conversions
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("uomscheduleid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("unit_of_measure_schedule_conversions")]
		public Xrm.UoMSchedule unit_of_measure_schedule_conversions
		{
			get
			{
				return this.GetRelatedEntity<Xrm.UoMSchedule>("unit_of_measure_schedule_conversions", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.UoMSchedule>("unit_of_measure_schedule_conversions", "unit_of_measure_schedule_conversions", null, value);
			}
		}
		
		/// <summary>
		/// N:1 unit_of_measurement_base_unit
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baseuom")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("unit_of_measurement_base_unit", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.UoM Referencingunit_of_measurement_base_unit
		{
			get
			{
				return this.GetRelatedEntity<Xrm.UoM>("unit_of_measurement_base_unit", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
			set
			{
				this.SetRelatedEntity<Xrm.UoM>("Referencingunit_of_measurement_base_unit", "unit_of_measurement_base_unit", Microsoft.Xrm.Sdk.EntityRole.Referencing, value);
			}
		}
	}
	
	/// <summary>
	/// Zbiór jednostek.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("uomschedule")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("UoMScheduleSet")]
	public partial class UoMSchedule : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public UoMSchedule() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "uomschedule";
		
		public const int EntityTypeCode = 1056;
		
		/// <summary>
		/// Nazwa jednostki bazowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("baseuomname")]
		public string BaseUoMName
		{
			get
			{
				return this.GetAttributeValue<string>("baseuomname");
			}
			set
			{
				this.SetAttributeValue<string>("BaseUoMName", "baseuomname", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył grupę jednostek.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia grupy jednostek.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył harmonogram jednostek miar.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis grupy jednostek.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator operacji importu lub migracji danych, która spowodowała utworzenie tego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
		public System.Nullable<int> ImportSequenceNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ImportSequenceNumber", "importsequencenumber", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował grupę jednostek.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji grupy jednostek.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował harmonogram jednostek miar.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa grupy jednostek.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z grupą jednostek.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Data i godzina migracji rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
		public System.Nullable<System.DateTime> OverriddenCreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("OverriddenCreatedOn", "overriddencreatedon", value);
			}
		}
		
		/// <summary>
		/// Stan grupy jednostek.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu grupy jednostek.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator grupy jednostek.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("uomscheduleid")]
		public System.Nullable<System.Guid> UoMScheduleId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("uomscheduleid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("UoMScheduleId", "uomscheduleid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("uomscheduleid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.UoMScheduleId = value;
			}
		}
		
		/// <summary>
		/// Numer wersji grupy jednostek
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N contract_detail_unit_of_measure_schedule
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("contract_detail_unit_of_measure_schedule")]
		public System.Collections.Generic.IEnumerable<Xrm.ContractDetail> contract_detail_unit_of_measure_schedule
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ContractDetail>("contract_detail_unit_of_measure_schedule", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ContractDetail>("contract_detail_unit_of_measure_schedule", "contract_detail_unit_of_measure_schedule", null, value);
			}
		}
		
		/// <summary>
		/// 1:N unit_of_measure_schedule_conversions
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("unit_of_measure_schedule_conversions")]
		public System.Collections.Generic.IEnumerable<Xrm.UoM> unit_of_measure_schedule_conversions
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UoM>("unit_of_measure_schedule_conversions", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UoM>("unit_of_measure_schedule_conversions", "unit_of_measure_schedule_conversions", null, value);
			}
		}
		
		/// <summary>
		/// 1:N unit_of_measure_schedule_product_price_level
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("unit_of_measure_schedule_product_price_level")]
		public System.Collections.Generic.IEnumerable<Xrm.ProductPriceLevel> unit_of_measure_schedule_product_price_level
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProductPriceLevel>("unit_of_measure_schedule_product_price_level", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProductPriceLevel>("unit_of_measure_schedule_product_price_level", "unit_of_measure_schedule_product_price_level", null, value);
			}
		}
		
		/// <summary>
		/// 1:N unit_of_measurement_schedule_products
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("unit_of_measurement_schedule_products")]
		public System.Collections.Generic.IEnumerable<Xrm.Product> unit_of_measurement_schedule_products
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Product>("unit_of_measurement_schedule_products", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Product>("unit_of_measurement_schedule_products", "unit_of_measurement_schedule_products", null, value);
			}
		}
		
		/// <summary>
		/// 1:N UoMSchedule_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("UoMSchedule_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> UoMSchedule_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("UoMSchedule_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("UoMSchedule_AsyncOperations", "UoMSchedule_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N UoMSchedule_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("UoMSchedule_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> UoMSchedule_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("UoMSchedule_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("UoMSchedule_BulkDeleteFailures", "UoMSchedule_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_uomschedule
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_uomschedule")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_uomschedule
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_uomschedule", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_uomschedule", "userentityinstancedata_uomschedule", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_uomschedule_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_uomschedule_createdonbehalfby")]
		public Xrm.SystemUser lk_uomschedule_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_uomschedule_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_uomschedule_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_uomschedule_modifiedonbehalfby")]
		public Xrm.SystemUser lk_uomschedule_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_uomschedule_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_uomschedulebase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_uomschedulebase_createdby")]
		public Xrm.SystemUser lk_uomschedulebase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_uomschedulebase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_uomschedulebase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_uomschedulebase_modifiedby")]
		public Xrm.SystemUser lk_uomschedulebase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_uomschedulebase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 organization_uof_schedules
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("organization_uof_schedules")]
		public Xrm.Organization organization_uof_schedules
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("organization_uof_schedules", null);
			}
		}
	}
	
	/// <summary>
	/// Dane wystąpienia elementu na użytkownika
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("userentityinstancedata")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("UserEntityInstanceDataSet")]
	public partial class UserEntityInstanceData : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public UserEntityInstanceData() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "userentityinstancedata";
		
		public const int EntityTypeCode = 2501;
		
		/// <summary>
		/// Wspólna data zakończenia
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("commonend")]
		public System.Nullable<System.DateTime> CommonEnd
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("commonend");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("CommonEnd", "commonend", value);
			}
		}
		
		/// <summary>
		/// Wspólna data rozpoczęcia
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("commonstart")]
		public System.Nullable<System.DateTime> CommonStart
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("commonstart");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("CommonStart", "commonstart", value);
			}
		}
		
		/// <summary>
		/// Data ukończenia
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("duedate")]
		public System.Nullable<System.DateTime> DueDate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("duedate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("DueDate", "duedate", value);
			}
		}
		
		/// <summary>
		/// Oznacz wymagane według
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("flagdueby")]
		public System.Nullable<System.DateTime> FlagDueBy
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("flagdueby");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("FlagDueBy", "flagdueby", value);
			}
		}
		
		/// <summary>
		/// Żądanie flagi
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("flagrequest")]
		public string FlagRequest
		{
			get
			{
				return this.GetAttributeValue<string>("flagrequest");
			}
			set
			{
				this.SetAttributeValue<string>("FlagRequest", "flagrequest", value);
			}
		}
		
		/// <summary>
		/// Stan flagi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("flagstatus")]
		public System.Nullable<int> FlagStatus
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("flagstatus");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("FlagStatus", "flagstatus", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator rekordu źródłowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		public Microsoft.Xrm.Client.CrmEntityReference ObjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("objectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ObjectId", "objectid", value);
			}
		}
		
		/// <summary>
		/// Kod typu obiektu
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objecttypecode")]
		public System.Nullable<int> ObjectTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("objecttypecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ObjectTypeCode", "objecttypecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, do którego należą dane wystąpienia encji użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, do której to należy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, do którego należy ten obiekt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, do którego należy ten obiekt.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Kategorie osobiste
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("personalcategories")]
		public string PersonalCategories
		{
			get
			{
				return this.GetAttributeValue<string>("personalcategories");
			}
			set
			{
				this.SetAttributeValue<string>("PersonalCategories", "personalcategories", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy dla tego obiektu jest ustawione przypomnienie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reminderset")]
		public System.Nullable<bool> ReminderSet
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("reminderset");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("ReminderSet", "reminderset", value);
			}
		}
		
		/// <summary>
		/// Czas przypomnienia
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("remindertime")]
		public System.Nullable<System.DateTime> ReminderTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("remindertime");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ReminderTime", "remindertime", value);
			}
		}
		
		/// <summary>
		/// Godzina rozpoczęcia
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("starttime")]
		public System.Nullable<System.DateTime> StartTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("starttime");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("StartTime", "starttime", value);
			}
		}
		
		/// <summary>
		/// Flagi elementu do wykonania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("todoitemflags")]
		public System.Nullable<int> ToDoItemFlags
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("todoitemflags");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ToDoItemFlags", "todoitemflags", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("todoordinaldate")]
		public System.Nullable<System.DateTime> ToDoOrdinalDate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("todoordinaldate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("ToDoOrdinalDate", "todoordinaldate", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("todosubordinal")]
		public string ToDoSubOrdinal
		{
			get
			{
				return this.GetAttributeValue<string>("todosubordinal");
			}
			set
			{
				this.SetAttributeValue<string>("ToDoSubOrdinal", "todosubordinal", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("todotitle")]
		public string ToDoTitle
		{
			get
			{
				return this.GetAttributeValue<string>("todotitle");
			}
			set
			{
				this.SetAttributeValue<string>("ToDoTitle", "todotitle", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator encji użytkownika
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userentityinstancedataid")]
		public System.Nullable<System.Guid> UserEntityInstanceDataId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("userentityinstancedataid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("UserEntityInstanceDataId", "userentityinstancedataid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userentityinstancedataid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.UserEntityInstanceDataId = value;
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postalbum_UserEntityInstanceDatas
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postalbum_UserEntityInstanceDatas")]
		public Xrm.msdyn_PostAlbum msdyn_postalbum_UserEntityInstanceDatas
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_UserEntityInstanceDatas", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.msdyn_PostAlbum>("msdyn_postalbum_UserEntityInstanceDatas", "msdyn_postalbum_UserEntityInstanceDatas", null, value);
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postconfig_UserEntityInstanceDatas
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postconfig_UserEntityInstanceDatas")]
		public Xrm.msdyn_PostConfig msdyn_postconfig_UserEntityInstanceDatas
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostConfig>("msdyn_postconfig_UserEntityInstanceDatas", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.msdyn_PostConfig>("msdyn_postconfig_UserEntityInstanceDatas", "msdyn_postconfig_UserEntityInstanceDatas", null, value);
			}
		}
		
		/// <summary>
		/// N:1 msdyn_postruleconfig_UserEntityInstanceDatas
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("msdyn_postruleconfig_UserEntityInstanceDatas")]
		public Xrm.msdyn_PostRuleConfig msdyn_postruleconfig_UserEntityInstanceDatas
		{
			get
			{
				return this.GetRelatedEntity<Xrm.msdyn_PostRuleConfig>("msdyn_postruleconfig_UserEntityInstanceDatas", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.msdyn_PostRuleConfig>("msdyn_postruleconfig_UserEntityInstanceDatas", "msdyn_postruleconfig_UserEntityInstanceDatas", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownicy_UserEntityInstanceDatas
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownicy_UserEntityInstanceDatas")]
		public Xrm.new_uzytkownicy new_uzytkownicy_UserEntityInstanceDatas
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_UserEntityInstanceDatas", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownicy>("new_uzytkownicy_UserEntityInstanceDatas", "new_uzytkownicy_UserEntityInstanceDatas", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_uzytkownikkontakty_UserEntityInstanceDatas
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_uzytkownikkontakty_UserEntityInstanceDatas")]
		public Xrm.new_uzytkownikkontakty new_uzytkownikkontakty_UserEntityInstanceDatas
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_UserEntityInstanceDatas", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_uzytkownikkontakty>("new_uzytkownikkontakty_UserEntityInstanceDatas", "new_uzytkownikkontakty_UserEntityInstanceDatas", null, value);
			}
		}
		
		/// <summary>
		/// N:1 new_zainteresowanie_UserEntityInstanceDatas
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("new_zainteresowanie_UserEntityInstanceDatas")]
		public Xrm.new_zainteresowanie new_zainteresowanie_UserEntityInstanceDatas
		{
			get
			{
				return this.GetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_UserEntityInstanceDatas", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.new_zainteresowanie>("new_zainteresowanie_UserEntityInstanceDatas", "new_zainteresowanie_UserEntityInstanceDatas", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_userentityinstancedata
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_userentityinstancedata")]
		public Xrm.Team team_userentityinstancedata
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_userentityinstancedata", null);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_account
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_account")]
		public Xrm.Account userentityinstancedata_account
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Account>("userentityinstancedata_account", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Account>("userentityinstancedata_account", "userentityinstancedata_account", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_activitymimeattachment
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_activitymimeattachment")]
		public Xrm.ActivityMimeAttachment userentityinstancedata_activitymimeattachment
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityMimeAttachment>("userentityinstancedata_activitymimeattachment", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ActivityMimeAttachment>("userentityinstancedata_activitymimeattachment", "userentityinstancedata_activitymimeattachment", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_activityparty
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_activityparty")]
		public Xrm.ActivityParty userentityinstancedata_activityparty
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ActivityParty>("userentityinstancedata_activityparty", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ActivityParty>("userentityinstancedata_activityparty", "userentityinstancedata_activityparty", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_annotation")]
		public Xrm.Annotation userentityinstancedata_annotation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Annotation>("userentityinstancedata_annotation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Annotation>("userentityinstancedata_annotation", "userentityinstancedata_annotation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_appointment
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_appointment")]
		public Xrm.Appointment userentityinstancedata_appointment
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Appointment>("userentityinstancedata_appointment", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Appointment>("userentityinstancedata_appointment", "userentityinstancedata_appointment", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_asyncoperation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_asyncoperation")]
		public Xrm.AsyncOperation userentityinstancedata_asyncoperation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.AsyncOperation>("userentityinstancedata_asyncoperation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.AsyncOperation>("userentityinstancedata_asyncoperation", "userentityinstancedata_asyncoperation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_attributemap
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_attributemap")]
		public Xrm.AttributeMap userentityinstancedata_attributemap
		{
			get
			{
				return this.GetRelatedEntity<Xrm.AttributeMap>("userentityinstancedata_attributemap", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.AttributeMap>("userentityinstancedata_attributemap", "userentityinstancedata_attributemap", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_audit
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_audit")]
		public Xrm.Audit userentityinstancedata_audit
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Audit>("userentityinstancedata_audit", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Audit>("userentityinstancedata_audit", "userentityinstancedata_audit", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_bulkdeletefailure
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_bulkdeletefailure")]
		public Xrm.BulkDeleteFailure userentityinstancedata_bulkdeletefailure
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BulkDeleteFailure>("userentityinstancedata_bulkdeletefailure", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BulkDeleteFailure>("userentityinstancedata_bulkdeletefailure", "userentityinstancedata_bulkdeletefailure", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_bulkdeleteoperation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_bulkdeleteoperation")]
		public Xrm.BulkDeleteOperation userentityinstancedata_bulkdeleteoperation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BulkDeleteOperation>("userentityinstancedata_bulkdeleteoperation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BulkDeleteOperation>("userentityinstancedata_bulkdeleteoperation", "userentityinstancedata_bulkdeleteoperation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_bulkoperation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_bulkoperation")]
		public Xrm.BulkOperation userentityinstancedata_bulkoperation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BulkOperation>("userentityinstancedata_bulkoperation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BulkOperation>("userentityinstancedata_bulkoperation", "userentityinstancedata_bulkoperation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_bulkoperationlog
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_bulkoperationlog")]
		public Xrm.BulkOperationLog userentityinstancedata_bulkoperationlog
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BulkOperationLog>("userentityinstancedata_bulkoperationlog", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BulkOperationLog>("userentityinstancedata_bulkoperationlog", "userentityinstancedata_bulkoperationlog", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_businessunit
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_businessunit")]
		public Xrm.BusinessUnit userentityinstancedata_businessunit
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("userentityinstancedata_businessunit", null);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_businessunitnewsarticle
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_businessunitnewsarticle")]
		public Xrm.BusinessUnitNewsArticle userentityinstancedata_businessunitnewsarticle
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnitNewsArticle>("userentityinstancedata_businessunitnewsarticle", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BusinessUnitNewsArticle>("userentityinstancedata_businessunitnewsarticle", "userentityinstancedata_businessunitnewsarticle", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_calendar
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_calendar")]
		public Xrm.Calendar userentityinstancedata_calendar
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Calendar>("userentityinstancedata_calendar", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Calendar>("userentityinstancedata_calendar", "userentityinstancedata_calendar", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_campaign
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_campaign")]
		public Xrm.Campaign userentityinstancedata_campaign
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Campaign>("userentityinstancedata_campaign", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Campaign>("userentityinstancedata_campaign", "userentityinstancedata_campaign", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_campaignactivity
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_campaignactivity")]
		public Xrm.CampaignActivity userentityinstancedata_campaignactivity
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignActivity>("userentityinstancedata_campaignactivity", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CampaignActivity>("userentityinstancedata_campaignactivity", "userentityinstancedata_campaignactivity", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_campaignactivityitem
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_campaignactivityitem")]
		public Xrm.CampaignActivityItem userentityinstancedata_campaignactivityitem
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignActivityItem>("userentityinstancedata_campaignactivityitem", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CampaignActivityItem>("userentityinstancedata_campaignactivityitem", "userentityinstancedata_campaignactivityitem", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_campaignitem
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_campaignitem")]
		public Xrm.CampaignItem userentityinstancedata_campaignitem
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignItem>("userentityinstancedata_campaignitem", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CampaignItem>("userentityinstancedata_campaignitem", "userentityinstancedata_campaignitem", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_campaignresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_campaignresponse")]
		public Xrm.CampaignResponse userentityinstancedata_campaignresponse
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CampaignResponse>("userentityinstancedata_campaignresponse", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CampaignResponse>("userentityinstancedata_campaignresponse", "userentityinstancedata_campaignresponse", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_columnmapping
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_columnmapping")]
		public Xrm.ColumnMapping userentityinstancedata_columnmapping
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ColumnMapping>("userentityinstancedata_columnmapping", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ColumnMapping>("userentityinstancedata_columnmapping", "userentityinstancedata_columnmapping", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_competitor
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_competitor")]
		public Xrm.Competitor userentityinstancedata_competitor
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Competitor>("userentityinstancedata_competitor", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Competitor>("userentityinstancedata_competitor", "userentityinstancedata_competitor", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_competitorproduct
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_competitorproduct")]
		public Xrm.CompetitorProduct userentityinstancedata_competitorproduct
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CompetitorProduct>("userentityinstancedata_competitorproduct", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CompetitorProduct>("userentityinstancedata_competitorproduct", "userentityinstancedata_competitorproduct", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_competitorsalesliterature
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_competitorsalesliterature")]
		public Xrm.CompetitorSalesLiterature userentityinstancedata_competitorsalesliterature
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CompetitorSalesLiterature>("userentityinstancedata_competitorsalesliterature", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CompetitorSalesLiterature>("userentityinstancedata_competitorsalesliterature", "userentityinstancedata_competitorsalesliterature", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_connection
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_connection")]
		public Xrm.Connection userentityinstancedata_connection
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Connection>("userentityinstancedata_connection", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Connection>("userentityinstancedata_connection", "userentityinstancedata_connection", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_connectionrole
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_connectionrole")]
		public Xrm.ConnectionRole userentityinstancedata_connectionrole
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ConnectionRole>("userentityinstancedata_connectionrole", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ConnectionRole>("userentityinstancedata_connectionrole", "userentityinstancedata_connectionrole", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_connectionroleassociation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_connectionroleassociation")]
		public Xrm.ConnectionRoleAssociation userentityinstancedata_connectionroleassociation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ConnectionRoleAssociation>("userentityinstancedata_connectionroleassociation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ConnectionRoleAssociation>("userentityinstancedata_connectionroleassociation", "userentityinstancedata_connectionroleassociation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_connectionroleobjecttypecode
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_connectionroleobjecttypecode")]
		public Xrm.ConnectionRoleObjectTypeCode userentityinstancedata_connectionroleobjecttypecode
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ConnectionRoleObjectTypeCode>("userentityinstancedata_connectionroleobjecttypecode", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ConnectionRoleObjectTypeCode>("userentityinstancedata_connectionroleobjecttypecode", "userentityinstancedata_connectionroleobjecttypecode", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_constraintbasedgroup
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_constraintbasedgroup")]
		public Xrm.ConstraintBasedGroup userentityinstancedata_constraintbasedgroup
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ConstraintBasedGroup>("userentityinstancedata_constraintbasedgroup", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ConstraintBasedGroup>("userentityinstancedata_constraintbasedgroup", "userentityinstancedata_constraintbasedgroup", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_contact
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_contact")]
		public Xrm.Contact userentityinstancedata_contact
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contact>("userentityinstancedata_contact", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contact>("userentityinstancedata_contact", "userentityinstancedata_contact", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_contract
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_contract")]
		public Xrm.Contract userentityinstancedata_contract
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Contract>("userentityinstancedata_contract", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Contract>("userentityinstancedata_contract", "userentityinstancedata_contract", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_contractdetail
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_contractdetail")]
		public Xrm.ContractDetail userentityinstancedata_contractdetail
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ContractDetail>("userentityinstancedata_contractdetail", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ContractDetail>("userentityinstancedata_contractdetail", "userentityinstancedata_contractdetail", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_contracttemplate
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_contracttemplate")]
		public Xrm.ContractTemplate userentityinstancedata_contracttemplate
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ContractTemplate>("userentityinstancedata_contracttemplate", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ContractTemplate>("userentityinstancedata_contracttemplate", "userentityinstancedata_contracttemplate", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_customeraddress
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_customeraddress")]
		public Xrm.CustomerAddress userentityinstancedata_customeraddress
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CustomerAddress>("userentityinstancedata_customeraddress", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CustomerAddress>("userentityinstancedata_customeraddress", "userentityinstancedata_customeraddress", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_customeropportunityrole
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_customeropportunityrole")]
		public Xrm.CustomerOpportunityRole userentityinstancedata_customeropportunityrole
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CustomerOpportunityRole>("userentityinstancedata_customeropportunityrole", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CustomerOpportunityRole>("userentityinstancedata_customeropportunityrole", "userentityinstancedata_customeropportunityrole", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_customerrelationship
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_customerrelationship")]
		public Xrm.CustomerRelationship userentityinstancedata_customerrelationship
		{
			get
			{
				return this.GetRelatedEntity<Xrm.CustomerRelationship>("userentityinstancedata_customerrelationship", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.CustomerRelationship>("userentityinstancedata_customerrelationship", "userentityinstancedata_customerrelationship", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_dependency
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_dependency")]
		public Xrm.Dependency userentityinstancedata_dependency
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Dependency>("userentityinstancedata_dependency", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Dependency>("userentityinstancedata_dependency", "userentityinstancedata_dependency", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_discount
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_discount")]
		public Xrm.Discount userentityinstancedata_discount
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Discount>("userentityinstancedata_discount", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Discount>("userentityinstancedata_discount", "userentityinstancedata_discount", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_discounttype
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_discounttype")]
		public Xrm.DiscountType userentityinstancedata_discounttype
		{
			get
			{
				return this.GetRelatedEntity<Xrm.DiscountType>("userentityinstancedata_discounttype", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.DiscountType>("userentityinstancedata_discounttype", "userentityinstancedata_discounttype", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_displaystring
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_displaystring")]
		public Xrm.DisplayString userentityinstancedata_displaystring
		{
			get
			{
				return this.GetRelatedEntity<Xrm.DisplayString>("userentityinstancedata_displaystring", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.DisplayString>("userentityinstancedata_displaystring", "userentityinstancedata_displaystring", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_duplicaterecord
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_duplicaterecord")]
		public Xrm.DuplicateRecord userentityinstancedata_duplicaterecord
		{
			get
			{
				return this.GetRelatedEntity<Xrm.DuplicateRecord>("userentityinstancedata_duplicaterecord", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.DuplicateRecord>("userentityinstancedata_duplicaterecord", "userentityinstancedata_duplicaterecord", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_duplicaterule
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_duplicaterule")]
		public Xrm.DuplicateRule userentityinstancedata_duplicaterule
		{
			get
			{
				return this.GetRelatedEntity<Xrm.DuplicateRule>("userentityinstancedata_duplicaterule", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.DuplicateRule>("userentityinstancedata_duplicaterule", "userentityinstancedata_duplicaterule", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_duplicaterulecondition
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_duplicaterulecondition")]
		public Xrm.DuplicateRuleCondition userentityinstancedata_duplicaterulecondition
		{
			get
			{
				return this.GetRelatedEntity<Xrm.DuplicateRuleCondition>("userentityinstancedata_duplicaterulecondition", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.DuplicateRuleCondition>("userentityinstancedata_duplicaterulecondition", "userentityinstancedata_duplicaterulecondition", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_email
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_email")]
		public Xrm.Email userentityinstancedata_email
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Email>("userentityinstancedata_email", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Email>("userentityinstancedata_email", "userentityinstancedata_email", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_entitymap
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_entitymap")]
		public Xrm.EntityMap userentityinstancedata_entitymap
		{
			get
			{
				return this.GetRelatedEntity<Xrm.EntityMap>("userentityinstancedata_entitymap", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.EntityMap>("userentityinstancedata_entitymap", "userentityinstancedata_entitymap", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_equipment
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_equipment")]
		public Xrm.Equipment userentityinstancedata_equipment
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Equipment>("userentityinstancedata_equipment", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Equipment>("userentityinstancedata_equipment", "userentityinstancedata_equipment", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_fax
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_fax")]
		public Xrm.Fax userentityinstancedata_fax
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Fax>("userentityinstancedata_fax", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Fax>("userentityinstancedata_fax", "userentityinstancedata_fax", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_fieldpermission
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_fieldpermission")]
		public Xrm.FieldPermission userentityinstancedata_fieldpermission
		{
			get
			{
				return this.GetRelatedEntity<Xrm.FieldPermission>("userentityinstancedata_fieldpermission", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.FieldPermission>("userentityinstancedata_fieldpermission", "userentityinstancedata_fieldpermission", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_fieldsecurityprofile
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_fieldsecurityprofile")]
		public Xrm.FieldSecurityProfile userentityinstancedata_fieldsecurityprofile
		{
			get
			{
				return this.GetRelatedEntity<Xrm.FieldSecurityProfile>("userentityinstancedata_fieldsecurityprofile", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.FieldSecurityProfile>("userentityinstancedata_fieldsecurityprofile", "userentityinstancedata_fieldsecurityprofile", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_goal
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_goal")]
		public Xrm.Goal userentityinstancedata_goal
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Goal>("userentityinstancedata_goal", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Goal>("userentityinstancedata_goal", "userentityinstancedata_goal", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_goalrollupquery
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_goalrollupquery")]
		public Xrm.GoalRollupQuery userentityinstancedata_goalrollupquery
		{
			get
			{
				return this.GetRelatedEntity<Xrm.GoalRollupQuery>("userentityinstancedata_goalrollupquery", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.GoalRollupQuery>("userentityinstancedata_goalrollupquery", "userentityinstancedata_goalrollupquery", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_import
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_import")]
		public Xrm.Import userentityinstancedata_import
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Import>("userentityinstancedata_import", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Import>("userentityinstancedata_import", "userentityinstancedata_import", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_importentitymapping
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_importentitymapping")]
		public Xrm.ImportEntityMapping userentityinstancedata_importentitymapping
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ImportEntityMapping>("userentityinstancedata_importentitymapping", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ImportEntityMapping>("userentityinstancedata_importentitymapping", "userentityinstancedata_importentitymapping", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_importfile
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_importfile")]
		public Xrm.ImportFile userentityinstancedata_importfile
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ImportFile>("userentityinstancedata_importfile", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ImportFile>("userentityinstancedata_importfile", "userentityinstancedata_importfile", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_importjob
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_importjob")]
		public Xrm.ImportJob userentityinstancedata_importjob
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ImportJob>("userentityinstancedata_importjob", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ImportJob>("userentityinstancedata_importjob", "userentityinstancedata_importjob", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_importlog
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_importlog")]
		public Xrm.ImportLog userentityinstancedata_importlog
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ImportLog>("userentityinstancedata_importlog", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ImportLog>("userentityinstancedata_importlog", "userentityinstancedata_importlog", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_importmap
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_importmap")]
		public Xrm.ImportMap userentityinstancedata_importmap
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ImportMap>("userentityinstancedata_importmap", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ImportMap>("userentityinstancedata_importmap", "userentityinstancedata_importmap", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_incident
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_incident")]
		public Xrm.Incident userentityinstancedata_incident
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Incident>("userentityinstancedata_incident", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Incident>("userentityinstancedata_incident", "userentityinstancedata_incident", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_incidentresolution
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_incidentresolution")]
		public Xrm.IncidentResolution userentityinstancedata_incidentresolution
		{
			get
			{
				return this.GetRelatedEntity<Xrm.IncidentResolution>("userentityinstancedata_incidentresolution", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.IncidentResolution>("userentityinstancedata_incidentresolution", "userentityinstancedata_incidentresolution", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_invaliddependency
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_invaliddependency")]
		public Xrm.InvalidDependency userentityinstancedata_invaliddependency
		{
			get
			{
				return this.GetRelatedEntity<Xrm.InvalidDependency>("userentityinstancedata_invaliddependency", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.InvalidDependency>("userentityinstancedata_invaliddependency", "userentityinstancedata_invaliddependency", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_invoice
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_invoice")]
		public Xrm.Invoice userentityinstancedata_invoice
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Invoice>("userentityinstancedata_invoice", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Invoice>("userentityinstancedata_invoice", "userentityinstancedata_invoice", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_invoicedetail
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_invoicedetail")]
		public Xrm.InvoiceDetail userentityinstancedata_invoicedetail
		{
			get
			{
				return this.GetRelatedEntity<Xrm.InvoiceDetail>("userentityinstancedata_invoicedetail", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.InvoiceDetail>("userentityinstancedata_invoicedetail", "userentityinstancedata_invoicedetail", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_isvconfig
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_isvconfig")]
		public Xrm.IsvConfig userentityinstancedata_isvconfig
		{
			get
			{
				return this.GetRelatedEntity<Xrm.IsvConfig>("userentityinstancedata_isvconfig", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.IsvConfig>("userentityinstancedata_isvconfig", "userentityinstancedata_isvconfig", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_kbarticle
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_kbarticle")]
		public Xrm.KbArticle userentityinstancedata_kbarticle
		{
			get
			{
				return this.GetRelatedEntity<Xrm.KbArticle>("userentityinstancedata_kbarticle", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.KbArticle>("userentityinstancedata_kbarticle", "userentityinstancedata_kbarticle", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_kbarticlecomment
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_kbarticlecomment")]
		public Xrm.KbArticleComment userentityinstancedata_kbarticlecomment
		{
			get
			{
				return this.GetRelatedEntity<Xrm.KbArticleComment>("userentityinstancedata_kbarticlecomment", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.KbArticleComment>("userentityinstancedata_kbarticlecomment", "userentityinstancedata_kbarticlecomment", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_kbarticletemplate
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_kbarticletemplate")]
		public Xrm.KbArticleTemplate userentityinstancedata_kbarticletemplate
		{
			get
			{
				return this.GetRelatedEntity<Xrm.KbArticleTemplate>("userentityinstancedata_kbarticletemplate", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.KbArticleTemplate>("userentityinstancedata_kbarticletemplate", "userentityinstancedata_kbarticletemplate", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_lead
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_lead")]
		public Xrm.Lead userentityinstancedata_lead
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Lead>("userentityinstancedata_lead", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Lead>("userentityinstancedata_lead", "userentityinstancedata_lead", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_leadaddress
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_leadaddress")]
		public Xrm.LeadAddress userentityinstancedata_leadaddress
		{
			get
			{
				return this.GetRelatedEntity<Xrm.LeadAddress>("userentityinstancedata_leadaddress", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.LeadAddress>("userentityinstancedata_leadaddress", "userentityinstancedata_leadaddress", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_leadproduct
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_leadproduct")]
		public Xrm.LeadProduct userentityinstancedata_leadproduct
		{
			get
			{
				return this.GetRelatedEntity<Xrm.LeadProduct>("userentityinstancedata_leadproduct", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.LeadProduct>("userentityinstancedata_leadproduct", "userentityinstancedata_leadproduct", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_letter
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_letter")]
		public Xrm.Letter userentityinstancedata_letter
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Letter>("userentityinstancedata_letter", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Letter>("userentityinstancedata_letter", "userentityinstancedata_letter", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_license
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_license")]
		public Xrm.License userentityinstancedata_license
		{
			get
			{
				return this.GetRelatedEntity<Xrm.License>("userentityinstancedata_license", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.License>("userentityinstancedata_license", "userentityinstancedata_license", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_list
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_list")]
		public Xrm.List userentityinstancedata_list
		{
			get
			{
				return this.GetRelatedEntity<Xrm.List>("userentityinstancedata_list", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.List>("userentityinstancedata_list", "userentityinstancedata_list", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_listmember
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_listmember")]
		public Xrm.ListMember userentityinstancedata_listmember
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ListMember>("userentityinstancedata_listmember", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ListMember>("userentityinstancedata_listmember", "userentityinstancedata_listmember", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_lookupmapping
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_lookupmapping")]
		public Xrm.LookUpMapping userentityinstancedata_lookupmapping
		{
			get
			{
				return this.GetRelatedEntity<Xrm.LookUpMapping>("userentityinstancedata_lookupmapping", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.LookUpMapping>("userentityinstancedata_lookupmapping", "userentityinstancedata_lookupmapping", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_mailmergetemplate
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_mailmergetemplate")]
		public Xrm.MailMergeTemplate userentityinstancedata_mailmergetemplate
		{
			get
			{
				return this.GetRelatedEntity<Xrm.MailMergeTemplate>("userentityinstancedata_mailmergetemplate", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.MailMergeTemplate>("userentityinstancedata_mailmergetemplate", "userentityinstancedata_mailmergetemplate", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_metric
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_metric")]
		public Xrm.Metric userentityinstancedata_metric
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Metric>("userentityinstancedata_metric", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Metric>("userentityinstancedata_metric", "userentityinstancedata_metric", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_opportunity
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_opportunity")]
		public Xrm.Opportunity userentityinstancedata_opportunity
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Opportunity>("userentityinstancedata_opportunity", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Opportunity>("userentityinstancedata_opportunity", "userentityinstancedata_opportunity", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_opportunityclose
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_opportunityclose")]
		public Xrm.OpportunityClose userentityinstancedata_opportunityclose
		{
			get
			{
				return this.GetRelatedEntity<Xrm.OpportunityClose>("userentityinstancedata_opportunityclose", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.OpportunityClose>("userentityinstancedata_opportunityclose", "userentityinstancedata_opportunityclose", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_opportunityproduct
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_opportunityproduct")]
		public Xrm.OpportunityProduct userentityinstancedata_opportunityproduct
		{
			get
			{
				return this.GetRelatedEntity<Xrm.OpportunityProduct>("userentityinstancedata_opportunityproduct", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.OpportunityProduct>("userentityinstancedata_opportunityproduct", "userentityinstancedata_opportunityproduct", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_orderclose
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_orderclose")]
		public Xrm.OrderClose userentityinstancedata_orderclose
		{
			get
			{
				return this.GetRelatedEntity<Xrm.OrderClose>("userentityinstancedata_orderclose", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.OrderClose>("userentityinstancedata_orderclose", "userentityinstancedata_orderclose", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_organization
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_organization")]
		public Xrm.Organization userentityinstancedata_organization
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("userentityinstancedata_organization", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Organization>("userentityinstancedata_organization", "userentityinstancedata_organization", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_ownermapping
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_ownermapping")]
		public Xrm.OwnerMapping userentityinstancedata_ownermapping
		{
			get
			{
				return this.GetRelatedEntity<Xrm.OwnerMapping>("userentityinstancedata_ownermapping", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.OwnerMapping>("userentityinstancedata_ownermapping", "userentityinstancedata_ownermapping", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_owning_user
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_owning_user")]
		public Xrm.SystemUser userentityinstancedata_owning_user
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("userentityinstancedata_owning_user", null);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_phonecall
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_phonecall")]
		public Xrm.PhoneCall userentityinstancedata_phonecall
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PhoneCall>("userentityinstancedata_phonecall", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PhoneCall>("userentityinstancedata_phonecall", "userentityinstancedata_phonecall", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_picklistmapping
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_picklistmapping")]
		public Xrm.PickListMapping userentityinstancedata_picklistmapping
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PickListMapping>("userentityinstancedata_picklistmapping", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PickListMapping>("userentityinstancedata_picklistmapping", "userentityinstancedata_picklistmapping", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_pluginassembly
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_pluginassembly")]
		public Xrm.PluginAssembly userentityinstancedata_pluginassembly
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PluginAssembly>("userentityinstancedata_pluginassembly", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PluginAssembly>("userentityinstancedata_pluginassembly", "userentityinstancedata_pluginassembly", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_plugintype
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_plugintype")]
		public Xrm.PluginType userentityinstancedata_plugintype
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PluginType>("userentityinstancedata_plugintype", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PluginType>("userentityinstancedata_plugintype", "userentityinstancedata_plugintype", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_plugintypestatistic
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_plugintypestatistic")]
		public Xrm.PluginTypeStatistic userentityinstancedata_plugintypestatistic
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PluginTypeStatistic>("userentityinstancedata_plugintypestatistic", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PluginTypeStatistic>("userentityinstancedata_plugintypestatistic", "userentityinstancedata_plugintypestatistic", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_pricelevel
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_pricelevel")]
		public Xrm.PriceLevel userentityinstancedata_pricelevel
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PriceLevel>("userentityinstancedata_pricelevel", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PriceLevel>("userentityinstancedata_pricelevel", "userentityinstancedata_pricelevel", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_principalentitymap
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_principalentitymap")]
		public Xrm.PrincipalEntityMap userentityinstancedata_principalentitymap
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PrincipalEntityMap>("userentityinstancedata_principalentitymap", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PrincipalEntityMap>("userentityinstancedata_principalentitymap", "userentityinstancedata_principalentitymap", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_principalobjectattributeaccess
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_principalobjectattributeaccess")]
		public Xrm.PrincipalObjectAttributeAccess userentityinstancedata_principalobjectattributeaccess
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PrincipalObjectAttributeAccess>("userentityinstancedata_principalobjectattributeaccess", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PrincipalObjectAttributeAccess>("userentityinstancedata_principalobjectattributeaccess", "userentityinstancedata_principalobjectattributeaccess", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_privilege
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_privilege")]
		public Xrm.Privilege userentityinstancedata_privilege
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Privilege>("userentityinstancedata_privilege", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Privilege>("userentityinstancedata_privilege", "userentityinstancedata_privilege", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_processsession
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_processsession")]
		public Xrm.ProcessSession userentityinstancedata_processsession
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ProcessSession>("userentityinstancedata_processsession", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ProcessSession>("userentityinstancedata_processsession", "userentityinstancedata_processsession", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_product
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_product")]
		public Xrm.Product userentityinstancedata_product
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Product>("userentityinstancedata_product", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Product>("userentityinstancedata_product", "userentityinstancedata_product", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_productassociation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_productassociation")]
		public Xrm.ProductAssociation userentityinstancedata_productassociation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ProductAssociation>("userentityinstancedata_productassociation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ProductAssociation>("userentityinstancedata_productassociation", "userentityinstancedata_productassociation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_productpricelevel
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_productpricelevel")]
		public Xrm.ProductPriceLevel userentityinstancedata_productpricelevel
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ProductPriceLevel>("userentityinstancedata_productpricelevel", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ProductPriceLevel>("userentityinstancedata_productpricelevel", "userentityinstancedata_productpricelevel", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_productsalesliterature
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_productsalesliterature")]
		public Xrm.ProductSalesLiterature userentityinstancedata_productsalesliterature
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ProductSalesLiterature>("userentityinstancedata_productsalesliterature", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ProductSalesLiterature>("userentityinstancedata_productsalesliterature", "userentityinstancedata_productsalesliterature", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_productsubstitute
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_productsubstitute")]
		public Xrm.ProductSubstitute userentityinstancedata_productsubstitute
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ProductSubstitute>("userentityinstancedata_productsubstitute", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ProductSubstitute>("userentityinstancedata_productsubstitute", "userentityinstancedata_productsubstitute", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_publisher
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_publisher")]
		public Xrm.Publisher userentityinstancedata_publisher
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Publisher>("userentityinstancedata_publisher", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Publisher>("userentityinstancedata_publisher", "userentityinstancedata_publisher", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_publisheraddress
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_publisheraddress")]
		public Xrm.PublisherAddress userentityinstancedata_publisheraddress
		{
			get
			{
				return this.GetRelatedEntity<Xrm.PublisherAddress>("userentityinstancedata_publisheraddress", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.PublisherAddress>("userentityinstancedata_publisheraddress", "userentityinstancedata_publisheraddress", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_queue
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_queue")]
		public Xrm.Queue userentityinstancedata_queue
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Queue>("userentityinstancedata_queue", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Queue>("userentityinstancedata_queue", "userentityinstancedata_queue", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_queueitem
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_queueitem")]
		public Xrm.QueueItem userentityinstancedata_queueitem
		{
			get
			{
				return this.GetRelatedEntity<Xrm.QueueItem>("userentityinstancedata_queueitem", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.QueueItem>("userentityinstancedata_queueitem", "userentityinstancedata_queueitem", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_quote
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_quote")]
		public Xrm.Quote userentityinstancedata_quote
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Quote>("userentityinstancedata_quote", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Quote>("userentityinstancedata_quote", "userentityinstancedata_quote", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_quoteclose
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_quoteclose")]
		public Xrm.QuoteClose userentityinstancedata_quoteclose
		{
			get
			{
				return this.GetRelatedEntity<Xrm.QuoteClose>("userentityinstancedata_quoteclose", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.QuoteClose>("userentityinstancedata_quoteclose", "userentityinstancedata_quoteclose", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_quotedetail
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_quotedetail")]
		public Xrm.QuoteDetail userentityinstancedata_quotedetail
		{
			get
			{
				return this.GetRelatedEntity<Xrm.QuoteDetail>("userentityinstancedata_quotedetail", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.QuoteDetail>("userentityinstancedata_quotedetail", "userentityinstancedata_quotedetail", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_recurringappointmentmaster
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_recurringappointmentmaster")]
		public Xrm.RecurringAppointmentMaster userentityinstancedata_recurringappointmentmaster
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RecurringAppointmentMaster>("userentityinstancedata_recurringappointmentmaster", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.RecurringAppointmentMaster>("userentityinstancedata_recurringappointmentmaster", "userentityinstancedata_recurringappointmentmaster", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_relationshiprole
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_relationshiprole")]
		public Xrm.RelationshipRole userentityinstancedata_relationshiprole
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RelationshipRole>("userentityinstancedata_relationshiprole", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.RelationshipRole>("userentityinstancedata_relationshiprole", "userentityinstancedata_relationshiprole", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_relationshiprolemap
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_relationshiprolemap")]
		public Xrm.RelationshipRoleMap userentityinstancedata_relationshiprolemap
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RelationshipRoleMap>("userentityinstancedata_relationshiprolemap", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.RelationshipRoleMap>("userentityinstancedata_relationshiprolemap", "userentityinstancedata_relationshiprolemap", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_report
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_report")]
		public Xrm.Report userentityinstancedata_report
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Report>("userentityinstancedata_report", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Report>("userentityinstancedata_report", "userentityinstancedata_report", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_reportcategory
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_reportcategory")]
		public Xrm.ReportCategory userentityinstancedata_reportcategory
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ReportCategory>("userentityinstancedata_reportcategory", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ReportCategory>("userentityinstancedata_reportcategory", "userentityinstancedata_reportcategory", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_reportentity
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_reportentity")]
		public Xrm.ReportEntity userentityinstancedata_reportentity
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ReportEntity>("userentityinstancedata_reportentity", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ReportEntity>("userentityinstancedata_reportentity", "userentityinstancedata_reportentity", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_reportlink
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_reportlink")]
		public Xrm.ReportLink userentityinstancedata_reportlink
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ReportLink>("userentityinstancedata_reportlink", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ReportLink>("userentityinstancedata_reportlink", "userentityinstancedata_reportlink", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_reportvisibility
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_reportvisibility")]
		public Xrm.ReportVisibility userentityinstancedata_reportvisibility
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ReportVisibility>("userentityinstancedata_reportvisibility", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ReportVisibility>("userentityinstancedata_reportvisibility", "userentityinstancedata_reportvisibility", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_resource
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_resource")]
		public Xrm.Resource userentityinstancedata_resource
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Resource>("userentityinstancedata_resource", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Resource>("userentityinstancedata_resource", "userentityinstancedata_resource", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_resourcegroup
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_resourcegroup")]
		public Xrm.ResourceGroup userentityinstancedata_resourcegroup
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ResourceGroup>("userentityinstancedata_resourcegroup", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ResourceGroup>("userentityinstancedata_resourcegroup", "userentityinstancedata_resourcegroup", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_resourcespec
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_resourcespec")]
		public Xrm.ResourceSpec userentityinstancedata_resourcespec
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ResourceSpec>("userentityinstancedata_resourcespec", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ResourceSpec>("userentityinstancedata_resourcespec", "userentityinstancedata_resourcespec", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_ribboncustomization
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_ribboncustomization")]
		public Xrm.RibbonCustomization userentityinstancedata_ribboncustomization
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RibbonCustomization>("userentityinstancedata_ribboncustomization", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.RibbonCustomization>("userentityinstancedata_ribboncustomization", "userentityinstancedata_ribboncustomization", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_role
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_role")]
		public Xrm.Role userentityinstancedata_role
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Role>("userentityinstancedata_role", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Role>("userentityinstancedata_role", "userentityinstancedata_role", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_rollupfield
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_rollupfield")]
		public Xrm.RollupField userentityinstancedata_rollupfield
		{
			get
			{
				return this.GetRelatedEntity<Xrm.RollupField>("userentityinstancedata_rollupfield", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.RollupField>("userentityinstancedata_rollupfield", "userentityinstancedata_rollupfield", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_salesliterature
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_salesliterature")]
		public Xrm.SalesLiterature userentityinstancedata_salesliterature
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesLiterature>("userentityinstancedata_salesliterature", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesLiterature>("userentityinstancedata_salesliterature", "userentityinstancedata_salesliterature", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_salesliteratureitem
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_salesliteratureitem")]
		public Xrm.SalesLiteratureItem userentityinstancedata_salesliteratureitem
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesLiteratureItem>("userentityinstancedata_salesliteratureitem", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesLiteratureItem>("userentityinstancedata_salesliteratureitem", "userentityinstancedata_salesliteratureitem", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_salesorder
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_salesorder")]
		public Xrm.SalesOrder userentityinstancedata_salesorder
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesOrder>("userentityinstancedata_salesorder", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesOrder>("userentityinstancedata_salesorder", "userentityinstancedata_salesorder", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_salesorderdetail
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_salesorderdetail")]
		public Xrm.SalesOrderDetail userentityinstancedata_salesorderdetail
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SalesOrderDetail>("userentityinstancedata_salesorderdetail", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SalesOrderDetail>("userentityinstancedata_salesorderdetail", "userentityinstancedata_salesorderdetail", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_savedquery
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_savedquery")]
		public Xrm.SavedQuery userentityinstancedata_savedquery
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SavedQuery>("userentityinstancedata_savedquery", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SavedQuery>("userentityinstancedata_savedquery", "userentityinstancedata_savedquery", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_savedqueryvisualization
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_savedqueryvisualization")]
		public Xrm.SavedQueryVisualization userentityinstancedata_savedqueryvisualization
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SavedQueryVisualization>("userentityinstancedata_savedqueryvisualization", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SavedQueryVisualization>("userentityinstancedata_savedqueryvisualization", "userentityinstancedata_savedqueryvisualization", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_sdkmessage
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_sdkmessage")]
		public Xrm.SdkMessage userentityinstancedata_sdkmessage
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SdkMessage>("userentityinstancedata_sdkmessage", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SdkMessage>("userentityinstancedata_sdkmessage", "userentityinstancedata_sdkmessage", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_sdkmessagefilter
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_sdkmessagefilter")]
		public Xrm.SdkMessageFilter userentityinstancedata_sdkmessagefilter
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SdkMessageFilter>("userentityinstancedata_sdkmessagefilter", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SdkMessageFilter>("userentityinstancedata_sdkmessagefilter", "userentityinstancedata_sdkmessagefilter", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_sdkmessagepair
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_sdkmessagepair")]
		public Xrm.SdkMessagePair userentityinstancedata_sdkmessagepair
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SdkMessagePair>("userentityinstancedata_sdkmessagepair", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SdkMessagePair>("userentityinstancedata_sdkmessagepair", "userentityinstancedata_sdkmessagepair", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_sdkmessageprocessingstep
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_sdkmessageprocessingstep")]
		public Xrm.SdkMessageProcessingStep userentityinstancedata_sdkmessageprocessingstep
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SdkMessageProcessingStep>("userentityinstancedata_sdkmessageprocessingstep", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SdkMessageProcessingStep>("userentityinstancedata_sdkmessageprocessingstep", "userentityinstancedata_sdkmessageprocessingstep", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_sdkmessageprocessingstepimage
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_sdkmessageprocessingstepimage")]
		public Xrm.SdkMessageProcessingStepImage userentityinstancedata_sdkmessageprocessingstepimage
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SdkMessageProcessingStepImage>("userentityinstancedata_sdkmessageprocessingstepimage", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SdkMessageProcessingStepImage>("userentityinstancedata_sdkmessageprocessingstepimage", "userentityinstancedata_sdkmessageprocessingstepimage", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_sdkmessageprocessingstepsecureconfig
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_sdkmessageprocessingstepsecureconfig")]
		public Xrm.SdkMessageProcessingStepSecureConfig userentityinstancedata_sdkmessageprocessingstepsecureconfig
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SdkMessageProcessingStepSecureConfig>("userentityinstancedata_sdkmessageprocessingstepsecureconfig", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SdkMessageProcessingStepSecureConfig>("userentityinstancedata_sdkmessageprocessingstepsecureconfig", "userentityinstancedata_sdkmessageprocessingstepsecureconfig", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_sdkmessagerequest
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_sdkmessagerequest")]
		public Xrm.SdkMessageRequest userentityinstancedata_sdkmessagerequest
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SdkMessageRequest>("userentityinstancedata_sdkmessagerequest", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SdkMessageRequest>("userentityinstancedata_sdkmessagerequest", "userentityinstancedata_sdkmessagerequest", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_sdkmessagerequestfield
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_sdkmessagerequestfield")]
		public Xrm.SdkMessageRequestField userentityinstancedata_sdkmessagerequestfield
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SdkMessageRequestField>("userentityinstancedata_sdkmessagerequestfield", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SdkMessageRequestField>("userentityinstancedata_sdkmessagerequestfield", "userentityinstancedata_sdkmessagerequestfield", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_sdkmessageresponse
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_sdkmessageresponse")]
		public Xrm.SdkMessageResponse userentityinstancedata_sdkmessageresponse
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SdkMessageResponse>("userentityinstancedata_sdkmessageresponse", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SdkMessageResponse>("userentityinstancedata_sdkmessageresponse", "userentityinstancedata_sdkmessageresponse", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_sdkmessageresponsefield
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_sdkmessageresponsefield")]
		public Xrm.SdkMessageResponseField userentityinstancedata_sdkmessageresponsefield
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SdkMessageResponseField>("userentityinstancedata_sdkmessageresponsefield", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SdkMessageResponseField>("userentityinstancedata_sdkmessageresponsefield", "userentityinstancedata_sdkmessageresponsefield", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_service
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_service")]
		public Xrm.Service userentityinstancedata_service
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Service>("userentityinstancedata_service", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Service>("userentityinstancedata_service", "userentityinstancedata_service", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_serviceappointment
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_serviceappointment")]
		public Xrm.ServiceAppointment userentityinstancedata_serviceappointment
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ServiceAppointment>("userentityinstancedata_serviceappointment", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ServiceAppointment>("userentityinstancedata_serviceappointment", "userentityinstancedata_serviceappointment", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_serviceendpoint
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_serviceendpoint")]
		public Xrm.ServiceEndpoint userentityinstancedata_serviceendpoint
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ServiceEndpoint>("userentityinstancedata_serviceendpoint", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ServiceEndpoint>("userentityinstancedata_serviceendpoint", "userentityinstancedata_serviceendpoint", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_sharepointdocumentlocation
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_sharepointdocumentlocation")]
		public Xrm.SharePointDocumentLocation userentityinstancedata_sharepointdocumentlocation
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SharePointDocumentLocation>("userentityinstancedata_sharepointdocumentlocation", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SharePointDocumentLocation>("userentityinstancedata_sharepointdocumentlocation", "userentityinstancedata_sharepointdocumentlocation", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_sharepointsite
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_sharepointsite")]
		public Xrm.SharePointSite userentityinstancedata_sharepointsite
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SharePointSite>("userentityinstancedata_sharepointsite", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SharePointSite>("userentityinstancedata_sharepointsite", "userentityinstancedata_sharepointsite", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_site
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_site")]
		public Xrm.Site userentityinstancedata_site
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Site>("userentityinstancedata_site", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Site>("userentityinstancedata_site", "userentityinstancedata_site", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_sitemap
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_sitemap")]
		public Xrm.SiteMap userentityinstancedata_sitemap
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SiteMap>("userentityinstancedata_sitemap", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SiteMap>("userentityinstancedata_sitemap", "userentityinstancedata_sitemap", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_solution
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_solution")]
		public Xrm.Solution userentityinstancedata_solution
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Solution>("userentityinstancedata_solution", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Solution>("userentityinstancedata_solution", "userentityinstancedata_solution", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_solutioncomponent
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_solutioncomponent")]
		public Xrm.SolutionComponent userentityinstancedata_solutioncomponent
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SolutionComponent>("userentityinstancedata_solutioncomponent", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SolutionComponent>("userentityinstancedata_solutioncomponent", "userentityinstancedata_solutioncomponent", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_subject
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_subject")]
		public Xrm.Subject userentityinstancedata_subject
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Subject>("userentityinstancedata_subject", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Subject>("userentityinstancedata_subject", "userentityinstancedata_subject", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_subscriptionmanuallytrackedobject
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_subscriptionmanuallytrackedobject")]
		public Xrm.SubscriptionManuallyTrackedObject userentityinstancedata_subscriptionmanuallytrackedobject
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SubscriptionManuallyTrackedObject>("userentityinstancedata_subscriptionmanuallytrackedobject", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SubscriptionManuallyTrackedObject>("userentityinstancedata_subscriptionmanuallytrackedobject", "userentityinstancedata_subscriptionmanuallytrackedobject", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_systemuser
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_systemuser")]
		public Xrm.SystemUser userentityinstancedata_systemuser
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("userentityinstancedata_systemuser", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("userentityinstancedata_systemuser", "userentityinstancedata_systemuser", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_task
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_task")]
		public Xrm.Task userentityinstancedata_task
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Task>("userentityinstancedata_task", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Task>("userentityinstancedata_task", "userentityinstancedata_task", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_team
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_team")]
		public Xrm.Team userentityinstancedata_team
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("userentityinstancedata_team", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Team>("userentityinstancedata_team", "userentityinstancedata_team", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_teammembership
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_teammembership")]
		public Xrm.TeamMembership userentityinstancedata_teammembership
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TeamMembership>("userentityinstancedata_teammembership", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TeamMembership>("userentityinstancedata_teammembership", "userentityinstancedata_teammembership", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_template
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_template")]
		public Xrm.Template userentityinstancedata_template
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Template>("userentityinstancedata_template", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Template>("userentityinstancedata_template", "userentityinstancedata_template", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_territory
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_territory")]
		public Xrm.Territory userentityinstancedata_territory
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Territory>("userentityinstancedata_territory", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Territory>("userentityinstancedata_territory", "userentityinstancedata_territory", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_timezonedefinition
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_timezonedefinition")]
		public Xrm.TimeZoneDefinition userentityinstancedata_timezonedefinition
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TimeZoneDefinition>("userentityinstancedata_timezonedefinition", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TimeZoneDefinition>("userentityinstancedata_timezonedefinition", "userentityinstancedata_timezonedefinition", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_timezonelocalizedname
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_timezonelocalizedname")]
		public Xrm.TimeZoneLocalizedName userentityinstancedata_timezonelocalizedname
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TimeZoneLocalizedName>("userentityinstancedata_timezonelocalizedname", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TimeZoneLocalizedName>("userentityinstancedata_timezonelocalizedname", "userentityinstancedata_timezonelocalizedname", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_timezonerule
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_timezonerule")]
		public Xrm.TimeZoneRule userentityinstancedata_timezonerule
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TimeZoneRule>("userentityinstancedata_timezonerule", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TimeZoneRule>("userentityinstancedata_timezonerule", "userentityinstancedata_timezonerule", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_transactioncurrency
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_transactioncurrency")]
		public Xrm.TransactionCurrency userentityinstancedata_transactioncurrency
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("userentityinstancedata_transactioncurrency", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("userentityinstancedata_transactioncurrency", "userentityinstancedata_transactioncurrency", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_transformationmapping
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_transformationmapping")]
		public Xrm.TransformationMapping userentityinstancedata_transformationmapping
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransformationMapping>("userentityinstancedata_transformationmapping", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransformationMapping>("userentityinstancedata_transformationmapping", "userentityinstancedata_transformationmapping", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_transformationparametermapping
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_transformationparametermapping")]
		public Xrm.TransformationParameterMapping userentityinstancedata_transformationparametermapping
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransformationParameterMapping>("userentityinstancedata_transformationparametermapping", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransformationParameterMapping>("userentityinstancedata_transformationparametermapping", "userentityinstancedata_transformationparametermapping", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_uom
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_uom")]
		public Xrm.UoM userentityinstancedata_uom
		{
			get
			{
				return this.GetRelatedEntity<Xrm.UoM>("userentityinstancedata_uom", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.UoM>("userentityinstancedata_uom", "userentityinstancedata_uom", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_uomschedule
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_uomschedule")]
		public Xrm.UoMSchedule userentityinstancedata_uomschedule
		{
			get
			{
				return this.GetRelatedEntity<Xrm.UoMSchedule>("userentityinstancedata_uomschedule", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.UoMSchedule>("userentityinstancedata_uomschedule", "userentityinstancedata_uomschedule", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_userentityuisettings
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_userentityuisettings")]
		public Xrm.UserEntityUISettings userentityinstancedata_userentityuisettings
		{
			get
			{
				return this.GetRelatedEntity<Xrm.UserEntityUISettings>("userentityinstancedata_userentityuisettings", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.UserEntityUISettings>("userentityinstancedata_userentityuisettings", "userentityinstancedata_userentityuisettings", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_userform
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_userform")]
		public Xrm.UserForm userentityinstancedata_userform
		{
			get
			{
				return this.GetRelatedEntity<Xrm.UserForm>("userentityinstancedata_userform", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.UserForm>("userentityinstancedata_userform", "userentityinstancedata_userform", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_userquery
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_userquery")]
		public Xrm.UserQuery userentityinstancedata_userquery
		{
			get
			{
				return this.GetRelatedEntity<Xrm.UserQuery>("userentityinstancedata_userquery", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.UserQuery>("userentityinstancedata_userquery", "userentityinstancedata_userquery", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_userqueryvisualization
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_userqueryvisualization")]
		public Xrm.UserQueryVisualization userentityinstancedata_userqueryvisualization
		{
			get
			{
				return this.GetRelatedEntity<Xrm.UserQueryVisualization>("userentityinstancedata_userqueryvisualization", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.UserQueryVisualization>("userentityinstancedata_userqueryvisualization", "userentityinstancedata_userqueryvisualization", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_webresource
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_webresource")]
		public Xrm.WebResource userentityinstancedata_webresource
		{
			get
			{
				return this.GetRelatedEntity<Xrm.WebResource>("userentityinstancedata_webresource", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.WebResource>("userentityinstancedata_webresource", "userentityinstancedata_webresource", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_workflow
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_workflow")]
		public Xrm.Workflow userentityinstancedata_workflow
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Workflow>("userentityinstancedata_workflow", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Workflow>("userentityinstancedata_workflow", "userentityinstancedata_workflow", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_workflowdependency
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_workflowdependency")]
		public Xrm.WorkflowDependency userentityinstancedata_workflowdependency
		{
			get
			{
				return this.GetRelatedEntity<Xrm.WorkflowDependency>("userentityinstancedata_workflowdependency", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.WorkflowDependency>("userentityinstancedata_workflowdependency", "userentityinstancedata_workflowdependency", null, value);
			}
		}
		
		/// <summary>
		/// N:1 userentityinstancedata_workflowlog
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objectid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_workflowlog")]
		public Xrm.WorkflowLog userentityinstancedata_workflowlog
		{
			get
			{
				return this.GetRelatedEntity<Xrm.WorkflowLog>("userentityinstancedata_workflowlog", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.WorkflowLog>("userentityinstancedata_workflowlog", "userentityinstancedata_workflowlog", null, value);
			}
		}
	}
	
	/// <summary>
	/// Przechowuje ustawienia użytkownika widoków encji.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("userentityuisettings")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("UserEntityUISettingsSet")]
	public partial class UserEntityUISettings : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public UserEntityUISettings() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "userentityuisettings";
		
		public const int EntityTypeCode = 2500;
		
		/// <summary>
		/// Opisuje, które encje zostały ostatnio wstawione do wiadomości e-mail dla tej encji
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("insertintoemailmruxml")]
		public string InsertIntoEmailMRUXml
		{
			get
			{
				return this.GetAttributeValue<string>("insertintoemailmruxml");
			}
			set
			{
				this.SetAttributeValue<string>("InsertIntoEmailMRUXml", "insertintoemailmruxml", value);
			}
		}
		
		/// <summary>
		/// Opisuje, które formularze tej encji były ostatnio wyświetlane.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("lastviewedformxml")]
		public string LastViewedFormXml
		{
			get
			{
				return this.GetAttributeValue<string>("lastviewedformxml");
			}
			set
			{
				this.SetAttributeValue<string>("LastViewedFormXml", "lastviewedformxml", value);
			}
		}
		
		/// <summary>
		/// Lista niedawno używanych odwołań do wyszukiwania dla tej encji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("lookupmruxml")]
		public string LookupMRUXml
		{
			get
			{
				return this.GetAttributeValue<string>("lookupmruxml");
			}
			set
			{
				this.SetAttributeValue<string>("LookupMRUXml", "lookupmruxml", value);
			}
		}
		
		/// <summary>
		/// Opisuje, które karty tej encji były ostatnio używane
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("mruxml")]
		public string MRUXml
		{
			get
			{
				return this.GetAttributeValue<string>("mruxml");
			}
			set
			{
				this.SetAttributeValue<string>("MRUXml", "mruxml", value);
			}
		}
		
		/// <summary>
		/// Kod typu obiektu
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objecttypecode")]
		public System.Nullable<int> ObjectTypeCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("objecttypecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ObjectTypeCode", "objecttypecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, który jest właścicielem ustawień.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, do której to należy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu będącego właścicielem tego zapisanego widoku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika będącego właścicielem tego zapisanego widoku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Opisuje formatowanie okienka odczytu tej encji
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("readingpanexml")]
		public string ReadingPaneXml
		{
			get
			{
				return this.GetAttributeValue<string>("readingpanexml");
			}
			set
			{
				this.SetAttributeValue<string>("ReadingPaneXml", "readingpanexml", value);
			}
		}
		
		/// <summary>
		/// Opisuje, które obiekty tej encji były ostatnio wyświetlane
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("recentlyviewedxml")]
		public string RecentlyViewedXml
		{
			get
			{
				return this.GetAttributeValue<string>("recentlyviewedxml");
			}
			set
			{
				this.SetAttributeValue<string>("RecentlyViewedXml", "recentlyviewedxml", value);
			}
		}
		
		/// <summary>
		/// Określa, czy typ rekordu jest wyświetlany w książce adresowej programu Outlook
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("showinaddressbook")]
		public System.Nullable<bool> ShowInAddressBook
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("showinaddressbook");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("ShowInAddressBook", "showinaddressbook", value);
			}
		}
		
		/// <summary>
		/// Opisuje kolejność tabulacji dla tej encji
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("taborderxml")]
		public string TabOrderXml
		{
			get
			{
				return this.GetAttributeValue<string>("taborderxml");
			}
			set
			{
				this.SetAttributeValue<string>("TabOrderXml", "taborderxml", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator encji użytkownika
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userentityuisettingsid")]
		public System.Nullable<System.Guid> UserEntityUISettingsId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("userentityuisettingsid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("UserEntityUISettingsId", "userentityuisettingsid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userentityuisettingsid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.UserEntityUISettingsId = value;
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_userentityuisettings
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_userentityuisettings")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_userentityuisettings
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_userentityuisettings", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_userentityuisettings", "userentityinstancedata_userentityuisettings", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_userentityuisettings
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_userentityuisettings")]
		public Xrm.Team team_userentityuisettings
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_userentityuisettings", null);
			}
		}
		
		/// <summary>
		/// N:1 userentityuisettings_businessunit
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityuisettings_businessunit")]
		public Xrm.BusinessUnit userentityuisettings_businessunit
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("userentityuisettings_businessunit", null);
			}
		}
		
		/// <summary>
		/// N:1 userentityuisettings_owning_user
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityuisettings_owning_user")]
		public Xrm.SystemUser userentityuisettings_owning_user
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("userentityuisettings_owning_user", null);
			}
		}
	}
	
	/// <summary>
	/// Pulpity nawigacyjne należące do użytkowników.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("userform")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("UserFormSet")]
	public partial class UserForm : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public UserForm() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "userform";
		
		public const int EntityTypeCode = 1031;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył pulpit nawigacyjny.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia pulpitu nawigacyjnego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył pulpit nawigacyjny.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis pulpitu nawigacyjnego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Reprezentacja układu pulpitu nawigacyjnego w formacie XML.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("formxml")]
		public string FormXml
		{
			get
			{
				return this.GetAttributeValue<string>("formxml");
			}
			set
			{
				this.SetAttributeValue<string>("FormXml", "formxml", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował pulpit nawigacyjny.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji pulpitu nawigacyjnego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który zmodyfikował pulpit nawigacyjny.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa pulpitu nawigacyjnego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Kod reprezentujący typ rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("objecttypecode")]
		public string ObjectTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("objecttypecode");
			}
			set
			{
				this.SetAttributeValue<string>("ObjectTypeCode", "objecttypecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, który jest właścicielem pulpitu nawigacyjnego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem pulpitu nawigacyjnego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, który jest właścicielem pulpitu nawigacyjnego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem pulpitu nawigacyjnego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Typ formularza, na przykład Pulpit nawigacyjny lub Podgląd.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("type")]
		public System.Nullable<int> Type
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("type");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Type", "type", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator pulpitu nawigacyjnego użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userformid")]
		public System.Nullable<System.Guid> UserFormId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("userformid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("UserFormId", "userformid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userformid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.UserFormId = value;
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_userform
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_userform")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_userform
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_userform", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_userform", "userentityinstancedata_userform", null, value);
			}
		}
		
		/// <summary>
		/// 1:N UserForm_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("UserForm_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> UserForm_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("UserForm_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("UserForm_AsyncOperations", "UserForm_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N UserForm_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("UserForm_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> UserForm_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("UserForm_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("UserForm_BulkDeleteFailures", "UserForm_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_userform
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_userform")]
		public Xrm.BusinessUnit business_unit_userform
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_userform", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_userform_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_userform_createdby")]
		public Xrm.SystemUser lk_userform_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_userform_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_userform_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_userform_modifiedby")]
		public Xrm.SystemUser lk_userform_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_userform_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_userformbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_userformbase_createdonbehalfby")]
		public Xrm.SystemUser lk_userformbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_userformbase_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_userformbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_userformbase_modifiedonbehalfby")]
		public Xrm.SystemUser lk_userformbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_userformbase_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 team_userform
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_userform")]
		public Xrm.Team team_userform
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_userform", null);
			}
		}
		
		/// <summary>
		/// N:1 user_userform
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_userform")]
		public Xrm.SystemUser user_userform
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_userform", null);
			}
		}
	}
	
	/// <summary>
	/// Zapisane zapytanie w bazie danych, które należy do użytkownika.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("userquery")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("UserQuerySet")]
	public partial class UserQuery : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public UserQuery() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "userquery";
		
		public const int EntityTypeCode = 4230;
		
		/// <summary>
		/// Grupuj według — zaawansowane
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("advancedgroupby")]
		public string AdvancedGroupBy
		{
			get
			{
				return this.GetAttributeValue<string>("advancedgroupby");
			}
			set
			{
				this.SetAttributeValue<string>("AdvancedGroupBy", "advancedgroupby", value);
			}
		}
		
		/// <summary>
		/// Kolekcja atrybutów wyświetlanych w zapisanym widoku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("columnsetxml")]
		public string ColumnSetXml
		{
			get
			{
				return this.GetAttributeValue<string>("columnsetxml");
			}
			set
			{
				this.SetAttributeValue<string>("ColumnSetXml", "columnsetxml", value);
			}
		}
		
		/// <summary>
		/// Grupuj według — użytkownik
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("conditionalformatting")]
		public string ConditionalFormatting
		{
			get
			{
				return this.GetAttributeValue<string>("conditionalformatting");
			}
			set
			{
				this.SetAttributeValue<string>("ConditionalFormatting", "conditionalformatting", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył zapisany widok.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia zapisanego widoku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył zapytanie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis zapisanego widoku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Ciąg określający kwerendę w języku pobierania XML.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fetchxml")]
		public string FetchXml
		{
			get
			{
				return this.GetAttributeValue<string>("fetchxml");
			}
			set
			{
				this.SetAttributeValue<string>("FetchXml", "fetchxml", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("layoutxml")]
		public string LayoutXml
		{
			get
			{
				return this.GetAttributeValue<string>("layoutxml");
			}
			set
			{
				this.SetAttributeValue<string>("LayoutXml", "layoutxml", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował zapisany widok.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji zapisanego widoku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował zapytanie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa nadana zapisanemu widokowi.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, który jest właścicielem zapisanego widoku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem tego zapisanego widoku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, który jest właścicielem tego zapisanego widoku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jest właścicielem tego zapisanego widoku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zapisanego zapytania, na podstawie którego utworzono wystąpienie tego elementu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentqueryid")]
		public Microsoft.Xrm.Client.CrmEntityReference ParentQueryId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("parentqueryid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ParentQueryId", "parentqueryid", value);
			}
		}
		
		/// <summary>
		/// Typ zapisanego widoku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("querytype")]
		public System.Nullable<int> QueryType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("querytype");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("QueryType", "querytype", value);
			}
		}
		
		/// <summary>
		/// Typ encji wyświetlanej w zapisanym widoku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("returnedtypecode")]
		public string ReturnedTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("returnedtypecode");
			}
			set
			{
				this.SetAttributeValue<string>("ReturnedTypeCode", "returnedtypecode", value);
			}
		}
		
		/// <summary>
		/// Stan widoku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Przyczyna stanu widoku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zapisanego widoku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userqueryid")]
		public System.Nullable<System.Guid> UserQueryId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("userqueryid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("UserQueryId", "userqueryid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userqueryid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.UserQueryId = value;
			}
		}
		
		/// <summary>
		/// Numer wersji zapisanego widoku.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_userquery
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_userquery")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_userquery
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_userquery", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_userquery", "userentityinstancedata_userquery", null, value);
			}
		}
		
		/// <summary>
		/// 1:N UserQuery_AsyncOperations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("UserQuery_AsyncOperations")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> UserQuery_AsyncOperations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("UserQuery_AsyncOperations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("UserQuery_AsyncOperations", "UserQuery_AsyncOperations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N UserQuery_BulkDeleteFailures
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("UserQuery_BulkDeleteFailures")]
		public System.Collections.Generic.IEnumerable<Xrm.BulkDeleteFailure> UserQuery_BulkDeleteFailures
		{
			get
			{
				return this.GetRelatedEntities<Xrm.BulkDeleteFailure>("UserQuery_BulkDeleteFailures", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.BulkDeleteFailure>("UserQuery_BulkDeleteFailures", "UserQuery_BulkDeleteFailures", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_userquery
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_userquery")]
		public Xrm.BusinessUnit business_unit_userquery
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_userquery", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_userquery_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_userquery_createdby")]
		public Xrm.SystemUser lk_userquery_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_userquery_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_userquery_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_userquery_createdonbehalfby")]
		public Xrm.SystemUser lk_userquery_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_userquery_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_userquery_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_userquery_modifiedby")]
		public Xrm.SystemUser lk_userquery_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_userquery_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_userquery_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_userquery_modifiedonbehalfby")]
		public Xrm.SystemUser lk_userquery_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_userquery_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 team_userquery
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_userquery")]
		public Xrm.Team team_userquery
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_userquery", null);
			}
		}
		
		/// <summary>
		/// N:1 user_userquery
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_userquery")]
		public Xrm.SystemUser user_userquery
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_userquery", null);
			}
		}
	}
	
	/// <summary>
	/// Wykres dołączony do encji.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("userqueryvisualization")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("UserQueryVisualizationSet")]
	public partial class UserQueryVisualization : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public UserQueryVisualization() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "userqueryvisualization";
		
		public const int EntityTypeCode = 1112;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył wykres użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia wykresu użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył wykres użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Ciąg XML użyty do zdefiniowania danych bazowych wykresu użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("datadescription")]
		public string DataDescription
		{
			get
			{
				return this.GetAttributeValue<string>("datadescription");
			}
			set
			{
				this.SetAttributeValue<string>("DataDescription", "datadescription", value);
			}
		}
		
		/// <summary>
		/// Opis wykresu użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy wykres użytkownika jest domyślnym wykresem danej encji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isdefault")]
		public System.Nullable<bool> IsDefault
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isdefault");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsDefault", "isdefault", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował wykres użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji wykresu użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który zmodyfikował wykres użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa wykresu użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu, który jest właścicielem wykresu użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, która jest właścicielem tego wykresu użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, który jest właścicielem tego wykresu użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, który jest właścicielem tego wykresu użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Ciąg XML użyty do zdefiniowania właściwości prezentacji wykresu użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("presentationdescription")]
		public string PresentationDescription
		{
			get
			{
				return this.GetAttributeValue<string>("presentationdescription");
			}
			set
			{
				this.SetAttributeValue<string>("PresentationDescription", "presentationdescription", value);
			}
		}
		
		/// <summary>
		/// Typ encji, do której jest dołączony wykres użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("primaryentitytypecode")]
		public string PrimaryEntityTypeCode
		{
			get
			{
				return this.GetAttributeValue<string>("primaryentitytypecode");
			}
			set
			{
				this.SetAttributeValue<string>("PrimaryEntityTypeCode", "primaryentitytypecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator wykresu użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userqueryvisualizationid")]
		public System.Nullable<System.Guid> UserQueryVisualizationId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("userqueryvisualizationid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("UserQueryVisualizationId", "userqueryvisualizationid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userqueryvisualizationid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.UserQueryVisualizationId = value;
			}
		}
		
		/// <summary>
		/// Numer wersji wykresu użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zasobu sieci Web, który będzie wyświetlany na wykresie użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("webresourceid")]
		public Microsoft.Xrm.Client.CrmEntityReference WebResourceId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("webresourceid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("WebResourceId", "webresourceid", value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_userqueryvisualization
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_userqueryvisualization")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_userqueryvisualization
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_userqueryvisualization", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_userqueryvisualization", "userentityinstancedata_userqueryvisualization", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_userqueryvisualizations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_userqueryvisualizations")]
		public Xrm.BusinessUnit business_unit_userqueryvisualizations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_userqueryvisualizations", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_userqueryvisualization_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_userqueryvisualization_createdby")]
		public Xrm.SystemUser lk_userqueryvisualization_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_userqueryvisualization_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_userqueryvisualization_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_userqueryvisualization_modifiedby")]
		public Xrm.SystemUser lk_userqueryvisualization_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_userqueryvisualization_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_userqueryvisualizationbase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_userqueryvisualizationbase_createdonbehalfby")]
		public Xrm.SystemUser lk_userqueryvisualizationbase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_userqueryvisualizationbase_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_userqueryvisualizationbase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_userqueryvisualizationbase_modifiedonbehalfby")]
		public Xrm.SystemUser lk_userqueryvisualizationbase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_userqueryvisualizationbase_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 team_userqueryvisualizations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_userqueryvisualizations")]
		public Xrm.Team team_userqueryvisualizations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_userqueryvisualizations", null);
			}
		}
		
		/// <summary>
		/// N:1 user_userqueryvisualizations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_userqueryvisualizations")]
		public Xrm.SystemUser user_userqueryvisualizations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_userqueryvisualizations", null);
			}
		}
		
		/// <summary>
		/// N:1 webresource_userqueryvisualizations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("webresourceid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("webresource_userqueryvisualizations")]
		public Xrm.WebResource webresource_userqueryvisualizations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.WebResource>("webresource_userqueryvisualizations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.WebResource>("webresource_userqueryvisualizations", "webresource_userqueryvisualizations", null, value);
			}
		}
	}
	
	/// <summary>
	/// Preferowane ustawienia użytkownika.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("usersettings")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("UserSettingsSet")]
	public partial class UserSettings : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public UserSettings() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "usersettings";
		
		public const int EntityTypeCode = 150;
		
		/// <summary>
		/// Normalna częstotliwość sondowania używana przy synchronizacji książki adresowej w programie Outlook pakietu Microsoft Office.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("addressbooksyncinterval")]
		public System.Nullable<int> AddressBookSyncInterval
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("addressbooksyncinterval");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("AddressBookSyncInterval", "addressbooksyncinterval", value);
			}
		}
		
		/// <summary>
		/// Domyślny tryb szukania zaawansowanego, taki jak tryb prosty lub szczegółowy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("advancedfindstartupmode")]
		public System.Nullable<int> AdvancedFindStartupMode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("advancedfindstartupmode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("AdvancedFindStartupMode", "advancedfindstartupmode", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy użytkownik chce ustawić poświadczenia dla poczty e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("allowemailcredentials")]
		public System.Nullable<bool> AllowEmailCredentials
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("allowemailcredentials");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("AllowEmailCredentials", "allowemailcredentials", value);
			}
		}
		
		/// <summary>
		/// Określenie godzin przedpołudniowych, które będzie używane w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("amdesignator")]
		public string AMDesignator
		{
			get
			{
				return this.GetAttributeValue<string>("amdesignator");
			}
			set
			{
				this.SetAttributeValue<string>("AMDesignator", "amdesignator", value);
			}
		}
		
		/// <summary>
		/// Automatyczne tworzenie kontaktu po awansowaniu klienta
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("autocreatecontactonpromote")]
		public System.Nullable<int> AutoCreateContactOnPromote
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("autocreatecontactonpromote");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("AutoCreateContactOnPromote", "autocreatecontactonpromote", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, z którą jest skojarzony użytkownik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		public System.Nullable<System.Guid> BusinessUnitId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("businessunitid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("BusinessUnitId", "businessunitid", value);
			}
		}
		
		/// <summary>
		/// Typ kalendarza dla systemu — domyślnie ustawiona na Gregoriański (Stany Zjednoczone).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("calendartype")]
		public System.Nullable<int> CalendarType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("calendartype");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("CalendarType", "calendartype", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył ustawienia użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia obiektu ustawień użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który utworzył ustawienia użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Liczba cyfr po przecinku, która może być stosowana w zapisie waluty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("currencydecimalprecision")]
		[System.ObsoleteAttribute()]
		public System.Nullable<int> CurrencyDecimalPrecision
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("currencydecimalprecision");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("CurrencyDecimalPrecision", "currencydecimalprecision", value);
			}
		}
		
		/// <summary>
		/// Informacje dotyczące sposobu umieszczania symboli walut w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("currencyformatcode")]
		public System.Nullable<int> CurrencyFormatCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("currencyformatcode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("CurrencyFormatCode", "currencyformatcode", value);
			}
		}
		
		/// <summary>
		/// Symbol waluty używany w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("currencysymbol")]
		public string CurrencySymbol
		{
			get
			{
				return this.GetAttributeValue<string>("currencysymbol");
			}
			set
			{
				this.SetAttributeValue<string>("CurrencySymbol", "currencysymbol", value);
			}
		}
		
		/// <summary>
		/// Informacje określające poziom sprawdzania poprawności danych w arkuszach programu Excel eksportowanych w formacie odpowiednim do zaimportowania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("datavalidationmodeforexporttoexcel")]
		public System.Nullable<int> DataValidationModeForExportToExcel
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("datavalidationmodeforexporttoexcel");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("DataValidationModeForExportToExcel", "datavalidationmodeforexporttoexcel", value);
			}
		}
		
		/// <summary>
		/// Informacje dotyczące sposobu wyświetlania dat w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("dateformatcode")]
		public System.Nullable<int> DateFormatCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("dateformatcode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("DateFormatCode", "dateformatcode", value);
			}
		}
		
		/// <summary>
		/// Ciąg określający sposób wyświetlania dat w całym programie Microsoft CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("dateformatstring")]
		public string DateFormatString
		{
			get
			{
				return this.GetAttributeValue<string>("dateformatstring");
			}
			set
			{
				this.SetAttributeValue<string>("DateFormatString", "dateformatstring", value);
			}
		}
		
		/// <summary>
		/// Znak używany do oddzielania miesiąca, dnia i roku w dacie w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("dateseparator")]
		public string DateSeparator
		{
			get
			{
				return this.GetAttributeValue<string>("dateseparator");
			}
			set
			{
				this.SetAttributeValue<string>("DateSeparator", "dateseparator", value);
			}
		}
		
		/// <summary>
		/// Symbol miejsc dziesiętnych, który będzie używany w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("decimalsymbol")]
		public string DecimalSymbol
		{
			get
			{
				return this.GetAttributeValue<string>("decimalsymbol");
			}
			set
			{
				this.SetAttributeValue<string>("DecimalSymbol", "decimalsymbol", value);
			}
		}
		
		/// <summary>
		/// Domyślny widok kalendarza dla użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("defaultcalendarview")]
		public System.Nullable<int> DefaultCalendarView
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("defaultcalendarview");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("DefaultCalendarView", "defaultcalendarview", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator domyślnego pulpitu nawigacyjnego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("defaultdashboardid")]
		public System.Nullable<System.Guid> DefaultDashboardId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("defaultdashboardid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.Guid>>("DefaultDashboardId", "defaultdashboardid", value);
			}
		}
		
		/// <summary>
		/// Hasło poczty e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("emailpassword")]
		public string EmailPassword
		{
			get
			{
				return this.GetAttributeValue<string>("emailpassword");
			}
			set
			{
				this.SetAttributeValue<string>("EmailPassword", "emailpassword", value);
			}
		}
		
		/// <summary>
		/// Nazwa użytkownika poczty e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("emailusername")]
		public string EmailUsername
		{
			get
			{
				return this.GetAttributeValue<string>("emailusername");
			}
			set
			{
				this.SetAttributeValue<string>("EmailUsername", "emailusername", value);
			}
		}
		
		/// <summary>
		/// Wskazuje tryb formularza, który ma być użyty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("entityformmode")]
		public System.Nullable<int> EntityFormMode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("entityformmode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("EntityFormMode", "entityformmode", value);
			}
		}
		
		/// <summary>
		/// Kolejność wyświetlania nazw w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fullnameconventioncode")]
		public System.Nullable<int> FullNameConventionCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("fullnameconventioncode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("FullNameConventionCode", "fullnameconventioncode", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy jest włączone wyświetlanie na listach okienka Rozpoczynanie pracy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("getstartedpanecontentenabled")]
		public System.Nullable<bool> GetStartedPaneContentEnabled
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("getstartedpanecontentenabled");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("GetStartedPaneContentEnabled", "getstartedpanecontentenabled", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator języka Pomocy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("helplanguageid")]
		public System.Nullable<int> HelpLanguageId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("helplanguageid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("HelpLanguageId", "helplanguageid", value);
			}
		}
		
		/// <summary>
		/// Strona główna witryny sieci Web użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("homepagearea")]
		public string HomepageArea
		{
			get
			{
				return this.GetAttributeValue<string>("homepagearea");
			}
			set
			{
				this.SetAttributeValue<string>("HomepageArea", "homepagearea", value);
			}
		}
		
		/// <summary>
		/// Konfiguracja układu strony głównej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("homepagelayout")]
		public string HomepageLayout
		{
			get
			{
				return this.GetAttributeValue<string>("homepagelayout");
			}
			set
			{
				this.SetAttributeValue<string>("HomepageLayout", "homepagelayout", value);
			}
		}
		
		/// <summary>
		/// Strona witryny sieci Web użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("homepagesubarea")]
		public string HomepageSubarea
		{
			get
			{
				return this.GetAttributeValue<string>("homepagesubarea");
			}
			set
			{
				this.SetAttributeValue<string>("HomepageSubarea", "homepagesubarea", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy na koncie użytkownika mają być ignorowane niechciane wiadomości e-mail (przestarzałe).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ignoreunsolicitedemail")]
		public System.Nullable<bool> IgnoreUnsolicitedEmail
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ignoreunsolicitedemail");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IgnoreUnsolicitedEmail", "ignoreunsolicitedemail", value);
			}
		}
		
		/// <summary>
		/// Metoda filtrowania przychodzących wiadomości e-mail.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("incomingemailfilteringmethod")]
		public System.Nullable<int> IncomingEmailFilteringMethod
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("incomingemailfilteringmethod");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("IncomingEmailFilteringMethod", "incomingemailfilteringmethod", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy jest włączone wykrywanie duplikatów podczas przechodzenia do trybu online.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isduplicatedetectionenabledwhengoingonline")]
		public System.Nullable<bool> IsDuplicateDetectionEnabledWhenGoingOnline
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("isduplicatedetectionenabledwhengoingonline");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsDuplicateDetectionEnabledWhenGoingOnline", "isduplicatedetectionenabledwhengoingonline", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy jest włączone wysyłanie z uprawnieniami innego użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("issendasallowed")]
		public System.Nullable<bool> IsSendAsAllowed
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("issendasallowed");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("IsSendAsAllowed", "issendasallowed", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator ustawień regionalnych użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("localeid")]
		public System.Nullable<int> LocaleId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("localeid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("LocaleId", "localeid", value);
			}
		}
		
		/// <summary>
		/// Informacje dotyczące sposobu wyświetlania dat długich w programie Microsoft CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("longdateformatcode")]
		public System.Nullable<int> LongDateFormatCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("longdateformatcode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("LongDateFormatCode", "longdateformatcode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował ustawienia użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji obiektu ustawień użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika delegowanego, który jako ostatni zmodyfikował ustawienia użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Informacje dotyczące sposobu wyświetlania ujemnych wartości walutowych w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("negativecurrencyformatcode")]
		public System.Nullable<int> NegativeCurrencyFormatCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("negativecurrencyformatcode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("NegativeCurrencyFormatCode", "negativecurrencyformatcode", value);
			}
		}
		
		/// <summary>
		/// Informacje dotyczące sposobu wyświetlania liczb ujemnych w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("negativeformatcode")]
		public System.Nullable<int> NegativeFormatCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("negativeformatcode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("NegativeFormatCode", "negativeformatcode", value);
			}
		}
		
		/// <summary>
		/// Następny numer śledzenia.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("nexttrackingnumber")]
		public System.Nullable<int> NextTrackingNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("nexttrackingnumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("NextTrackingNumber", "nexttrackingnumber", value);
			}
		}
		
		/// <summary>
		/// Informacje dotyczące sposobu grupowania liczb w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("numbergroupformat")]
		public string NumberGroupFormat
		{
			get
			{
				return this.GetAttributeValue<string>("numbergroupformat");
			}
			set
			{
				this.SetAttributeValue<string>("NumberGroupFormat", "numbergroupformat", value);
			}
		}
		
		/// <summary>
		/// Symbol rozdzielania liczb, który będzie używany w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("numberseparator")]
		public string NumberSeparator
		{
			get
			{
				return this.GetAttributeValue<string>("numberseparator");
			}
			set
			{
				this.SetAttributeValue<string>("NumberSeparator", "numberseparator", value);
			}
		}
		
		/// <summary>
		/// Normalna częstotliwość sondowania używana przy synchronizacji w trybie offline w tle w programie Outlook pakietu Microsoft Office.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("offlinesyncinterval")]
		public System.Nullable<int> OfflineSyncInterval
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("offlinesyncinterval");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("OfflineSyncInterval", "offlinesyncinterval", value);
			}
		}
		
		/// <summary>
		/// Normalna częstotliwość sondowania stosowana w celu synchronizacji rekordów w programie Outlook pakietu Microsoft Office.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("outlooksyncinterval")]
		public System.Nullable<int> OutlookSyncInterval
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("outlooksyncinterval");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("OutlookSyncInterval", "outlooksyncinterval", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, ile elementów ma być wyświetlanych na stronie w widokach list.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("paginglimit")]
		public System.Nullable<int> PagingLimit
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("paginglimit");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("PagingLimit", "paginglimit", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("personalizationsettings")]
		public string PersonalizationSettings
		{
			get
			{
				return this.GetAttributeValue<string>("personalizationsettings");
			}
			set
			{
				this.SetAttributeValue<string>("PersonalizationSettings", "personalizationsettings", value);
			}
		}
		
		/// <summary>
		/// Określenie godzin popołudniowych, które będzie używane w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pmdesignator")]
		public string PMDesignator
		{
			get
			{
				return this.GetAttributeValue<string>("pmdesignator");
			}
			set
			{
				this.SetAttributeValue<string>("PMDesignator", "pmdesignator", value);
			}
		}
		
		/// <summary>
		/// Liczba cyfr po przecinku, która może być stosowana w zapisie ceny.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pricingdecimalprecision")]
		[System.ObsoleteAttribute()]
		public System.Nullable<int> PricingDecimalPrecision
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("pricingdecimalprecision");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("PricingDecimalPrecision", "pricingdecimalprecision", value);
			}
		}
		
		/// <summary>
		/// Lista wyboru preferencji użytkownika dotyczących raportowania błędów skryptów.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("reportscripterrors")]
		public System.Nullable<int> ReportScriptErrors
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("reportscripterrors");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("ReportScriptErrors", "reportscripterrors", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy w kalendarzach programu Microsoft Dynamics CRM mają być wyświetlane numery tygodni.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("showweeknumber")]
		public System.Nullable<bool> ShowWeekNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("showweeknumber");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("ShowWeekNumber", "showweeknumber", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy podczas synchronizacji programu Outlook pakietu Microsoft Office ustawiane jest pole firmy elementów programu Outlook.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("synccontactcompany")]
		public System.Nullable<bool> SyncContactCompany
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("synccontactcompany");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("SyncContactCompany", "synccontactcompany", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("systemuserid")]
		public System.Nullable<System.Guid> SystemUserId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("systemuserid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("SystemUserId", "systemuserid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("systemuserid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.SystemUserId = value;
			}
		}
		
		/// <summary>
		/// Informacje dotyczące sposobu wyświetlania godziny w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timeformatcode")]
		public System.Nullable<int> TimeFormatCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timeformatcode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeFormatCode", "timeformatcode", value);
			}
		}
		
		/// <summary>
		/// Tekst określający sposób wyświetlania godziny w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timeformatstring")]
		public string TimeFormatString
		{
			get
			{
				return this.GetAttributeValue<string>("timeformatstring");
			}
			set
			{
				this.SetAttributeValue<string>("TimeFormatString", "timeformatstring", value);
			}
		}
		
		/// <summary>
		/// Tekst określający sposób wyświetlania godziny w programie Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timeseparator")]
		public string TimeSeparator
		{
			get
			{
				return this.GetAttributeValue<string>("timeseparator");
			}
			set
			{
				this.SetAttributeValue<string>("TimeSeparator", "timeseparator", value);
			}
		}
		
		/// <summary>
		/// Dostosowywanie lokalnej strefy czasowej użytkownika (wartość obliczana automatycznie przez system na podstawie wybranej strefy czasowej).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonebias")]
		public System.Nullable<int> TimeZoneBias
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezonebias");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneBias", "timezonebias", value);
			}
		}
		
		/// <summary>
		/// Lokalna strefa czasowa użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonecode")]
		public System.Nullable<int> TimeZoneCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezonecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneCode", "timezonecode", value);
			}
		}
		
		/// <summary>
		/// Dostosowywanie czasu letniego lokalnej strefy czasowej użytkownika (wartość obliczana automatycznie przez system na podstawie wybranej strefy czasowej).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonedaylightbias")]
		public System.Nullable<int> TimeZoneDaylightBias
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezonedaylightbias");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneDaylightBias", "timezonedaylightbias", value);
			}
		}
		
		/// <summary>
		/// Dzień czasu letniego w lokalnej strefie czasowej użytkownika (wartość obliczana automatycznie przez system na podstawie wybranej strefy czasowej).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonedaylightday")]
		public System.Nullable<int> TimeZoneDaylightDay
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezonedaylightday");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneDaylightDay", "timezonedaylightday", value);
			}
		}
		
		/// <summary>
		/// Dzień tygodnia czasu letniego w lokalnej strefie czasowej użytkownika (wartość obliczana automatycznie przez system na podstawie wybranej strefy czasowej).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonedaylightdayofweek")]
		public System.Nullable<int> TimeZoneDaylightDayOfWeek
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezonedaylightdayofweek");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneDaylightDayOfWeek", "timezonedaylightdayofweek", value);
			}
		}
		
		/// <summary>
		/// Godzina czasu letniego w lokalnej strefie czasowej użytkownika (wartość obliczana automatycznie przez system na podstawie wybranej strefy czasowej).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonedaylighthour")]
		public System.Nullable<int> TimeZoneDaylightHour
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezonedaylighthour");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneDaylightHour", "timezonedaylighthour", value);
			}
		}
		
		/// <summary>
		/// Minuta czasu letniego w lokalnej strefie czasowej użytkownika (wartość obliczana automatycznie przez system na podstawie wybranej strefy czasowej).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonedaylightminute")]
		public System.Nullable<int> TimeZoneDaylightMinute
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezonedaylightminute");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneDaylightMinute", "timezonedaylightminute", value);
			}
		}
		
		/// <summary>
		/// Miesiąc czasu letniego w lokalnej strefie czasowej użytkownika (wartość obliczana automatycznie przez system na podstawie wybranej strefy czasowej).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonedaylightmonth")]
		public System.Nullable<int> TimeZoneDaylightMonth
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezonedaylightmonth");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneDaylightMonth", "timezonedaylightmonth", value);
			}
		}
		
		/// <summary>
		/// Sekunda czasu letniego w lokalnej strefie czasowej użytkownika (wartość obliczana automatycznie przez system na podstawie wybranej strefy czasowej).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonedaylightsecond")]
		public System.Nullable<int> TimeZoneDaylightSecond
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezonedaylightsecond");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneDaylightSecond", "timezonedaylightsecond", value);
			}
		}
		
		/// <summary>
		/// Rok czasu letniego w lokalnej strefie czasowej użytkownika (wartość obliczana automatycznie przez system na podstawie wybranej strefy czasowej).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonedaylightyear")]
		public System.Nullable<int> TimeZoneDaylightYear
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezonedaylightyear");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneDaylightYear", "timezonedaylightyear", value);
			}
		}
		
		/// <summary>
		/// Różnica czasu standardowego w lokalnej strefie czasowej użytkownika (wartość obliczana automatycznie przez system na podstawie wybranej strefy czasowej).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonestandardbias")]
		public System.Nullable<int> TimeZoneStandardBias
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezonestandardbias");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneStandardBias", "timezonestandardbias", value);
			}
		}
		
		/// <summary>
		/// Standardowy dzień w lokalnej strefie czasowej użytkownika (wartość obliczana automatycznie przez system na podstawie wybranej strefy czasowej).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonestandardday")]
		public System.Nullable<int> TimeZoneStandardDay
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezonestandardday");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneStandardDay", "timezonestandardday", value);
			}
		}
		
		/// <summary>
		/// Standardowy dzień tygodnia w lokalnej strefie czasowej użytkownika (wartość obliczana automatycznie przez system na podstawie wybranej strefy czasowej).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonestandarddayofweek")]
		public System.Nullable<int> TimeZoneStandardDayOfWeek
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezonestandarddayofweek");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneStandardDayOfWeek", "timezonestandarddayofweek", value);
			}
		}
		
		/// <summary>
		/// Standardowa godzina w lokalnej strefie czasowej użytkownika (wartość obliczana automatycznie przez system na podstawie wybranej strefy czasowej).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonestandardhour")]
		public System.Nullable<int> TimeZoneStandardHour
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezonestandardhour");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneStandardHour", "timezonestandardhour", value);
			}
		}
		
		/// <summary>
		/// Standardowa minuta w lokalnej strefie czasowej użytkownika (wartość obliczana automatycznie przez system na podstawie wybranej strefy czasowej).
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonestandardminute")]
		public System.Nullable<int> TimeZoneStandardMinute
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezonestandardminute");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneStandardMinute", "timezonestandardminute", value);
			}
		}
		
		/// <summary>
		/// Pierwszy miesiąc czasu standardowego lokalnej strefy czasowej dla użytkownika. Obliczany przez system na podstawie wybranej strefy czasowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonestandardmonth")]
		public System.Nullable<int> TimeZoneStandardMonth
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezonestandardmonth");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneStandardMonth", "timezonestandardmonth", value);
			}
		}
		
		/// <summary>
		/// Pierwsza sekunda czasu standardowego lokalnej strefy czasowej dla użytkownika. Obliczana przez system na podstawie wybranej strefy czasowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonestandardsecond")]
		public System.Nullable<int> TimeZoneStandardSecond
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezonestandardsecond");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneStandardSecond", "timezonestandardsecond", value);
			}
		}
		
		/// <summary>
		/// Pierwszy rok czasu standardowego lokalnej strefy czasowej dla użytkownika. Obliczany przez system na podstawie wybranej strefy czasowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezonestandardyear")]
		public System.Nullable<int> TimeZoneStandardYear
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("timezonestandardyear");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TimeZoneStandardYear", "timezonestandardyear", value);
			}
		}
		
		/// <summary>
		/// Identyfikator tokenu śledzącego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("trackingtokenid")]
		public System.Nullable<int> TrackingTokenId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("trackingtokenid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("TrackingTokenId", "trackingtokenid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator domyślnej waluty użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		public Microsoft.Xrm.Client.CrmEntityReference TransactionCurrencyId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("transactioncurrencyid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("TransactionCurrencyId", "transactioncurrencyid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator języka interfejsu użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("uilanguageid")]
		public System.Nullable<int> UILanguageId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("uilanguageid");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("UILanguageId", "uilanguageid", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy do tworzenia nowych terminów używać formularza terminu programu Microsoft Dynamics CRM dostępnego w programie Outlook pakietu Microsoft Office.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("usecrmformforappointment")]
		public System.Nullable<bool> UseCrmFormForAppointment
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("usecrmformforappointment");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("UseCrmFormForAppointment", "usecrmformforappointment", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy do tworzenia nowych kontaktów używać formularza kontaktu programu Microsoft Dynamics CRM dostępnego w programie Outlook pakietu Microsoft Office.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("usecrmformforcontact")]
		public System.Nullable<bool> UseCrmFormForContact
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("usecrmformforcontact");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("UseCrmFormForContact", "usecrmformforcontact", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy do tworzenia nowych wiadomości e-mail używać formularza wiadomości e-mail programu Microsoft Dynamics CRM dostępnego w programie Outlook pakietu Microsoft Office.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("usecrmformforemail")]
		public System.Nullable<bool> UseCrmFormForEmail
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("usecrmformforemail");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("UseCrmFormForEmail", "usecrmformforemail", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy do tworzenia nowych zadań używać formularza zadania programu Microsoft Dynamics CRM dostępnego w programie Outlook pakietu Microsoft Office.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("usecrmformfortask")]
		public System.Nullable<bool> UseCrmFormForTask
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("usecrmformfortask");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("UseCrmFormForTask", "usecrmformfortask", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy renderowania obrazu używane są paski obrazu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("useimagestrips")]
		public System.Nullable<bool> UseImageStrips
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("useimagestrips");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("UseImageStrips", "useimagestrips", value);
			}
		}
		
		/// <summary>
		/// Określa identyfikatory profili użytkowników w formie listy wartości rozdzielanych przecinkami.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userprofile")]
		public string UserProfile
		{
			get
			{
				return this.GetAttributeValue<string>("userprofile");
			}
			set
			{
				this.SetAttributeValue<string>("UserProfile", "userprofile", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// Układ okienka wizualizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("visualizationpanelayout")]
		public System.Nullable<int> VisualizationPaneLayout
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("visualizationpanelayout");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("VisualizationPaneLayout", "visualizationpanelayout", value);
			}
		}
		
		/// <summary>
		/// Godzina rozpoczęcia dnia roboczego użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("workdaystarttime")]
		public string WorkdayStartTime
		{
			get
			{
				return this.GetAttributeValue<string>("workdaystarttime");
			}
			set
			{
				this.SetAttributeValue<string>("WorkdayStartTime", "workdaystarttime", value);
			}
		}
		
		/// <summary>
		/// Godzina zakończenia dnia roboczego użytkownika.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("workdaystoptime")]
		public string WorkdayStopTime
		{
			get
			{
				return this.GetAttributeValue<string>("workdaystoptime");
			}
			set
			{
				this.SetAttributeValue<string>("WorkdayStopTime", "workdaystoptime", value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_user_settings
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("businessunitid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_user_settings")]
		public Xrm.BusinessUnit business_unit_user_settings
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_user_settings", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.BusinessUnit>("business_unit_user_settings", "business_unit_user_settings", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_usersettings_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_usersettings_createdonbehalfby")]
		public Xrm.SystemUser lk_usersettings_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_usersettings_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_usersettings_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_usersettings_modifiedonbehalfby")]
		public Xrm.SystemUser lk_usersettings_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_usersettings_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_usersettingsbase_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_usersettingsbase_createdby")]
		public Xrm.SystemUser lk_usersettingsbase_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_usersettingsbase_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_usersettingsbase_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_usersettingsbase_modifiedby")]
		public Xrm.SystemUser lk_usersettingsbase_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_usersettingsbase_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 transactioncurrency_usersettings
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("transactioncurrencyid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("transactioncurrency_usersettings")]
		public Xrm.TransactionCurrency transactioncurrency_usersettings
		{
			get
			{
				return this.GetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_usersettings", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.TransactionCurrency>("transactioncurrency_usersettings", "transactioncurrency_usersettings", null, value);
			}
		}
		
		/// <summary>
		/// N:1 user_settings
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("systemuserid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_settings")]
		public Xrm.SystemUser user_settings
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("user_settings", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SystemUser>("user_settings", "user_settings", null, value);
			}
		}
	}
	
	/// <summary>
	/// Dane odpowiadające plikom używanym przy tworzeniu stron sieci Web. Zasoby sieci Web udostępniają składniki po stronie klienta dostarczające niestandardowe elementy interfejsu użytkownika.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("webresource")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("WebResourceSet")]
	public partial class WebResource : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public WebResource() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "webresource";
		
		public const int EntityTypeCode = 9333;
		
		/// <summary>
		/// Informacja określająca, czy można usunąć ten składnik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("canbedeleted")]
		public Microsoft.Xrm.Sdk.BooleanManagedProperty CanBeDeleted
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("canbedeleted");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("CanBeDeleted", "canbedeleted", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// Dane zasobu sieci Web w formacie Base64.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("content")]
		public string Content
		{
			get
			{
				return this.GetAttributeValue<string>("content");
			}
			set
			{
				this.SetAttributeValue<string>("Content", "content", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył zasób sieci Web.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia zasobu sieci Web.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który utworzył zasób sieci Web.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis zasobu sieci Web.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Nazwa wyświetlana zasobu sieci Web.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("displayname")]
		public string DisplayName
		{
			get
			{
				return this.GetAttributeValue<string>("displayname");
			}
			set
			{
				this.SetAttributeValue<string>("DisplayName", "displayname", value);
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy można dostosować ten składnik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomizable")]
		public Microsoft.Xrm.Sdk.BooleanManagedProperty IsCustomizable
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("iscustomizable");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("IsCustomizable", "iscustomizable", value);
			}
		}
		
		/// <summary>
		/// Informacja o tym, czy ten składnik powinien być ukryty.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ishidden")]
		public Microsoft.Xrm.Sdk.BooleanManagedProperty IsHidden
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("ishidden");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("IsHidden", "ishidden", value);
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Język zasobu sieci Web.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("languagecode")]
		public System.Nullable<int> LanguageCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("languagecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("LanguageCode", "languagecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował zasób sieci Web.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji zasobu sieci Web.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który zmodyfikował zasób sieci Web.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa zasobu sieci Web.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator organizacji skojarzonej z zasobem sieci Web.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		public Microsoft.Xrm.Client.CrmEntityReference OrganizationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("organizationid");
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// Numer wersji oprogramowania Silverlight wymaganego podczas działania zasobu Silverlight sieci Web.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("silverlightversion")]
		public string SilverlightVersion
		{
			get
			{
				return this.GetAttributeValue<string>("silverlightversion");
			}
			set
			{
				this.SetAttributeValue<string>("SilverlightVersion", "silverlightversion", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// 
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
		public System.Nullable<long> VersionNumber
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zasobu sieci Web.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("webresourceid")]
		public System.Nullable<System.Guid> WebResourceId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("webresourceid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("WebResourceId", "webresourceid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("webresourceid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.WebResourceId = value;
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("webresourceidunique")]
		public System.Nullable<System.Guid> WebResourceIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("webresourceidunique");
			}
		}
		
		/// <summary>
		/// Lista rozwijana umożliwiająca wybranie typu zasobu sieci Web.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("webresourcetype")]
		public System.Nullable<int> WebResourceType
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("webresourcetype");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("WebResourceType", "webresourcetype", value);
			}
		}
		
		/// <summary>
		/// 1:N solution_configuration_webresource
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("solution_configuration_webresource")]
		public System.Collections.Generic.IEnumerable<Xrm.Solution> solution_configuration_webresource
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Solution>("solution_configuration_webresource", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Solution>("solution_configuration_webresource", "solution_configuration_webresource", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_webresource
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_webresource")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_webresource
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_webresource", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_webresource", "userentityinstancedata_webresource", null, value);
			}
		}
		
		/// <summary>
		/// 1:N webresource_savedqueryvisualizations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("webresource_savedqueryvisualizations")]
		public System.Collections.Generic.IEnumerable<Xrm.SavedQueryVisualization> webresource_savedqueryvisualizations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.SavedQueryVisualization>("webresource_savedqueryvisualizations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.SavedQueryVisualization>("webresource_savedqueryvisualizations", "webresource_savedqueryvisualizations", null, value);
			}
		}
		
		/// <summary>
		/// 1:N webresource_userqueryvisualizations
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("webresource_userqueryvisualizations")]
		public System.Collections.Generic.IEnumerable<Xrm.UserQueryVisualization> webresource_userqueryvisualizations
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserQueryVisualization>("webresource_userqueryvisualizations", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserQueryVisualization>("webresource_userqueryvisualizations", "webresource_userqueryvisualizations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_webresourcebase_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_webresourcebase_createdonbehalfby")]
		public Xrm.SystemUser lk_webresourcebase_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_webresourcebase_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_webresourcebase_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_webresourcebase_modifiedonbehalfby")]
		public Xrm.SystemUser lk_webresourcebase_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_webresourcebase_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 webresource_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("webresource_createdby")]
		public Xrm.SystemUser webresource_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("webresource_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 webresource_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("webresource_modifiedby")]
		public Xrm.SystemUser webresource_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("webresource_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 webresource_organization
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("webresource_organization")]
		public Xrm.Organization webresource_organization
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Organization>("webresource_organization", null);
			}
		}
	}
	
	/// <summary>
	/// Zestaw reguł logicznych definiujących kroki niezbędne w celu automatyzacji określonego procesu, zadania lub zestawu działań biznesowych.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("workflow")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("WorkflowSet")]
	public partial class Workflow : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public Workflow() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "workflow";
		
		public const int EntityTypeCode = 4703;
		
		/// <summary>
		/// Unikatowy identyfikator najnowszego rekordu aktywacji procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activeworkflowid")]
		public Microsoft.Xrm.Client.CrmEntityReference ActiveWorkflowId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("activeworkflowid");
			}
		}
		
		/// <summary>
		/// Wskazuje, czy asynchroniczne zadanie systemowe jest usuwane automatycznie po zakończeniu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("asyncautodelete")]
		public System.Nullable<bool> AsyncAutoDelete
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("asyncautodelete");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("AsyncAutoDelete", "asyncautodelete", value);
			}
		}
		
		/// <summary>
		/// Kategoria procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("category")]
		public System.Nullable<int> Category
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("category");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Category", "category", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
		public System.Nullable<int> ComponentState
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("componentstate");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył proces.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który utworzył proces.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Parametry wejściowe procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("inputparameters")]
		public string InputParameters
		{
			get
			{
				return this.GetAttributeValue<string>("inputparameters");
			}
			set
			{
				this.SetAttributeValue<string>("InputParameters", "inputparameters", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy proces został utworzony przy użyciu aplikacji sieci Web programu Microsoft Dynamics CRM.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscrmuiworkflow")]
		public System.Nullable<bool> IsCrmUIWorkflow
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("iscrmuiworkflow");
			}
		}
		
		/// <summary>
		/// Informacja określająca, czy można dostosować ten składnik.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomizable")]
		public Microsoft.Xrm.Sdk.BooleanManagedProperty IsCustomizable
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("iscustomizable");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("IsCustomizable", "iscustomizable", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy składnik rozwiązania jest częścią rozwiązania zarządzanego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
		public System.Nullable<bool> IsManaged
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
			}
		}
		
		/// <summary>
		/// Język procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("languagecode")]
		public System.Nullable<int> LanguageCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("languagecode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("LanguageCode", "languagecode", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował proces.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który jako ostatni zmodyfikował proces.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")]
		public string Name
		{
			get
			{
				return this.GetAttributeValue<string>("name");
			}
			set
			{
				this.SetAttributeValue<string>("Name", "name", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy proces może być uruchamiany na żądanie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ondemand")]
		public System.Nullable<bool> OnDemand
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("ondemand");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("OnDemand", "ondemand", value);
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
		public System.Nullable<System.DateTime> OverwriteTime
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, do której należy proces.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu, który jest właścicielem procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, do którego należy proces.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator definicji aktywacji procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentworkflowid")]
		public Microsoft.Xrm.Client.CrmEntityReference ParentWorkflowId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("parentworkflowid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator typu dodatku plug-in.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("plugintypeid")]
		public Microsoft.Xrm.Client.CrmEntityReference PluginTypeId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("plugintypeid");
			}
		}
		
		/// <summary>
		/// Encja podstawowa procesu. Proces może zostać skojarzony z jedną operacją zestawu SDK zdefiniowaną w encji podstawowej lub z większą ich liczbą.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("primaryentity")]
		public string PrimaryEntity
		{
			get
			{
				return this.GetAttributeValue<string>("primaryentity");
			}
			set
			{
				this.SetAttributeValue<string>("PrimaryEntity", "primaryentity", value);
			}
		}
		
		/// <summary>
		/// Zakres procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("scope")]
		public System.Nullable<int> Scope
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("scope");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Scope", "scope", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rozwiązania.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
		public System.Nullable<System.Guid> SolutionId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
			}
		}
		
		/// <summary>
		/// Stan procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
		public System.Nullable<int> StateCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statecode");
			}
		}
		
		/// <summary>
		/// Dodatkowe informacje o stanie procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
		public System.Nullable<int> StatusCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("statuscode");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("StatusCode", "statuscode", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy proces może zostać dołączony do innego procesu jako proces podrzędny.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("subprocess")]
		public System.Nullable<bool> Subprocess
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("subprocess");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("Subprocess", "subprocess", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy proces będzie wyzwalany przy tworzeniu encji podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("triggeroncreate")]
		public System.Nullable<bool> TriggerOnCreate
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("triggeroncreate");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("TriggerOnCreate", "triggeroncreate", value);
			}
		}
		
		/// <summary>
		/// Wskazuje, czy proces będzie wyzwalany przy usuwaniu encji podstawowej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("triggerondelete")]
		public System.Nullable<bool> TriggerOnDelete
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<bool>>("triggerondelete");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<bool>>("TriggerOnDelete", "triggerondelete", value);
			}
		}
		
		/// <summary>
		/// Atrybuty powodujące wyzwolenie procesu w przypadku aktualizacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("triggeronupdateattributelist")]
		public string TriggerOnUpdateAttributeList
		{
			get
			{
				return this.GetAttributeValue<string>("triggeronupdateattributelist");
			}
			set
			{
				this.SetAttributeValue<string>("TriggerOnUpdateAttributeList", "triggeronupdateattributelist", value);
			}
		}
		
		/// <summary>
		/// Typ procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("type")]
		public System.Nullable<int> Type
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("type");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Type", "type", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("workflowid")]
		public System.Nullable<System.Guid> WorkflowId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("workflowid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("WorkflowId", "workflowid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("workflowid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.WorkflowId = value;
			}
		}
		
		/// <summary>
		/// Tylko do użytku wewnętrznego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("workflowidunique")]
		public System.Nullable<System.Guid> WorkflowIdUnique
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("workflowidunique");
			}
		}
		
		/// <summary>
		/// Kod XAML definiujący proces.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("xaml")]
		public string Xaml
		{
			get
			{
				return this.GetAttributeValue<string>("xaml");
			}
			set
			{
				this.SetAttributeValue<string>("Xaml", "xaml", value);
			}
		}
		
		/// <summary>
		/// 1:N lk_asyncoperation_workflowactivationid
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_asyncoperation_workflowactivationid")]
		public System.Collections.Generic.IEnumerable<Xrm.AsyncOperation> lk_asyncoperation_workflowactivationid
		{
			get
			{
				return this.GetRelatedEntities<Xrm.AsyncOperation>("lk_asyncoperation_workflowactivationid", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.AsyncOperation>("lk_asyncoperation_workflowactivationid", "lk_asyncoperation_workflowactivationid", null, value);
			}
		}
		
		/// <summary>
		/// 1:N lk_processsession_processid
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_processsession_processid")]
		public System.Collections.Generic.IEnumerable<Xrm.ProcessSession> lk_processsession_processid
		{
			get
			{
				return this.GetRelatedEntities<Xrm.ProcessSession>("lk_processsession_processid", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.ProcessSession>("lk_processsession_processid", "lk_processsession_processid", null, value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_workflow
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_workflow")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_workflow
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_workflow", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_workflow", "userentityinstancedata_workflow", null, value);
			}
		}
		
		/// <summary>
		/// 1:N workflow_active_workflow
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("workflow_active_workflow", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.Workflow> Referencedworkflow_active_workflow
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Workflow>("workflow_active_workflow", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Workflow>("Referencedworkflow_active_workflow", "workflow_active_workflow", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// 1:N Workflow_Annotation
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("Workflow_Annotation")]
		public System.Collections.Generic.IEnumerable<Xrm.Annotation> Workflow_Annotation
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Annotation>("Workflow_Annotation", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Annotation>("Workflow_Annotation", "Workflow_Annotation", null, value);
			}
		}
		
		/// <summary>
		/// 1:N workflow_dependencies
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("workflow_dependencies")]
		public System.Collections.Generic.IEnumerable<Xrm.WorkflowDependency> workflow_dependencies
		{
			get
			{
				return this.GetRelatedEntities<Xrm.WorkflowDependency>("workflow_dependencies", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.WorkflowDependency>("workflow_dependencies", "workflow_dependencies", null, value);
			}
		}
		
		/// <summary>
		/// 1:N workflow_parent_workflow
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("workflow_parent_workflow", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
		public System.Collections.Generic.IEnumerable<Xrm.Workflow> Referencedworkflow_parent_workflow
		{
			get
			{
				return this.GetRelatedEntities<Xrm.Workflow>("workflow_parent_workflow", Microsoft.Xrm.Sdk.EntityRole.Referenced);
			}
			set
			{
				this.SetRelatedEntities<Xrm.Workflow>("Referencedworkflow_parent_workflow", "workflow_parent_workflow", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_workflow
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_workflow")]
		public Xrm.BusinessUnit business_unit_workflow
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_workflow", null);
			}
		}
		
		/// <summary>
		/// N:1 system_user_workflow
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("system_user_workflow")]
		public Xrm.SystemUser system_user_workflow
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("system_user_workflow", null);
			}
		}
		
		/// <summary>
		/// N:1 team_workflow
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_workflow")]
		public Xrm.Team team_workflow
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_workflow", null);
			}
		}
		
		/// <summary>
		/// N:1 workflow_active_workflow
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activeworkflowid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("workflow_active_workflow", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.Workflow Referencingworkflow_active_workflow
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Workflow>("workflow_active_workflow", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
		}
		
		/// <summary>
		/// N:1 workflow_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("workflow_createdby")]
		public Xrm.SystemUser workflow_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("workflow_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 workflow_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("workflow_createdonbehalfby")]
		public Xrm.SystemUser workflow_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("workflow_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 workflow_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("workflow_modifiedby")]
		public Xrm.SystemUser workflow_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("workflow_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 workflow_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("workflow_modifiedonbehalfby")]
		public Xrm.SystemUser workflow_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("workflow_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 workflow_parent_workflow
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentworkflowid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("workflow_parent_workflow", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
		public Xrm.Workflow Referencingworkflow_parent_workflow
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Workflow>("workflow_parent_workflow", Microsoft.Xrm.Sdk.EntityRole.Referencing);
			}
		}
	}
	
	/// <summary>
	/// Zależności procesu.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("workflowdependency")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("WorkflowDependencySet")]
	public partial class WorkflowDependency : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public WorkflowDependency() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "workflowdependency";
		
		public const int EntityTypeCode = 4704;
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył zależność procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia zależności procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który utworzył zależność procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Nazwa encji używanej w procesie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customentityname")]
		public string CustomEntityName
		{
			get
			{
				return this.GetAttributeValue<string>("customentityname");
			}
			set
			{
				this.SetAttributeValue<string>("CustomEntityName", "customentityname", value);
			}
		}
		
		/// <summary>
		/// Nazwa atrybutu używanego w procesie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("dependentattributename")]
		public string DependentAttributeName
		{
			get
			{
				return this.GetAttributeValue<string>("dependentattributename");
			}
			set
			{
				this.SetAttributeValue<string>("DependentAttributeName", "dependentattributename", value);
			}
		}
		
		/// <summary>
		/// Nazwa encji używanej w procesie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("dependententityname")]
		public string DependentEntityName
		{
			get
			{
				return this.GetAttributeValue<string>("dependententityname");
			}
			set
			{
				this.SetAttributeValue<string>("DependentEntityName", "dependententityname", value);
			}
		}
		
		/// <summary>
		/// Rozdzielona przecinkami lista atrybutów, które zostaną przekazane do wystąpienia procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("entityattributes")]
		public string EntityAttributes
		{
			get
			{
				return this.GetAttributeValue<string>("entityattributes");
			}
			set
			{
				this.SetAttributeValue<string>("EntityAttributes", "entityattributes", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował zależność procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji zależności procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który jako ostatni zmodyfikował zależność procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem nadrzędnego wystąpienia przepływu pracy.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, do której należy zależność procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public System.Nullable<System.Guid> OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, do którego należy zależność procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public System.Nullable<System.Guid> OwningUser
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("owninguser");
			}
		}
		
		/// <summary>
		/// Nazwa parametru procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parametername")]
		public string ParameterName
		{
			get
			{
				return this.GetAttributeValue<string>("parametername");
			}
			set
			{
				this.SetAttributeValue<string>("ParameterName", "parametername", value);
			}
		}
		
		/// <summary>
		/// W pełni kwalifikowana nazwa typu aparatu CLR dla parametru lokalnego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parametertype")]
		public string ParameterType
		{
			get
			{
				return this.GetAttributeValue<string>("parametertype");
			}
			set
			{
				this.SetAttributeValue<string>("ParameterType", "parametertype", value);
			}
		}
		
		/// <summary>
		/// Atrybut encji podstawowej określający encję pokrewną.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("relatedattributename")]
		public string RelatedAttributeName
		{
			get
			{
				return this.GetAttributeValue<string>("relatedattributename");
			}
			set
			{
				this.SetAttributeValue<string>("RelatedAttributeName", "relatedattributename", value);
			}
		}
		
		/// <summary>
		/// Nazwa encji pokrewnej.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("relatedentityname")]
		public string RelatedEntityName
		{
			get
			{
				return this.GetAttributeValue<string>("relatedentityname");
			}
			set
			{
				this.SetAttributeValue<string>("RelatedEntityName", "relatedentityname", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator komunikatu zestawu SDK.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageid")]
		public Microsoft.Xrm.Client.CrmEntityReference SdkMessageId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("sdkmessageid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("SdkMessageId", "sdkmessageid", value);
			}
		}
		
		/// <summary>
		/// Typ zależności procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("type")]
		public System.Nullable<int> Type
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("type");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Type", "type", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zależności procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("workflowdependencyid")]
		public System.Nullable<System.Guid> WorkflowDependencyId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("workflowdependencyid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("WorkflowDependencyId", "workflowdependencyid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("workflowdependencyid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.WorkflowDependencyId = value;
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator procesu, z którym skojarzona jest zależność.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("workflowid")]
		public Microsoft.Xrm.Client.CrmEntityReference WorkflowId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("workflowid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("WorkflowId", "workflowid", value);
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_workflowdependency
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_workflowdependency")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_workflowdependency
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_workflowdependency", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_workflowdependency", "userentityinstancedata_workflowdependency", null, value);
			}
		}
		
		/// <summary>
		/// N:1 sdkmessageid_workflow_dependency
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessageid_workflow_dependency")]
		public Xrm.SdkMessage sdkmessageid_workflow_dependency
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SdkMessage>("sdkmessageid_workflow_dependency", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.SdkMessage>("sdkmessageid_workflow_dependency", "sdkmessageid_workflow_dependency", null, value);
			}
		}
		
		/// <summary>
		/// N:1 workflow_dependencies
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("workflowid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("workflow_dependencies")]
		public Xrm.Workflow workflow_dependencies
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Workflow>("workflow_dependencies", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.Workflow>("workflow_dependencies", "workflow_dependencies", null, value);
			}
		}
		
		/// <summary>
		/// N:1 workflow_dependency_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("workflow_dependency_createdby")]
		public Xrm.SystemUser workflow_dependency_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("workflow_dependency_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 workflow_dependency_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("workflow_dependency_createdonbehalfby")]
		public Xrm.SystemUser workflow_dependency_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("workflow_dependency_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 workflow_dependency_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("workflow_dependency_modifiedby")]
		public Xrm.SystemUser workflow_dependency_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("workflow_dependency_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 workflow_dependency_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("workflow_dependency_modifiedonbehalfby")]
		public Xrm.SystemUser workflow_dependency_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("workflow_dependency_modifiedonbehalfby", null);
			}
		}
	}
	
	/// <summary>
	/// Dziennik służący do śledzenia wykonania procesu.
	/// </summary>
	[System.Runtime.Serialization.DataContractAttribute()]
	[Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("workflowlog")]
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	[System.Data.Services.Common.DataServiceKeyAttribute("Id")]
	[System.Data.Services.IgnorePropertiesAttribute("Item", "Attributes", "EntityState", "FormattedValues", "RelatedEntities", "ExtensionData")]
	[Microsoft.Xrm.Client.Metadata.EntityAttribute("WorkflowLogSet")]
	public partial class WorkflowLog : Microsoft.Xrm.Client.CrmEntity
	{
		
		/// <summary>
		/// Default Constructor.
		/// </summary>
		public WorkflowLog() : 
				base(EntityLogicalName)
		{
		}
		
		public const string EntityLogicalName = "workflowlog";
		
		public const int EntityTypeCode = 4706;
		
		/// <summary>
		/// Nazwa działania, które jest obecnie przetwarzane w kroku procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("activityname")]
		public string ActivityName
		{
			get
			{
				return this.GetAttributeValue<string>("activityname");
			}
			set
			{
				this.SetAttributeValue<string>("ActivityName", "activityname", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator rekordu nadrzędnego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("asyncoperationid")]
		public Microsoft.Xrm.Client.CrmEntityReference AsyncOperationId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("asyncoperationid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("AsyncOperationId", "asyncoperationid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zadania systemowego.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("childworkflowinstanceid")]
		public Microsoft.Xrm.Client.CrmEntityReference ChildWorkflowInstanceId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("childworkflowinstanceid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ChildWorkflowInstanceId", "childworkflowinstanceid", value);
			}
		}
		
		/// <summary>
		/// Data i godzina zakończenia operacji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("completedon")]
		public System.Nullable<System.DateTime> CompletedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("completedon");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<System.DateTime>>("CompletedOn", "completedon", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który utworzył wpis dziennika procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
			}
		}
		
		/// <summary>
		/// Data i godzina utworzenia wpisu dziennika procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
		public System.Nullable<System.DateTime> CreatedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który utworzył dziennik procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference CreatedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
			}
		}
		
		/// <summary>
		/// Opis kroku procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
		public string Description
		{
			get
			{
				return this.GetAttributeValue<string>("description");
			}
			set
			{
				this.SetAttributeValue<string>("Description", "description", value);
			}
		}
		
		/// <summary>
		/// Kod błędu związany z procesem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("errorcode")]
		public System.Nullable<int> ErrorCode
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("errorcode");
			}
			set
			{
				this.SetAttributeValue<System.Nullable<int>>("ErrorCode", "errorcode", value);
			}
		}
		
		/// <summary>
		/// Ciąg określający wynik działania interakcji.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("interactionactivityresult")]
		public string InteractionActivityResult
		{
			get
			{
				return this.GetAttributeValue<string>("interactionactivityresult");
			}
			set
			{
				this.SetAttributeValue<string>("InteractionActivityResult", "interactionactivityresult", value);
			}
		}
		
		/// <summary>
		/// Komunikat związany z procesem.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("message")]
		public string Message
		{
			get
			{
				return this.GetAttributeValue<string>("message");
			}
			set
			{
				this.SetAttributeValue<string>("Message", "message", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, który jako ostatni zmodyfikował wpis dziennika procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
			}
		}
		
		/// <summary>
		/// Data i godzina ostatniej modyfikacji wpisu dziennika procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
		public System.Nullable<System.DateTime> ModifiedOn
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator delegowanego użytkownika, który jako ostatni zmodyfikował dziennik procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		public Microsoft.Xrm.Client.CrmEntityReference ModifiedOnBehalfBy
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika lub zespołu będącego właścicielem procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
		public Microsoft.Xrm.Client.CrmEntityReference OwnerId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("OwnerId", "ownerid", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator jednostki biznesowej, do której należy proces.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningBusinessUnit
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator zespołu będącego właścicielem dziennika procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningTeam
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator użytkownika, do którego należy proces.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
		public Microsoft.Xrm.Client.CrmEntityReference OwningUser
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator skojarzonego rekordu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("regardingobjectid")]
		public Microsoft.Xrm.Client.CrmEntityReference RegardingObjectId
		{
			get
			{
				return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("regardingobjectid");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("RegardingObjectId", "regardingobjectid", value);
			}
		}
		
		/// <summary>
		/// Nazwa etapu procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("stagename")]
		public string StageName
		{
			get
			{
				return this.GetAttributeValue<string>("stagename");
			}
			set
			{
				this.SetAttributeValue<string>("StageName", "stagename", value);
			}
		}
		
		/// <summary>
		/// Stan kroku procesu, dla którego utworzono rekord dziennika procesu: W toku, Zakończono pomyślnie lub Niepowodzenie.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("status")]
		public System.Nullable<int> Status
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<int>>("status");
			}
			set
			{
				this.SetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("Status", "status", value);
			}
		}
		
		/// <summary>
		/// Nazwa kroku procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("stepname")]
		public string StepName
		{
			get
			{
				return this.GetAttributeValue<string>("stepname");
			}
			set
			{
				this.SetAttributeValue<string>("StepName", "stepname", value);
			}
		}
		
		/// <summary>
		/// Unikatowy identyfikator wpisu dziennika procesu.
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("workflowlogid")]
		public System.Nullable<System.Guid> WorkflowLogId
		{
			get
			{
				return this.GetAttributeValue<System.Nullable<System.Guid>>("workflowlogid");
			}
			set
			{
				this.SetPrimaryIdAttributeValue<System.Nullable<System.Guid>>("WorkflowLogId", "workflowlogid", value);
			}
		}
		
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("workflowlogid")]
		public override System.Guid Id
		{
			get
			{
				return base.Id;
			}
			set
			{
				this.WorkflowLogId = value;
			}
		}
		
		/// <summary>
		/// 1:N userentityinstancedata_workflowlog
		/// </summary>
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("userentityinstancedata_workflowlog")]
		public System.Collections.Generic.IEnumerable<Xrm.UserEntityInstanceData> userentityinstancedata_workflowlog
		{
			get
			{
				return this.GetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_workflowlog", null);
			}
			set
			{
				this.SetRelatedEntities<Xrm.UserEntityInstanceData>("userentityinstancedata_workflowlog", "userentityinstancedata_workflowlog", null, value);
			}
		}
		
		/// <summary>
		/// N:1 business_unit_workflowlogs
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_workflowlogs")]
		public Xrm.BusinessUnit business_unit_workflowlogs
		{
			get
			{
				return this.GetRelatedEntity<Xrm.BusinessUnit>("business_unit_workflowlogs", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_workflowlog_asyncoperation_childworkflow
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("childworkflowinstanceid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_workflowlog_asyncoperation_childworkflow")]
		public Xrm.AsyncOperation lk_workflowlog_asyncoperation_childworkflow
		{
			get
			{
				return this.GetRelatedEntity<Xrm.AsyncOperation>("lk_workflowlog_asyncoperation_childworkflow", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.AsyncOperation>("lk_workflowlog_asyncoperation_childworkflow", "lk_workflowlog_asyncoperation_childworkflow", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_workflowlog_asyncoperations
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("asyncoperationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_workflowlog_asyncoperations")]
		public Xrm.AsyncOperation lk_workflowlog_asyncoperations
		{
			get
			{
				return this.GetRelatedEntity<Xrm.AsyncOperation>("lk_workflowlog_asyncoperations", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.AsyncOperation>("lk_workflowlog_asyncoperations", "lk_workflowlog_asyncoperations", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_workflowlog_createdby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_workflowlog_createdby")]
		public Xrm.SystemUser lk_workflowlog_createdby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_workflowlog_createdby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_workflowlog_createdonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_workflowlog_createdonbehalfby")]
		public Xrm.SystemUser lk_workflowlog_createdonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_workflowlog_createdonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_workflowlog_modifiedby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_workflowlog_modifiedby")]
		public Xrm.SystemUser lk_workflowlog_modifiedby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_workflowlog_modifiedby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_workflowlog_modifiedonbehalfby
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_workflowlog_modifiedonbehalfby")]
		public Xrm.SystemUser lk_workflowlog_modifiedonbehalfby
		{
			get
			{
				return this.GetRelatedEntity<Xrm.SystemUser>("lk_workflowlog_modifiedonbehalfby", null);
			}
		}
		
		/// <summary>
		/// N:1 lk_workflowlog_processsession
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("asyncoperationid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_workflowlog_processsession")]
		public Xrm.ProcessSession lk_workflowlog_processsession
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ProcessSession>("lk_workflowlog_processsession", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ProcessSession>("lk_workflowlog_processsession", "lk_workflowlog_processsession", null, value);
			}
		}
		
		/// <summary>
		/// N:1 lk_workflowlog_processsession_childworkflow
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("childworkflowinstanceid")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_workflowlog_processsession_childworkflow")]
		public Xrm.ProcessSession lk_workflowlog_processsession_childworkflow
		{
			get
			{
				return this.GetRelatedEntity<Xrm.ProcessSession>("lk_workflowlog_processsession_childworkflow", null);
			}
			set
			{
				this.SetRelatedEntity<Xrm.ProcessSession>("lk_workflowlog_processsession_childworkflow", "lk_workflowlog_processsession_childworkflow", null, value);
			}
		}
		
		/// <summary>
		/// N:1 team_workflowlog
		/// </summary>
		[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
		[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_workflowlog")]
		public Xrm.Team team_workflowlog
		{
			get
			{
				return this.GetRelatedEntity<Xrm.Team>("team_workflowlog", null);
			}
		}
	}
	
	/// <summary>
	/// Represents a source of entities bound to a CRM service. It tracks and manages changes made to the retrieved entities.
	/// </summary>
	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "5.0.9690.2730")]
	public partial class XrmServiceContext : Microsoft.Xrm.Client.CrmOrganizationServiceContext
	{
		
		/// <summary>
		/// Constructor.
		/// </summary>
		public XrmServiceContext()
		{
		}
		
		/// <summary>
		/// Constructor.
		/// </summary>
		public XrmServiceContext(Microsoft.Xrm.Client.CrmConnection connection) : 
				base(connection)
		{
		}
		
		/// <summary>
		/// Constructor.
		/// </summary>
		public XrmServiceContext(string contextName) : 
				base(contextName)
		{
		}
		
		/// <summary>
		/// Constructor.
		/// </summary>
		public XrmServiceContext(Microsoft.Xrm.Sdk.IOrganizationService service) : 
				base(service)
		{
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Account"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Account> AccountSet
		{
			get
			{
				return this.CreateQuery<Xrm.Account>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.AccountLeads"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.AccountLeads> AccountLeadsSet
		{
			get
			{
				return this.CreateQuery<Xrm.AccountLeads>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ActivityMimeAttachment"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ActivityMimeAttachment> ActivityMimeAttachmentSet
		{
			get
			{
				return this.CreateQuery<Xrm.ActivityMimeAttachment>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ActivityParty"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ActivityParty> ActivityPartySet
		{
			get
			{
				return this.CreateQuery<Xrm.ActivityParty>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ActivityPointer"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ActivityPointer> ActivityPointerSet
		{
			get
			{
				return this.CreateQuery<Xrm.ActivityPointer>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Annotation"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Annotation> AnnotationSet
		{
			get
			{
				return this.CreateQuery<Xrm.Annotation>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.AnnualFiscalCalendar"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.AnnualFiscalCalendar> AnnualFiscalCalendarSet
		{
			get
			{
				return this.CreateQuery<Xrm.AnnualFiscalCalendar>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Appointment"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Appointment> AppointmentSet
		{
			get
			{
				return this.CreateQuery<Xrm.Appointment>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.AsyncOperation"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.AsyncOperation> AsyncOperationSet
		{
			get
			{
				return this.CreateQuery<Xrm.AsyncOperation>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.AttributeMap"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.AttributeMap> AttributeMapSet
		{
			get
			{
				return this.CreateQuery<Xrm.AttributeMap>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Audit"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Audit> AuditSet
		{
			get
			{
				return this.CreateQuery<Xrm.Audit>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.BulkDeleteFailure"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.BulkDeleteFailure> BulkDeleteFailureSet
		{
			get
			{
				return this.CreateQuery<Xrm.BulkDeleteFailure>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.BulkDeleteOperation"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.BulkDeleteOperation> BulkDeleteOperationSet
		{
			get
			{
				return this.CreateQuery<Xrm.BulkDeleteOperation>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.BulkOperation"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.BulkOperation> BulkOperationSet
		{
			get
			{
				return this.CreateQuery<Xrm.BulkOperation>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.BulkOperationLog"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.BulkOperationLog> BulkOperationLogSet
		{
			get
			{
				return this.CreateQuery<Xrm.BulkOperationLog>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.BusinessUnit"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.BusinessUnit> BusinessUnitSet
		{
			get
			{
				return this.CreateQuery<Xrm.BusinessUnit>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.BusinessUnitNewsArticle"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.BusinessUnitNewsArticle> BusinessUnitNewsArticleSet
		{
			get
			{
				return this.CreateQuery<Xrm.BusinessUnitNewsArticle>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Calendar"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Calendar> CalendarSet
		{
			get
			{
				return this.CreateQuery<Xrm.Calendar>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Campaign"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Campaign> CampaignSet
		{
			get
			{
				return this.CreateQuery<Xrm.Campaign>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.CampaignActivity"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.CampaignActivity> CampaignActivitySet
		{
			get
			{
				return this.CreateQuery<Xrm.CampaignActivity>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.CampaignActivityItem"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.CampaignActivityItem> CampaignActivityItemSet
		{
			get
			{
				return this.CreateQuery<Xrm.CampaignActivityItem>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.CampaignItem"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.CampaignItem> CampaignItemSet
		{
			get
			{
				return this.CreateQuery<Xrm.CampaignItem>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.CampaignResponse"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.CampaignResponse> CampaignResponseSet
		{
			get
			{
				return this.CreateQuery<Xrm.CampaignResponse>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ColumnMapping"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ColumnMapping> ColumnMappingSet
		{
			get
			{
				return this.CreateQuery<Xrm.ColumnMapping>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Competitor"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Competitor> CompetitorSet
		{
			get
			{
				return this.CreateQuery<Xrm.Competitor>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.CompetitorProduct"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.CompetitorProduct> CompetitorProductSet
		{
			get
			{
				return this.CreateQuery<Xrm.CompetitorProduct>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.CompetitorSalesLiterature"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.CompetitorSalesLiterature> CompetitorSalesLiteratureSet
		{
			get
			{
				return this.CreateQuery<Xrm.CompetitorSalesLiterature>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Connection"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Connection> ConnectionSet
		{
			get
			{
				return this.CreateQuery<Xrm.Connection>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ConnectionRole"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ConnectionRole> ConnectionRoleSet
		{
			get
			{
				return this.CreateQuery<Xrm.ConnectionRole>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ConnectionRoleAssociation"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ConnectionRoleAssociation> ConnectionRoleAssociationSet
		{
			get
			{
				return this.CreateQuery<Xrm.ConnectionRoleAssociation>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ConnectionRoleObjectTypeCode"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ConnectionRoleObjectTypeCode> ConnectionRoleObjectTypeCodeSet
		{
			get
			{
				return this.CreateQuery<Xrm.ConnectionRoleObjectTypeCode>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ConstraintBasedGroup"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ConstraintBasedGroup> ConstraintBasedGroupSet
		{
			get
			{
				return this.CreateQuery<Xrm.ConstraintBasedGroup>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Contact"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Contact> ContactSet
		{
			get
			{
				return this.CreateQuery<Xrm.Contact>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ContactInvoices"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ContactInvoices> ContactInvoicesSet
		{
			get
			{
				return this.CreateQuery<Xrm.ContactInvoices>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ContactLeads"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ContactLeads> ContactLeadsSet
		{
			get
			{
				return this.CreateQuery<Xrm.ContactLeads>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ContactOrders"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ContactOrders> ContactOrdersSet
		{
			get
			{
				return this.CreateQuery<Xrm.ContactOrders>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ContactQuotes"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ContactQuotes> ContactQuotesSet
		{
			get
			{
				return this.CreateQuery<Xrm.ContactQuotes>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Contract"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Contract> ContractSet
		{
			get
			{
				return this.CreateQuery<Xrm.Contract>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ContractDetail"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ContractDetail> ContractDetailSet
		{
			get
			{
				return this.CreateQuery<Xrm.ContractDetail>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ContractTemplate"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ContractTemplate> ContractTemplateSet
		{
			get
			{
				return this.CreateQuery<Xrm.ContractTemplate>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.CustomerAddress"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.CustomerAddress> CustomerAddressSet
		{
			get
			{
				return this.CreateQuery<Xrm.CustomerAddress>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.CustomerOpportunityRole"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.CustomerOpportunityRole> CustomerOpportunityRoleSet
		{
			get
			{
				return this.CreateQuery<Xrm.CustomerOpportunityRole>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.CustomerRelationship"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.CustomerRelationship> CustomerRelationshipSet
		{
			get
			{
				return this.CreateQuery<Xrm.CustomerRelationship>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Dependency"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Dependency> DependencySet
		{
			get
			{
				return this.CreateQuery<Xrm.Dependency>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Discount"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Discount> DiscountSet
		{
			get
			{
				return this.CreateQuery<Xrm.Discount>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.DiscountType"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.DiscountType> DiscountTypeSet
		{
			get
			{
				return this.CreateQuery<Xrm.DiscountType>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.DisplayString"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.DisplayString> DisplayStringSet
		{
			get
			{
				return this.CreateQuery<Xrm.DisplayString>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.DuplicateRecord"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.DuplicateRecord> DuplicateRecordSet
		{
			get
			{
				return this.CreateQuery<Xrm.DuplicateRecord>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.DuplicateRule"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.DuplicateRule> DuplicateRuleSet
		{
			get
			{
				return this.CreateQuery<Xrm.DuplicateRule>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.DuplicateRuleCondition"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.DuplicateRuleCondition> DuplicateRuleConditionSet
		{
			get
			{
				return this.CreateQuery<Xrm.DuplicateRuleCondition>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Email"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Email> EmailSet
		{
			get
			{
				return this.CreateQuery<Xrm.Email>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.EntityMap"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.EntityMap> EntityMapSet
		{
			get
			{
				return this.CreateQuery<Xrm.EntityMap>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Equipment"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Equipment> EquipmentSet
		{
			get
			{
				return this.CreateQuery<Xrm.Equipment>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Fax"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Fax> FaxSet
		{
			get
			{
				return this.CreateQuery<Xrm.Fax>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.FieldPermission"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.FieldPermission> FieldPermissionSet
		{
			get
			{
				return this.CreateQuery<Xrm.FieldPermission>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.FieldSecurityProfile"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.FieldSecurityProfile> FieldSecurityProfileSet
		{
			get
			{
				return this.CreateQuery<Xrm.FieldSecurityProfile>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.FixedMonthlyFiscalCalendar"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.FixedMonthlyFiscalCalendar> FixedMonthlyFiscalCalendarSet
		{
			get
			{
				return this.CreateQuery<Xrm.FixedMonthlyFiscalCalendar>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Goal"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Goal> GoalSet
		{
			get
			{
				return this.CreateQuery<Xrm.Goal>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.GoalRollupQuery"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.GoalRollupQuery> GoalRollupQuerySet
		{
			get
			{
				return this.CreateQuery<Xrm.GoalRollupQuery>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Import"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Import> ImportSet
		{
			get
			{
				return this.CreateQuery<Xrm.Import>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ImportEntityMapping"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ImportEntityMapping> ImportEntityMappingSet
		{
			get
			{
				return this.CreateQuery<Xrm.ImportEntityMapping>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ImportFile"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ImportFile> ImportFileSet
		{
			get
			{
				return this.CreateQuery<Xrm.ImportFile>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ImportJob"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ImportJob> ImportJobSet
		{
			get
			{
				return this.CreateQuery<Xrm.ImportJob>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ImportLog"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ImportLog> ImportLogSet
		{
			get
			{
				return this.CreateQuery<Xrm.ImportLog>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ImportMap"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ImportMap> ImportMapSet
		{
			get
			{
				return this.CreateQuery<Xrm.ImportMap>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Incident"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Incident> IncidentSet
		{
			get
			{
				return this.CreateQuery<Xrm.Incident>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.IncidentResolution"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.IncidentResolution> IncidentResolutionSet
		{
			get
			{
				return this.CreateQuery<Xrm.IncidentResolution>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.InvalidDependency"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.InvalidDependency> InvalidDependencySet
		{
			get
			{
				return this.CreateQuery<Xrm.InvalidDependency>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Invoice"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Invoice> InvoiceSet
		{
			get
			{
				return this.CreateQuery<Xrm.Invoice>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.InvoiceDetail"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.InvoiceDetail> InvoiceDetailSet
		{
			get
			{
				return this.CreateQuery<Xrm.InvoiceDetail>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.IsvConfig"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.IsvConfig> IsvConfigSet
		{
			get
			{
				return this.CreateQuery<Xrm.IsvConfig>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.KbArticle"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.KbArticle> KbArticleSet
		{
			get
			{
				return this.CreateQuery<Xrm.KbArticle>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.KbArticleComment"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.KbArticleComment> KbArticleCommentSet
		{
			get
			{
				return this.CreateQuery<Xrm.KbArticleComment>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.KbArticleTemplate"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.KbArticleTemplate> KbArticleTemplateSet
		{
			get
			{
				return this.CreateQuery<Xrm.KbArticleTemplate>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Lead"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Lead> LeadSet
		{
			get
			{
				return this.CreateQuery<Xrm.Lead>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.LeadAddress"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.LeadAddress> LeadAddressSet
		{
			get
			{
				return this.CreateQuery<Xrm.LeadAddress>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.LeadCompetitors"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.LeadCompetitors> LeadCompetitorsSet
		{
			get
			{
				return this.CreateQuery<Xrm.LeadCompetitors>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.LeadProduct"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.LeadProduct> LeadProductSet
		{
			get
			{
				return this.CreateQuery<Xrm.LeadProduct>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Letter"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Letter> LetterSet
		{
			get
			{
				return this.CreateQuery<Xrm.Letter>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.License"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.License> LicenseSet
		{
			get
			{
				return this.CreateQuery<Xrm.License>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.List"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.List> ListSet
		{
			get
			{
				return this.CreateQuery<Xrm.List>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ListMember"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ListMember> ListMemberSet
		{
			get
			{
				return this.CreateQuery<Xrm.ListMember>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.LookUpMapping"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.LookUpMapping> LookUpMappingSet
		{
			get
			{
				return this.CreateQuery<Xrm.LookUpMapping>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.MailMergeTemplate"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.MailMergeTemplate> MailMergeTemplateSet
		{
			get
			{
				return this.CreateQuery<Xrm.MailMergeTemplate>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Metric"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Metric> MetricSet
		{
			get
			{
				return this.CreateQuery<Xrm.Metric>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.MonthlyFiscalCalendar"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.MonthlyFiscalCalendar> MonthlyFiscalCalendarSet
		{
			get
			{
				return this.CreateQuery<Xrm.MonthlyFiscalCalendar>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.msdyn_PostAlbum"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.msdyn_PostAlbum> msdyn_PostAlbumSet
		{
			get
			{
				return this.CreateQuery<Xrm.msdyn_PostAlbum>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.msdyn_PostConfig"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.msdyn_PostConfig> msdyn_PostConfigSet
		{
			get
			{
				return this.CreateQuery<Xrm.msdyn_PostConfig>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.msdyn_PostRuleConfig"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.msdyn_PostRuleConfig> msdyn_PostRuleConfigSet
		{
			get
			{
				return this.CreateQuery<Xrm.msdyn_PostRuleConfig>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.new_new_uzytkownicy_contact"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.new_new_uzytkownicy_contact> new_new_uzytkownicy_contactSet
		{
			get
			{
				return this.CreateQuery<Xrm.new_new_uzytkownicy_contact>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.new_uzytkownicy"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.new_uzytkownicy> new_uzytkownicySet
		{
			get
			{
				return this.CreateQuery<Xrm.new_uzytkownicy>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.new_uzytkownikkontakty"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.new_uzytkownikkontakty> new_uzytkownikkontaktySet
		{
			get
			{
				return this.CreateQuery<Xrm.new_uzytkownikkontakty>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.new_zainteresowanie"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.new_zainteresowanie> new_zainteresowanieSet
		{
			get
			{
				return this.CreateQuery<Xrm.new_zainteresowanie>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Opportunity"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Opportunity> OpportunitySet
		{
			get
			{
				return this.CreateQuery<Xrm.Opportunity>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.OpportunityClose"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.OpportunityClose> OpportunityCloseSet
		{
			get
			{
				return this.CreateQuery<Xrm.OpportunityClose>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.OpportunityCompetitors"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.OpportunityCompetitors> OpportunityCompetitorsSet
		{
			get
			{
				return this.CreateQuery<Xrm.OpportunityCompetitors>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.OpportunityProduct"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.OpportunityProduct> OpportunityProductSet
		{
			get
			{
				return this.CreateQuery<Xrm.OpportunityProduct>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.OrderClose"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.OrderClose> OrderCloseSet
		{
			get
			{
				return this.CreateQuery<Xrm.OrderClose>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Organization"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Organization> OrganizationSet
		{
			get
			{
				return this.CreateQuery<Xrm.Organization>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.OrganizationUI"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.OrganizationUI> OrganizationUISet
		{
			get
			{
				return this.CreateQuery<Xrm.OrganizationUI>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.OwnerMapping"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.OwnerMapping> OwnerMappingSet
		{
			get
			{
				return this.CreateQuery<Xrm.OwnerMapping>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.PhoneCall"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.PhoneCall> PhoneCallSet
		{
			get
			{
				return this.CreateQuery<Xrm.PhoneCall>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.PickListMapping"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.PickListMapping> PickListMappingSet
		{
			get
			{
				return this.CreateQuery<Xrm.PickListMapping>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.PluginAssembly"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.PluginAssembly> PluginAssemblySet
		{
			get
			{
				return this.CreateQuery<Xrm.PluginAssembly>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.PluginType"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.PluginType> PluginTypeSet
		{
			get
			{
				return this.CreateQuery<Xrm.PluginType>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.PluginTypeStatistic"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.PluginTypeStatistic> PluginTypeStatisticSet
		{
			get
			{
				return this.CreateQuery<Xrm.PluginTypeStatistic>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Post"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Post> PostSet
		{
			get
			{
				return this.CreateQuery<Xrm.Post>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.PostComment"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.PostComment> PostCommentSet
		{
			get
			{
				return this.CreateQuery<Xrm.PostComment>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.PostFollow"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.PostFollow> PostFollowSet
		{
			get
			{
				return this.CreateQuery<Xrm.PostFollow>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.PostLike"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.PostLike> PostLikeSet
		{
			get
			{
				return this.CreateQuery<Xrm.PostLike>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.PriceLevel"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.PriceLevel> PriceLevelSet
		{
			get
			{
				return this.CreateQuery<Xrm.PriceLevel>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.PrincipalEntityMap"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.PrincipalEntityMap> PrincipalEntityMapSet
		{
			get
			{
				return this.CreateQuery<Xrm.PrincipalEntityMap>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.PrincipalObjectAttributeAccess"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.PrincipalObjectAttributeAccess> PrincipalObjectAttributeAccessSet
		{
			get
			{
				return this.CreateQuery<Xrm.PrincipalObjectAttributeAccess>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Privilege"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Privilege> PrivilegeSet
		{
			get
			{
				return this.CreateQuery<Xrm.Privilege>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ProcessSession"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ProcessSession> ProcessSessionSet
		{
			get
			{
				return this.CreateQuery<Xrm.ProcessSession>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Product"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Product> ProductSet
		{
			get
			{
				return this.CreateQuery<Xrm.Product>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ProductAssociation"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ProductAssociation> ProductAssociationSet
		{
			get
			{
				return this.CreateQuery<Xrm.ProductAssociation>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ProductPriceLevel"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ProductPriceLevel> ProductPriceLevelSet
		{
			get
			{
				return this.CreateQuery<Xrm.ProductPriceLevel>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ProductSalesLiterature"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ProductSalesLiterature> ProductSalesLiteratureSet
		{
			get
			{
				return this.CreateQuery<Xrm.ProductSalesLiterature>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ProductSubstitute"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ProductSubstitute> ProductSubstituteSet
		{
			get
			{
				return this.CreateQuery<Xrm.ProductSubstitute>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Publisher"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Publisher> PublisherSet
		{
			get
			{
				return this.CreateQuery<Xrm.Publisher>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.PublisherAddress"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.PublisherAddress> PublisherAddressSet
		{
			get
			{
				return this.CreateQuery<Xrm.PublisherAddress>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.QuarterlyFiscalCalendar"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.QuarterlyFiscalCalendar> QuarterlyFiscalCalendarSet
		{
			get
			{
				return this.CreateQuery<Xrm.QuarterlyFiscalCalendar>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Queue"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Queue> QueueSet
		{
			get
			{
				return this.CreateQuery<Xrm.Queue>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.QueueItem"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.QueueItem> QueueItemSet
		{
			get
			{
				return this.CreateQuery<Xrm.QueueItem>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Quote"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Quote> QuoteSet
		{
			get
			{
				return this.CreateQuery<Xrm.Quote>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.QuoteClose"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.QuoteClose> QuoteCloseSet
		{
			get
			{
				return this.CreateQuery<Xrm.QuoteClose>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.QuoteDetail"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.QuoteDetail> QuoteDetailSet
		{
			get
			{
				return this.CreateQuery<Xrm.QuoteDetail>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.RecurrenceRule"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.RecurrenceRule> RecurrenceRuleSet
		{
			get
			{
				return this.CreateQuery<Xrm.RecurrenceRule>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.RecurringAppointmentMaster"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.RecurringAppointmentMaster> RecurringAppointmentMasterSet
		{
			get
			{
				return this.CreateQuery<Xrm.RecurringAppointmentMaster>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.RelationshipRole"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.RelationshipRole> RelationshipRoleSet
		{
			get
			{
				return this.CreateQuery<Xrm.RelationshipRole>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.RelationshipRoleMap"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.RelationshipRoleMap> RelationshipRoleMapSet
		{
			get
			{
				return this.CreateQuery<Xrm.RelationshipRoleMap>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Report"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Report> ReportSet
		{
			get
			{
				return this.CreateQuery<Xrm.Report>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ReportCategory"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ReportCategory> ReportCategorySet
		{
			get
			{
				return this.CreateQuery<Xrm.ReportCategory>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ReportEntity"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ReportEntity> ReportEntitySet
		{
			get
			{
				return this.CreateQuery<Xrm.ReportEntity>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ReportLink"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ReportLink> ReportLinkSet
		{
			get
			{
				return this.CreateQuery<Xrm.ReportLink>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ReportVisibility"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ReportVisibility> ReportVisibilitySet
		{
			get
			{
				return this.CreateQuery<Xrm.ReportVisibility>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Resource"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Resource> ResourceSet
		{
			get
			{
				return this.CreateQuery<Xrm.Resource>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ResourceGroup"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ResourceGroup> ResourceGroupSet
		{
			get
			{
				return this.CreateQuery<Xrm.ResourceGroup>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ResourceSpec"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ResourceSpec> ResourceSpecSet
		{
			get
			{
				return this.CreateQuery<Xrm.ResourceSpec>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.RibbonCustomization"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.RibbonCustomization> RibbonCustomizationSet
		{
			get
			{
				return this.CreateQuery<Xrm.RibbonCustomization>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Role"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Role> RoleSet
		{
			get
			{
				return this.CreateQuery<Xrm.Role>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.RolePrivileges"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.RolePrivileges> RolePrivilegesSet
		{
			get
			{
				return this.CreateQuery<Xrm.RolePrivileges>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.RoleTemplatePrivileges"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.RoleTemplatePrivileges> RoleTemplatePrivilegesSet
		{
			get
			{
				return this.CreateQuery<Xrm.RoleTemplatePrivileges>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.RollupField"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.RollupField> RollupFieldSet
		{
			get
			{
				return this.CreateQuery<Xrm.RollupField>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.SalesLiterature"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.SalesLiterature> SalesLiteratureSet
		{
			get
			{
				return this.CreateQuery<Xrm.SalesLiterature>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.SalesLiteratureItem"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.SalesLiteratureItem> SalesLiteratureItemSet
		{
			get
			{
				return this.CreateQuery<Xrm.SalesLiteratureItem>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.SalesOrder"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.SalesOrder> SalesOrderSet
		{
			get
			{
				return this.CreateQuery<Xrm.SalesOrder>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.SalesOrderDetail"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.SalesOrderDetail> SalesOrderDetailSet
		{
			get
			{
				return this.CreateQuery<Xrm.SalesOrderDetail>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.SavedQuery"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.SavedQuery> SavedQuerySet
		{
			get
			{
				return this.CreateQuery<Xrm.SavedQuery>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.SavedQueryVisualization"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.SavedQueryVisualization> SavedQueryVisualizationSet
		{
			get
			{
				return this.CreateQuery<Xrm.SavedQueryVisualization>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.SdkMessage"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.SdkMessage> SdkMessageSet
		{
			get
			{
				return this.CreateQuery<Xrm.SdkMessage>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.SdkMessageFilter"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.SdkMessageFilter> SdkMessageFilterSet
		{
			get
			{
				return this.CreateQuery<Xrm.SdkMessageFilter>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.SdkMessagePair"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.SdkMessagePair> SdkMessagePairSet
		{
			get
			{
				return this.CreateQuery<Xrm.SdkMessagePair>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.SdkMessageProcessingStep"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.SdkMessageProcessingStep> SdkMessageProcessingStepSet
		{
			get
			{
				return this.CreateQuery<Xrm.SdkMessageProcessingStep>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.SdkMessageProcessingStepImage"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.SdkMessageProcessingStepImage> SdkMessageProcessingStepImageSet
		{
			get
			{
				return this.CreateQuery<Xrm.SdkMessageProcessingStepImage>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.SdkMessageProcessingStepSecureConfig"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.SdkMessageProcessingStepSecureConfig> SdkMessageProcessingStepSecureConfigSet
		{
			get
			{
				return this.CreateQuery<Xrm.SdkMessageProcessingStepSecureConfig>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.SdkMessageRequest"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.SdkMessageRequest> SdkMessageRequestSet
		{
			get
			{
				return this.CreateQuery<Xrm.SdkMessageRequest>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.SdkMessageRequestField"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.SdkMessageRequestField> SdkMessageRequestFieldSet
		{
			get
			{
				return this.CreateQuery<Xrm.SdkMessageRequestField>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.SdkMessageResponse"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.SdkMessageResponse> SdkMessageResponseSet
		{
			get
			{
				return this.CreateQuery<Xrm.SdkMessageResponse>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.SdkMessageResponseField"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.SdkMessageResponseField> SdkMessageResponseFieldSet
		{
			get
			{
				return this.CreateQuery<Xrm.SdkMessageResponseField>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.SemiAnnualFiscalCalendar"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.SemiAnnualFiscalCalendar> SemiAnnualFiscalCalendarSet
		{
			get
			{
				return this.CreateQuery<Xrm.SemiAnnualFiscalCalendar>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Service"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Service> ServiceSet
		{
			get
			{
				return this.CreateQuery<Xrm.Service>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ServiceAppointment"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ServiceAppointment> ServiceAppointmentSet
		{
			get
			{
				return this.CreateQuery<Xrm.ServiceAppointment>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ServiceContractContacts"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ServiceContractContacts> ServiceContractContactsSet
		{
			get
			{
				return this.CreateQuery<Xrm.ServiceContractContacts>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.ServiceEndpoint"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.ServiceEndpoint> ServiceEndpointSet
		{
			get
			{
				return this.CreateQuery<Xrm.ServiceEndpoint>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.SharePointDocumentLocation"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.SharePointDocumentLocation> SharePointDocumentLocationSet
		{
			get
			{
				return this.CreateQuery<Xrm.SharePointDocumentLocation>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.SharePointSite"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.SharePointSite> SharePointSiteSet
		{
			get
			{
				return this.CreateQuery<Xrm.SharePointSite>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Site"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Site> SiteSet
		{
			get
			{
				return this.CreateQuery<Xrm.Site>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.SiteMap"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.SiteMap> SiteMapSet
		{
			get
			{
				return this.CreateQuery<Xrm.SiteMap>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Solution"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Solution> SolutionSet
		{
			get
			{
				return this.CreateQuery<Xrm.Solution>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.SolutionComponent"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.SolutionComponent> SolutionComponentSet
		{
			get
			{
				return this.CreateQuery<Xrm.SolutionComponent>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Subject"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Subject> SubjectSet
		{
			get
			{
				return this.CreateQuery<Xrm.Subject>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.SubscriptionManuallyTrackedObject"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.SubscriptionManuallyTrackedObject> SubscriptionManuallyTrackedObjectSet
		{
			get
			{
				return this.CreateQuery<Xrm.SubscriptionManuallyTrackedObject>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.SystemForm"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.SystemForm> SystemFormSet
		{
			get
			{
				return this.CreateQuery<Xrm.SystemForm>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.SystemUser"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.SystemUser> SystemUserSet
		{
			get
			{
				return this.CreateQuery<Xrm.SystemUser>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.SystemUserLicenses"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.SystemUserLicenses> SystemUserLicensesSet
		{
			get
			{
				return this.CreateQuery<Xrm.SystemUserLicenses>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.SystemUserProfiles"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.SystemUserProfiles> SystemUserProfilesSet
		{
			get
			{
				return this.CreateQuery<Xrm.SystemUserProfiles>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.SystemUserRoles"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.SystemUserRoles> SystemUserRolesSet
		{
			get
			{
				return this.CreateQuery<Xrm.SystemUserRoles>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Task"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Task> TaskSet
		{
			get
			{
				return this.CreateQuery<Xrm.Task>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Team"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Team> TeamSet
		{
			get
			{
				return this.CreateQuery<Xrm.Team>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.TeamMembership"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.TeamMembership> TeamMembershipSet
		{
			get
			{
				return this.CreateQuery<Xrm.TeamMembership>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.TeamProfiles"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.TeamProfiles> TeamProfilesSet
		{
			get
			{
				return this.CreateQuery<Xrm.TeamProfiles>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.TeamRoles"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.TeamRoles> TeamRolesSet
		{
			get
			{
				return this.CreateQuery<Xrm.TeamRoles>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Template"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Template> TemplateSet
		{
			get
			{
				return this.CreateQuery<Xrm.Template>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Territory"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Territory> TerritorySet
		{
			get
			{
				return this.CreateQuery<Xrm.Territory>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.TimeZoneDefinition"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.TimeZoneDefinition> TimeZoneDefinitionSet
		{
			get
			{
				return this.CreateQuery<Xrm.TimeZoneDefinition>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.TimeZoneLocalizedName"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.TimeZoneLocalizedName> TimeZoneLocalizedNameSet
		{
			get
			{
				return this.CreateQuery<Xrm.TimeZoneLocalizedName>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.TimeZoneRule"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.TimeZoneRule> TimeZoneRuleSet
		{
			get
			{
				return this.CreateQuery<Xrm.TimeZoneRule>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.TransactionCurrency"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.TransactionCurrency> TransactionCurrencySet
		{
			get
			{
				return this.CreateQuery<Xrm.TransactionCurrency>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.TransformationMapping"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.TransformationMapping> TransformationMappingSet
		{
			get
			{
				return this.CreateQuery<Xrm.TransformationMapping>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.TransformationParameterMapping"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.TransformationParameterMapping> TransformationParameterMappingSet
		{
			get
			{
				return this.CreateQuery<Xrm.TransformationParameterMapping>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.UoM"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.UoM> UoMSet
		{
			get
			{
				return this.CreateQuery<Xrm.UoM>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.UoMSchedule"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.UoMSchedule> UoMScheduleSet
		{
			get
			{
				return this.CreateQuery<Xrm.UoMSchedule>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.UserEntityInstanceData"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.UserEntityInstanceData> UserEntityInstanceDataSet
		{
			get
			{
				return this.CreateQuery<Xrm.UserEntityInstanceData>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.UserEntityUISettings"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.UserEntityUISettings> UserEntityUISettingsSet
		{
			get
			{
				return this.CreateQuery<Xrm.UserEntityUISettings>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.UserForm"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.UserForm> UserFormSet
		{
			get
			{
				return this.CreateQuery<Xrm.UserForm>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.UserQuery"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.UserQuery> UserQuerySet
		{
			get
			{
				return this.CreateQuery<Xrm.UserQuery>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.UserQueryVisualization"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.UserQueryVisualization> UserQueryVisualizationSet
		{
			get
			{
				return this.CreateQuery<Xrm.UserQueryVisualization>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.UserSettings"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.UserSettings> UserSettingsSet
		{
			get
			{
				return this.CreateQuery<Xrm.UserSettings>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.WebResource"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.WebResource> WebResourceSet
		{
			get
			{
				return this.CreateQuery<Xrm.WebResource>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.Workflow"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.Workflow> WorkflowSet
		{
			get
			{
				return this.CreateQuery<Xrm.Workflow>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.WorkflowDependency"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.WorkflowDependency> WorkflowDependencySet
		{
			get
			{
				return this.CreateQuery<Xrm.WorkflowDependency>();
			}
		}
		
		/// <summary>
		/// Gets a binding to the set of all <see cref="Xrm.WorkflowLog"/> entities.
		/// </summary>
		public System.Linq.IQueryable<Xrm.WorkflowLog> WorkflowLogSet
		{
			get
			{
				return this.CreateQuery<Xrm.WorkflowLog>();
			}
		}
	}
}
