

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

namespace LightSwitchApplication
{
    #region Entities
    
    /// <summary>
    /// No Modeled Description Available
    /// </summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")]
    public sealed partial class Referent : global::Microsoft.LightSwitch.Framework.Base.EntityObject<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass>
    {
        #region Constructors
    
        /// <summary>
        /// Initializes a new instance of the Referent entity.
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public Referent()
            : this(null)
        {
        }
    
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public Referent(global::Microsoft.LightSwitch.Framework.EntitySet<global::LightSwitchApplication.Referent> entitySet)
            : base(entitySet)
        {
            global::LightSwitchApplication.Referent.DetailsClass.Initialize(this);
        }
    
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void Referent_Created();
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void Referent_AllowSaveWithErrors(ref bool result);
    
        #endregion
    
        #region Private Properties
        
        /// <summary>
        /// Gets the Application object for this application.  The Application object provides access to active screens, methods to open screens and access to the current user.
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::Microsoft.LightSwitch.IApplication<global::LightSwitchApplication.DataWorkspace> Application
        {
            get
            {
                return global::LightSwitchApplication.Application.Current;
            }
        }
        
        /// <summary>
        /// Gets the containing data workspace.  The data workspace provides access to all data sources in the application.
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::LightSwitchApplication.DataWorkspace DataWorkspace
        {
            get
            {
                return (global::LightSwitchApplication.DataWorkspace)this.Details.EntitySet.Details.DataService.Details.DataWorkspace;
            }
        }
        
        #endregion
    
        #region Public Properties
    
        /// <summary>
        /// No Modeled Description Available
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public int Id
        {
            get
            {
                return global::LightSwitchApplication.Referent.DetailsClass.GetValue(this, global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.Id);
            }
            set
            {
                global::LightSwitchApplication.Referent.DetailsClass.SetValue(this, global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.Id, value);
            }
        }
        
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void Id_IsReadOnly(ref bool result);
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void Id_Validate(global::Microsoft.LightSwitch.EntityValidationResultsBuilder results);
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void Id_Changed();

        /// <summary>
        /// No Modeled Description Available
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public string Name
        {
            get
            {
                return global::LightSwitchApplication.Referent.DetailsClass.GetValue(this, global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.Name);
            }
            set
            {
                global::LightSwitchApplication.Referent.DetailsClass.SetValue(this, global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.Name, value);
            }
        }
        
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void Name_IsReadOnly(ref bool result);
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void Name_Validate(global::Microsoft.LightSwitch.EntityValidationResultsBuilder results);
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void Name_Changed();

        /// <summary>
        /// No Modeled Description Available
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public string Vorname
        {
            get
            {
                return global::LightSwitchApplication.Referent.DetailsClass.GetValue(this, global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.Vorname);
            }
            set
            {
                global::LightSwitchApplication.Referent.DetailsClass.SetValue(this, global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.Vorname, value);
            }
        }
        
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void Vorname_IsReadOnly(ref bool result);
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void Vorname_Validate(global::Microsoft.LightSwitch.EntityValidationResultsBuilder results);
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void Vorname_Changed();

        /// <summary>
        /// No Modeled Description Available
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public string EMail
        {
            get
            {
                return global::LightSwitchApplication.Referent.DetailsClass.GetValue(this, global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.EMail);
            }
            set
            {
                global::LightSwitchApplication.Referent.DetailsClass.SetValue(this, global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.EMail, value);
            }
        }
        
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void EMail_IsReadOnly(ref bool result);
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void EMail_Validate(global::Microsoft.LightSwitch.EntityValidationResultsBuilder results);
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void EMail_Changed();

        /// <summary>
        /// No Modeled Description Available
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public byte[] Foto
        {
            get
            {
                return global::LightSwitchApplication.Referent.DetailsClass.GetValue(this, global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.Foto);
            }
            set
            {
                global::LightSwitchApplication.Referent.DetailsClass.SetValue(this, global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.Foto, value);
            }
        }
        
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void Foto_IsReadOnly(ref bool result);
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void Foto_Validate(global::Microsoft.LightSwitch.EntityValidationResultsBuilder results);
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void Foto_Changed();

        /// <summary>
        /// No Modeled Description Available
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public global::System.Nullable<global::System.DateTime> Geburtstag
        {
            get
            {
                return global::LightSwitchApplication.Referent.DetailsClass.GetValue(this, global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.Geburtstag);
            }
            set
            {
                global::LightSwitchApplication.Referent.DetailsClass.SetValue(this, global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.Geburtstag, value);
            }
        }
        
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void Geburtstag_IsReadOnly(ref bool result);
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void Geburtstag_Validate(global::Microsoft.LightSwitch.EntityValidationResultsBuilder results);
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void Geburtstag_Changed();

        /// <summary>
        /// No Modeled Description Available
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public string Telefon
        {
            get
            {
                return global::LightSwitchApplication.Referent.DetailsClass.GetValue(this, global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.Telefon);
            }
            set
            {
                global::LightSwitchApplication.Referent.DetailsClass.SetValue(this, global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.Telefon, value);
            }
        }
        
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void Telefon_IsReadOnly(ref bool result);
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void Telefon_Validate(global::Microsoft.LightSwitch.EntityValidationResultsBuilder results);
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void Telefon_Changed();

        /// <summary>
        /// No Modeled Description Available
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public string Referentenart
        {
            get
            {
                return global::LightSwitchApplication.Referent.DetailsClass.GetValue(this, global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.Referentenart);
            }
            set
            {
                global::LightSwitchApplication.Referent.DetailsClass.SetValue(this, global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.Referentenart, value);
            }
        }
        
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void Referentenart_IsReadOnly(ref bool result);
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void Referentenart_Validate(global::Microsoft.LightSwitch.EntityValidationResultsBuilder results);
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void Referentenart_Changed();

        /// <summary>
        /// No Modeled Description Available
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool IstMVP
        {
            get
            {
                return global::LightSwitchApplication.Referent.DetailsClass.GetValue(this, global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.IstMVP);
            }
            set
            {
                global::LightSwitchApplication.Referent.DetailsClass.SetValue(this, global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.IstMVP, value);
            }
        }
        
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void IstMVP_IsReadOnly(ref bool result);
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void IstMVP_Validate(global::Microsoft.LightSwitch.EntityValidationResultsBuilder results);
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void IstMVP_Changed();

        /// <summary>
        /// No Modeled Description Available
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public string Referentanzeige
        {
            get
            {
                return global::LightSwitchApplication.Referent.DetailsClass.GetValue(this, global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.Referentanzeige);
            }
        }
        
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void Referentanzeige_Compute(ref string result);
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        partial void Referentanzeige_Validate(global::Microsoft.LightSwitch.EntityValidationResultsBuilder results);

        /// <summary>
        /// No Modeled Description Available
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public global::Microsoft.LightSwitch.Framework.EntityCollection<global::LightSwitchApplication.Schulung> Schulungen
        {
            get
            {
                return global::LightSwitchApplication.Referent.DetailsClass.GetValue(this, global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.Schulungen);
            }
        }
        
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public Microsoft.LightSwitch.IDataServiceQueryable<global::LightSwitchApplication.Schulung> SchulungenQuery
        {
            get
            {
                return global::LightSwitchApplication.Referent.DetailsClass.GetQuery(this, global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.Schulungen);
            }
        }

        #endregion
    
        #region Details Class
    
        [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
        [global::System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible")]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public sealed class DetailsClass : global::Microsoft.LightSwitch.Details.Framework.Base.EntityDetails<
                global::LightSwitchApplication.Referent,
                global::LightSwitchApplication.Referent.DetailsClass,
                global::LightSwitchApplication.Referent.DetailsClass.IImplementation,
                global::LightSwitchApplication.Referent.DetailsClass.PropertySet,
                global::Microsoft.LightSwitch.Details.Framework.EntityCommandSet<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass>,
                global::Microsoft.LightSwitch.Details.Framework.EntityMethodSet<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass>>
        {
    
            static DetailsClass()
            {
                var initializeEntry = global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.Id;
            }
    
            [global::System.Diagnostics.DebuggerBrowsable(global::System.Diagnostics.DebuggerBrowsableState.Never)]
            private static readonly global::Microsoft.LightSwitch.Details.Framework.Base.EntityDetails<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass>.Entry
                __ReferentEntry = new global::Microsoft.LightSwitch.Details.Framework.Base.EntityDetails<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass>.Entry(
                    global::LightSwitchApplication.Referent.DetailsClass.__Referent_CreateNew,
                    global::LightSwitchApplication.Referent.DetailsClass.__Referent_Created,
                    global::LightSwitchApplication.Referent.DetailsClass.__Referent_AllowSaveWithErrors);
            private static global::LightSwitchApplication.Referent __Referent_CreateNew(global::Microsoft.LightSwitch.Framework.EntitySet<global::LightSwitchApplication.Referent> es)
            {
                return new global::LightSwitchApplication.Referent(es);
            }
            private static void __Referent_Created(global::LightSwitchApplication.Referent e)
            {
                e.Referent_Created();
            }
            private static bool __Referent_AllowSaveWithErrors(global::LightSwitchApplication.Referent e)
            {
                bool result = false;
                e.Referent_AllowSaveWithErrors(ref result);
                return result;
            }
    
            public DetailsClass() : base()
            {
            }
    
            public new global::Microsoft.LightSwitch.Details.Framework.EntityCommandSet<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass> Commands
            {
                get
                {
                    return base.Commands;
                }
            }
    
            public new global::Microsoft.LightSwitch.Details.Framework.EntityMethodSet<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass> Methods
            {
                get
                {
                    return base.Methods;
                }
            }
    
            public new global::LightSwitchApplication.Referent.DetailsClass.PropertySet Properties
            {
                get
                {
                    return base.Properties;
                }
            }
    
            [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
            [global::System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible")]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")]
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public sealed class PropertySet : global::Microsoft.LightSwitch.Details.Framework.Base.EntityPropertySet<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass>
            {
    
                public PropertySet() : base()
                {
                }
    
                public global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, int> Id
                {
                    get
                    {
                        return base.GetItem(global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.Id) as global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, int>;
                    }
                }
                
                public global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string> Name
                {
                    get
                    {
                        return base.GetItem(global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.Name) as global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>;
                    }
                }
                
                public global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string> Vorname
                {
                    get
                    {
                        return base.GetItem(global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.Vorname) as global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>;
                    }
                }
                
                public global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string> EMail
                {
                    get
                    {
                        return base.GetItem(global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.EMail) as global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>;
                    }
                }
                
                public global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, byte[]> Foto
                {
                    get
                    {
                        return base.GetItem(global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.Foto) as global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, byte[]>;
                    }
                }
                
                public global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, global::System.Nullable<global::System.DateTime>> Geburtstag
                {
                    get
                    {
                        return base.GetItem(global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.Geburtstag) as global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, global::System.Nullable<global::System.DateTime>>;
                    }
                }
                
                public global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string> Telefon
                {
                    get
                    {
                        return base.GetItem(global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.Telefon) as global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>;
                    }
                }
                
                public global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string> Referentenart
                {
                    get
                    {
                        return base.GetItem(global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.Referentenart) as global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>;
                    }
                }
                
                public global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, bool> IstMVP
                {
                    get
                    {
                        return base.GetItem(global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.IstMVP) as global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, bool>;
                    }
                }
                
                public global::Microsoft.LightSwitch.Details.Framework.EntityComputedProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string> Referentanzeige
                {
                    get
                    {
                        return base.GetItem(global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.Referentanzeige) as global::Microsoft.LightSwitch.Details.Framework.EntityComputedProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>;
                    }
                }
                
                public global::Microsoft.LightSwitch.Details.Framework.EntityCollectionProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, global::LightSwitchApplication.Schulung> Schulungen
                {
                    get
                    {
                        return base.GetItem(global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.Schulungen) as global::Microsoft.LightSwitch.Details.Framework.EntityCollectionProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, global::LightSwitchApplication.Schulung>;
                    }
                }
                
            }
    
            #pragma warning disable 109
            [global::System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible")]
            public interface IImplementation : global::Microsoft.LightSwitch.Internal.IEntityImplementation
            {
                new int Id { get; set; }
                new string Name { get; set; }
                new string Vorname { get; set; }
                new string EMail { get; set; }
                new byte[] Foto { get; set; }
                new global::System.Nullable<global::System.DateTime> Geburtstag { get; set; }
                new string Telefon { get; set; }
                new string Referentenart { get; set; }
                new bool IstMVP { get; set; }
                new global::System.Collections.IEnumerable Schulungen { get; }
            }
            #pragma warning restore 109
    
            [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "10.0.0.0")]
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal class PropertySetProperties
            {
    
                [global::System.Diagnostics.DebuggerBrowsable(global::System.Diagnostics.DebuggerBrowsableState.Never)]
                public static readonly global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, int>.Entry
                    Id = new global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, int>.Entry(
                        "Id",
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Id_Stub,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Id_ComputeIsReadOnly,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Id_Validate,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Id_GetImplementationValue,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Id_SetImplementationValue,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Id_OnValueChanged);
                private static void _Id_Stub(global::Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback<global::LightSwitchApplication.Referent.DetailsClass, global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, int>.Data> c, global::LightSwitchApplication.Referent.DetailsClass d, object sf)
                {
                    c(d, ref d._Id, sf);
                }
                private static bool _Id_ComputeIsReadOnly(global::LightSwitchApplication.Referent e)
                {
                    bool result = false;
                    e.Id_IsReadOnly(ref result);
                    return result;
                }
                private static void _Id_Validate(global::LightSwitchApplication.Referent e, global::Microsoft.LightSwitch.EntityValidationResultsBuilder r)
                {
                    e.Id_Validate(r);
                }
                private static int _Id_GetImplementationValue(global::LightSwitchApplication.Referent.DetailsClass d)
                {
                    return d.ImplementationEntity.Id;
                }
                private static void _Id_SetImplementationValue(global::LightSwitchApplication.Referent.DetailsClass d, int v)
                {
                    d.ImplementationEntity.Id = v;
                }
                private static void _Id_OnValueChanged(global::LightSwitchApplication.Referent e)
                {
                    e.Id_Changed();
                }
    
                [global::System.Diagnostics.DebuggerBrowsable(global::System.Diagnostics.DebuggerBrowsableState.Never)]
                public static readonly global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>.Entry
                    Name = new global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>.Entry(
                        "Name",
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Name_Stub,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Name_ComputeIsReadOnly,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Name_Validate,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Name_GetImplementationValue,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Name_SetImplementationValue,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Name_OnValueChanged);
                private static void _Name_Stub(global::Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback<global::LightSwitchApplication.Referent.DetailsClass, global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>.Data> c, global::LightSwitchApplication.Referent.DetailsClass d, object sf)
                {
                    c(d, ref d._Name, sf);
                }
                private static bool _Name_ComputeIsReadOnly(global::LightSwitchApplication.Referent e)
                {
                    bool result = false;
                    e.Name_IsReadOnly(ref result);
                    return result;
                }
                private static void _Name_Validate(global::LightSwitchApplication.Referent e, global::Microsoft.LightSwitch.EntityValidationResultsBuilder r)
                {
                    e.Name_Validate(r);
                }
                private static string _Name_GetImplementationValue(global::LightSwitchApplication.Referent.DetailsClass d)
                {
                    return d.ImplementationEntity.Name;
                }
                private static void _Name_SetImplementationValue(global::LightSwitchApplication.Referent.DetailsClass d, string v)
                {
                    d.ImplementationEntity.Name = v;
                }
                private static void _Name_OnValueChanged(global::LightSwitchApplication.Referent e)
                {
                    e.Name_Changed();
                }
    
                [global::System.Diagnostics.DebuggerBrowsable(global::System.Diagnostics.DebuggerBrowsableState.Never)]
                public static readonly global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>.Entry
                    Vorname = new global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>.Entry(
                        "Vorname",
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Vorname_Stub,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Vorname_ComputeIsReadOnly,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Vorname_Validate,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Vorname_GetImplementationValue,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Vorname_SetImplementationValue,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Vorname_OnValueChanged);
                private static void _Vorname_Stub(global::Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback<global::LightSwitchApplication.Referent.DetailsClass, global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>.Data> c, global::LightSwitchApplication.Referent.DetailsClass d, object sf)
                {
                    c(d, ref d._Vorname, sf);
                }
                private static bool _Vorname_ComputeIsReadOnly(global::LightSwitchApplication.Referent e)
                {
                    bool result = false;
                    e.Vorname_IsReadOnly(ref result);
                    return result;
                }
                private static void _Vorname_Validate(global::LightSwitchApplication.Referent e, global::Microsoft.LightSwitch.EntityValidationResultsBuilder r)
                {
                    e.Vorname_Validate(r);
                }
                private static string _Vorname_GetImplementationValue(global::LightSwitchApplication.Referent.DetailsClass d)
                {
                    return d.ImplementationEntity.Vorname;
                }
                private static void _Vorname_SetImplementationValue(global::LightSwitchApplication.Referent.DetailsClass d, string v)
                {
                    d.ImplementationEntity.Vorname = v;
                }
                private static void _Vorname_OnValueChanged(global::LightSwitchApplication.Referent e)
                {
                    e.Vorname_Changed();
                }
    
                [global::System.Diagnostics.DebuggerBrowsable(global::System.Diagnostics.DebuggerBrowsableState.Never)]
                public static readonly global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>.Entry
                    EMail = new global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>.Entry(
                        "EMail",
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._EMail_Stub,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._EMail_ComputeIsReadOnly,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._EMail_Validate,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._EMail_GetImplementationValue,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._EMail_SetImplementationValue,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._EMail_OnValueChanged);
                private static void _EMail_Stub(global::Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback<global::LightSwitchApplication.Referent.DetailsClass, global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>.Data> c, global::LightSwitchApplication.Referent.DetailsClass d, object sf)
                {
                    c(d, ref d._EMail, sf);
                }
                private static bool _EMail_ComputeIsReadOnly(global::LightSwitchApplication.Referent e)
                {
                    bool result = false;
                    e.EMail_IsReadOnly(ref result);
                    return result;
                }
                private static void _EMail_Validate(global::LightSwitchApplication.Referent e, global::Microsoft.LightSwitch.EntityValidationResultsBuilder r)
                {
                    e.EMail_Validate(r);
                }
                private static string _EMail_GetImplementationValue(global::LightSwitchApplication.Referent.DetailsClass d)
                {
                    return d.ImplementationEntity.EMail;
                }
                private static void _EMail_SetImplementationValue(global::LightSwitchApplication.Referent.DetailsClass d, string v)
                {
                    d.ImplementationEntity.EMail = v;
                }
                private static void _EMail_OnValueChanged(global::LightSwitchApplication.Referent e)
                {
                    e.EMail_Changed();
                }
    
                [global::System.Diagnostics.DebuggerBrowsable(global::System.Diagnostics.DebuggerBrowsableState.Never)]
                public static readonly global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, byte[]>.Entry
                    Foto = new global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, byte[]>.Entry(
                        "Foto",
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Foto_Stub,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Foto_ComputeIsReadOnly,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Foto_Validate,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Foto_GetImplementationValue,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Foto_SetImplementationValue,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Foto_OnValueChanged);
                private static void _Foto_Stub(global::Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback<global::LightSwitchApplication.Referent.DetailsClass, global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, byte[]>.Data> c, global::LightSwitchApplication.Referent.DetailsClass d, object sf)
                {
                    c(d, ref d._Foto, sf);
                }
                private static bool _Foto_ComputeIsReadOnly(global::LightSwitchApplication.Referent e)
                {
                    bool result = false;
                    e.Foto_IsReadOnly(ref result);
                    return result;
                }
                private static void _Foto_Validate(global::LightSwitchApplication.Referent e, global::Microsoft.LightSwitch.EntityValidationResultsBuilder r)
                {
                    e.Foto_Validate(r);
                }
                private static byte[] _Foto_GetImplementationValue(global::LightSwitchApplication.Referent.DetailsClass d)
                {
                    return d.ImplementationEntity.Foto;
                }
                private static void _Foto_SetImplementationValue(global::LightSwitchApplication.Referent.DetailsClass d, byte[] v)
                {
                    d.ImplementationEntity.Foto = v;
                }
                private static void _Foto_OnValueChanged(global::LightSwitchApplication.Referent e)
                {
                    e.Foto_Changed();
                }
    
                [global::System.Diagnostics.DebuggerBrowsable(global::System.Diagnostics.DebuggerBrowsableState.Never)]
                public static readonly global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, global::System.Nullable<global::System.DateTime>>.Entry
                    Geburtstag = new global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, global::System.Nullable<global::System.DateTime>>.Entry(
                        "Geburtstag",
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Geburtstag_Stub,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Geburtstag_ComputeIsReadOnly,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Geburtstag_Validate,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Geburtstag_GetImplementationValue,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Geburtstag_SetImplementationValue,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Geburtstag_OnValueChanged);
                private static void _Geburtstag_Stub(global::Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback<global::LightSwitchApplication.Referent.DetailsClass, global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, global::System.Nullable<global::System.DateTime>>.Data> c, global::LightSwitchApplication.Referent.DetailsClass d, object sf)
                {
                    c(d, ref d._Geburtstag, sf);
                }
                private static bool _Geburtstag_ComputeIsReadOnly(global::LightSwitchApplication.Referent e)
                {
                    bool result = false;
                    e.Geburtstag_IsReadOnly(ref result);
                    return result;
                }
                private static void _Geburtstag_Validate(global::LightSwitchApplication.Referent e, global::Microsoft.LightSwitch.EntityValidationResultsBuilder r)
                {
                    e.Geburtstag_Validate(r);
                }
                private static global::System.Nullable<global::System.DateTime> _Geburtstag_GetImplementationValue(global::LightSwitchApplication.Referent.DetailsClass d)
                {
                    return d.ImplementationEntity.Geburtstag;
                }
                private static void _Geburtstag_SetImplementationValue(global::LightSwitchApplication.Referent.DetailsClass d, global::System.Nullable<global::System.DateTime> v)
                {
                    d.ImplementationEntity.Geburtstag = global::LightSwitchApplication.Referent.DetailsClass.ClearDateTimeKind(v);
                }
                private static void _Geburtstag_OnValueChanged(global::LightSwitchApplication.Referent e)
                {
                    e.Geburtstag_Changed();
                }
    
                [global::System.Diagnostics.DebuggerBrowsable(global::System.Diagnostics.DebuggerBrowsableState.Never)]
                public static readonly global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>.Entry
                    Telefon = new global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>.Entry(
                        "Telefon",
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Telefon_Stub,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Telefon_ComputeIsReadOnly,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Telefon_Validate,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Telefon_GetImplementationValue,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Telefon_SetImplementationValue,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Telefon_OnValueChanged);
                private static void _Telefon_Stub(global::Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback<global::LightSwitchApplication.Referent.DetailsClass, global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>.Data> c, global::LightSwitchApplication.Referent.DetailsClass d, object sf)
                {
                    c(d, ref d._Telefon, sf);
                }
                private static bool _Telefon_ComputeIsReadOnly(global::LightSwitchApplication.Referent e)
                {
                    bool result = false;
                    e.Telefon_IsReadOnly(ref result);
                    return result;
                }
                private static void _Telefon_Validate(global::LightSwitchApplication.Referent e, global::Microsoft.LightSwitch.EntityValidationResultsBuilder r)
                {
                    e.Telefon_Validate(r);
                }
                private static string _Telefon_GetImplementationValue(global::LightSwitchApplication.Referent.DetailsClass d)
                {
                    return d.ImplementationEntity.Telefon;
                }
                private static void _Telefon_SetImplementationValue(global::LightSwitchApplication.Referent.DetailsClass d, string v)
                {
                    d.ImplementationEntity.Telefon = v;
                }
                private static void _Telefon_OnValueChanged(global::LightSwitchApplication.Referent e)
                {
                    e.Telefon_Changed();
                }
    
                [global::System.Diagnostics.DebuggerBrowsable(global::System.Diagnostics.DebuggerBrowsableState.Never)]
                public static readonly global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>.Entry
                    Referentenart = new global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>.Entry(
                        "Referentenart",
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Referentenart_Stub,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Referentenart_ComputeIsReadOnly,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Referentenart_Validate,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Referentenart_GetImplementationValue,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Referentenart_SetImplementationValue,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Referentenart_OnValueChanged);
                private static void _Referentenart_Stub(global::Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback<global::LightSwitchApplication.Referent.DetailsClass, global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>.Data> c, global::LightSwitchApplication.Referent.DetailsClass d, object sf)
                {
                    c(d, ref d._Referentenart, sf);
                }
                private static bool _Referentenart_ComputeIsReadOnly(global::LightSwitchApplication.Referent e)
                {
                    bool result = false;
                    e.Referentenart_IsReadOnly(ref result);
                    return result;
                }
                private static void _Referentenart_Validate(global::LightSwitchApplication.Referent e, global::Microsoft.LightSwitch.EntityValidationResultsBuilder r)
                {
                    e.Referentenart_Validate(r);
                }
                private static string _Referentenart_GetImplementationValue(global::LightSwitchApplication.Referent.DetailsClass d)
                {
                    return d.ImplementationEntity.Referentenart;
                }
                private static void _Referentenart_SetImplementationValue(global::LightSwitchApplication.Referent.DetailsClass d, string v)
                {
                    d.ImplementationEntity.Referentenart = v;
                }
                private static void _Referentenart_OnValueChanged(global::LightSwitchApplication.Referent e)
                {
                    e.Referentenart_Changed();
                }
    
                [global::System.Diagnostics.DebuggerBrowsable(global::System.Diagnostics.DebuggerBrowsableState.Never)]
                public static readonly global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, bool>.Entry
                    IstMVP = new global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, bool>.Entry(
                        "IstMVP",
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._IstMVP_Stub,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._IstMVP_ComputeIsReadOnly,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._IstMVP_Validate,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._IstMVP_GetImplementationValue,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._IstMVP_SetImplementationValue,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._IstMVP_OnValueChanged);
                private static void _IstMVP_Stub(global::Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback<global::LightSwitchApplication.Referent.DetailsClass, global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, bool>.Data> c, global::LightSwitchApplication.Referent.DetailsClass d, object sf)
                {
                    c(d, ref d._IstMVP, sf);
                }
                private static bool _IstMVP_ComputeIsReadOnly(global::LightSwitchApplication.Referent e)
                {
                    bool result = false;
                    e.IstMVP_IsReadOnly(ref result);
                    return result;
                }
                private static void _IstMVP_Validate(global::LightSwitchApplication.Referent e, global::Microsoft.LightSwitch.EntityValidationResultsBuilder r)
                {
                    e.IstMVP_Validate(r);
                }
                private static bool _IstMVP_GetImplementationValue(global::LightSwitchApplication.Referent.DetailsClass d)
                {
                    return d.ImplementationEntity.IstMVP;
                }
                private static void _IstMVP_SetImplementationValue(global::LightSwitchApplication.Referent.DetailsClass d, bool v)
                {
                    d.ImplementationEntity.IstMVP = v;
                }
                private static void _IstMVP_OnValueChanged(global::LightSwitchApplication.Referent e)
                {
                    e.IstMVP_Changed();
                }
    
                [global::System.Diagnostics.DebuggerBrowsable(global::System.Diagnostics.DebuggerBrowsableState.Never)]
                public static readonly global::Microsoft.LightSwitch.Details.Framework.EntityComputedProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>.Entry
                    Referentanzeige = new global::Microsoft.LightSwitch.Details.Framework.EntityComputedProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>.Entry(
                        "Referentanzeige",
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Referentanzeige_Stub,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Referentanzeige_Validate,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Referentanzeige_ComputeValue);
                private static void _Referentanzeige_Stub(global::Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback<global::LightSwitchApplication.Referent.DetailsClass, global::Microsoft.LightSwitch.Details.Framework.EntityComputedProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>.Data> c, global::LightSwitchApplication.Referent.DetailsClass d, object sf)
                {
                    c(d, ref d._Referentanzeige, sf);
                }
                private static void _Referentanzeige_Validate(global::LightSwitchApplication.Referent e, global::Microsoft.LightSwitch.EntityValidationResultsBuilder r)
                {
                    e.Referentanzeige_Validate(r);
                }
                private static string _Referentanzeige_ComputeValue(global::LightSwitchApplication.Referent e)
                {
                    string value = default(string);
                    e.Referentanzeige_Compute(ref value);
                    return value;
                }
    
                [global::System.Diagnostics.DebuggerBrowsable(global::System.Diagnostics.DebuggerBrowsableState.Never)]
                public static readonly global::Microsoft.LightSwitch.Details.Framework.EntityCollectionProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, global::LightSwitchApplication.Schulung>.Entry
                    Schulungen = new global::Microsoft.LightSwitch.Details.Framework.EntityCollectionProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, global::LightSwitchApplication.Schulung>.Entry(
                        "Schulungen",
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Schulungen_Stub,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Schulungen_GetReferencedEntities,
                        global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties._Schulungen_GetEntityCollection);
                private static void _Schulungen_Stub(global::Microsoft.LightSwitch.Details.Framework.Base.DetailsCallback<global::LightSwitchApplication.Referent.DetailsClass, global::Microsoft.LightSwitch.Details.Framework.EntityCollectionProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, global::LightSwitchApplication.Schulung>.Data> c, global::LightSwitchApplication.Referent.DetailsClass d, object sf)
                {
                    c(d, ref d._Schulungen, sf);
                }
                private static global::System.Collections.Generic.IEnumerable<global::LightSwitchApplication.Schulung> _Schulungen_GetReferencedEntities(global::LightSwitchApplication.Referent.DetailsClass d)
                {
                    return d.GetReferencedEntities<global::LightSwitchApplication.Schulung, global::LightSwitchApplication.Schulung.DetailsClass>(global::LightSwitchApplication.Referent.DetailsClass.PropertySetProperties.Schulungen, ref d._Schulungen);
                }
                private static global::System.Collections.IEnumerable _Schulungen_GetEntityCollection(global::LightSwitchApplication.Referent.DetailsClass d)
                {
                    return d.ImplementationEntity.Schulungen;
                }
    
            }
    
            [global::System.Diagnostics.DebuggerBrowsable(global::System.Diagnostics.DebuggerBrowsableState.Never)]
            private global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, int>.Data _Id;
            
            [global::System.Diagnostics.DebuggerBrowsable(global::System.Diagnostics.DebuggerBrowsableState.Never)]
            private global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>.Data _Name;
            
            [global::System.Diagnostics.DebuggerBrowsable(global::System.Diagnostics.DebuggerBrowsableState.Never)]
            private global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>.Data _Vorname;
            
            [global::System.Diagnostics.DebuggerBrowsable(global::System.Diagnostics.DebuggerBrowsableState.Never)]
            private global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>.Data _EMail;
            
            [global::System.Diagnostics.DebuggerBrowsable(global::System.Diagnostics.DebuggerBrowsableState.Never)]
            private global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, byte[]>.Data _Foto;
            
            [global::System.Diagnostics.DebuggerBrowsable(global::System.Diagnostics.DebuggerBrowsableState.Never)]
            private global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, global::System.Nullable<global::System.DateTime>>.Data _Geburtstag;
            
            [global::System.Diagnostics.DebuggerBrowsable(global::System.Diagnostics.DebuggerBrowsableState.Never)]
            private global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>.Data _Telefon;
            
            [global::System.Diagnostics.DebuggerBrowsable(global::System.Diagnostics.DebuggerBrowsableState.Never)]
            private global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>.Data _Referentenart;
            
            [global::System.Diagnostics.DebuggerBrowsable(global::System.Diagnostics.DebuggerBrowsableState.Never)]
            private global::Microsoft.LightSwitch.Details.Framework.EntityStorageProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, bool>.Data _IstMVP;
            
            [global::System.Diagnostics.DebuggerBrowsable(global::System.Diagnostics.DebuggerBrowsableState.Never)]
            private global::Microsoft.LightSwitch.Details.Framework.EntityComputedProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, string>.Data _Referentanzeige;
            
            [global::System.Diagnostics.DebuggerBrowsable(global::System.Diagnostics.DebuggerBrowsableState.Never)]
            private global::Microsoft.LightSwitch.Details.Framework.EntityCollectionProperty<global::LightSwitchApplication.Referent, global::LightSwitchApplication.Referent.DetailsClass, global::LightSwitchApplication.Schulung>.Data _Schulungen;
            
        }
    
        #endregion
    }
    
    #endregion
}
