locked
Error in the acees to the Database RRS feed

  • Question

  • User-867185030 posted

                              Hi everybody

            when i try to access to the database i get this error :

                               <<   'DAO1.gestionEntities' does not contain a definition for 'userapp' and no extension method 'userapp' accepting a first argument of type 'DAO1.gestionEntities' could be found (are you missing a using directive or an assembly reference?)    >>

                     here is it the acees code :  

                                        

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using Ext;
    using DAO1;
    using Ext.Net;
    using System.Xml;
    using metier;
    namespace gestion
    {
        public partial class _Default : System.Web.UI.Page
        {
            
                gestionEntities ge = contextDAO1.ge;
            protected void Page_Load(object sender, EventArgs e)
            {
    
            }
            protected void connect(object sender, EventArgs e)
            {
                try
                {
    
                    var r = from u in ge.userapp where u.password.Equals(password.Text) && u.login.Equals(login.Text) select u;
    // in the previous ligne , the error produce
    userapp user = new userapp(); user = r.First(); Session["islogin"] = true; Session.Add("login", login.Text); Session.Add("id", user.id); Session.Add("iduserconnecte", user.id); Response.Redirect("~/Default.aspx"); } catch (InvalidOperationException) { //FormStatusBar.StyleSpec = "color:red;font-size:21;"; //FormStatusBar.SetStatus(new StatusBarStatusConfig { Text = "User not found !!", IconCls = " ", Clear2 = false }); // msg.Text = "Login ou Password est incorrect"; } } } }

                               and this the contextDAO1.cs file :

                   

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using DAO1;
    
    namespace metier
    {
        public class contextDAO1
        {
            private static gestionEntities ret = null;
            public static gestionEntities ge
            {
                get
                {
                    if (ret == null)
                    {
                        ret = new gestionEntities();
    
                    } return ret;
                }
            }
    
    
        }
    }
    

                            and this is   Model1.Designer.cs :

                                       

    //------------------------------------------------------------------------------
    // <auto-generated>
    //     This code was generated by a tool.
    //     Runtime Version:4.0.30319.269
    //
    //     Changes to this file may cause incorrect behavior and will be lost if
    //     the code is regenerated.
    // </auto-generated>
    //------------------------------------------------------------------------------
    
    [assembly: global::System.Data.Objects.DataClasses.EdmSchemaAttribute()]
    
    // Original file name:
    // Generation date: 25/07/2012 13:42:52
    namespace DAO1
    {
    
        /// <summary>
        /// There are no comments for gestionEntities in the schema.
        /// </summary>
        public partial class gestionEntities : global::System.Data.Objects.ObjectContext
        {
            /// <summary>
            /// Initializes a new gestionEntities object using the connection string found in the 'gestionEntities' section of the application configuration file.
            /// </summary>
            public gestionEntities() :
                base("name=gestionEntities", "gestionEntities")
            {
                this.OnContextCreated();
            }
            /// <summary>
            /// Initialize a new gestionEntities object.
            /// </summary>
            public gestionEntities(string connectionString) :
                base(connectionString, "gestionEntities")
            {
                this.OnContextCreated();
            }
            /// <summary>
            /// Initialize a new gestionEntities object.
            /// </summary>
            public gestionEntities(global::System.Data.EntityClient.EntityConnection connection) :
                base(connection, "gestionEntities")
            {
                this.OnContextCreated();
            }
            partial void OnContextCreated();
            /// <summary>
            /// There are no comments for droit in the schema.
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            public global::System.Data.Objects.ObjectQuery<droit> droit
            {
                get
                {
                    if ((this._droit == null))
                    {
                        this._droit = base.CreateQuery<droit>("[droit]");
                    }
                    return this._droit;
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            private global::System.Data.Objects.ObjectQuery<droit> _droit;
            /// <summary>
            /// There are no comments for role in the schema.
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            public global::System.Data.Objects.ObjectQuery<role> role
            {
                get
                {
                    if ((this._role == null))
                    {
                        this._role = base.CreateQuery<role>("[role]");
                    }
                    return this._role;
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            private global::System.Data.Objects.ObjectQuery<role> _role;
            /// <summary>
            /// There are no comments for roleuser in the schema.
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            public global::System.Data.Objects.ObjectQuery<roleuser> roleuser
            {
                get
                {
                    if ((this._roleuser == null))
                    {
                        this._roleuser = base.CreateQuery<roleuser>("[roleuser]");
                    }
                    return this._roleuser;
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            private global::System.Data.Objects.ObjectQuery<roleuser> _roleuser;
            /// <summary>
            /// There are no comments for userapp in the schema.
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            public global::System.Data.Objects.ObjectQuery<userapp> userapp
            {
                get
                {
                    if ((this._userapp == null))
                    {
                        this._userapp = base.CreateQuery<userapp>("[userapp]");
                    }
                    return this._userapp;
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            private global::System.Data.Objects.ObjectQuery<userapp> _userapp;
            /// <summary>
            /// There are no comments for droit in the schema.
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            public void AddTodroit(droit droit)
            {
                base.AddObject("droit", droit);
            }
            /// <summary>
            /// There are no comments for role in the schema.
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            public void AddTorole(role role)
            {
                base.AddObject("role", role);
            }
            /// <summary>
            /// There are no comments for roleuser in the schema.
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            public void AddToroleuser(roleuser roleuser)
            {
                base.AddObject("roleuser", roleuser);
            }
            /// <summary>
            /// There are no comments for userapp in the schema.
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            public void AddTouserapp(userapp userapp)
            {
                base.AddObject("userapp", userapp);
            }
        }
        /// <summary>
        /// There are no comments for gestionModel.droit in the schema.
        /// </summary>
        /// <KeyProperties>
        /// id
        /// </KeyProperties>
        [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName = "gestionModel", Name = "droit")]
        [global::System.Runtime.Serialization.DataContractAttribute(IsReference = true)]
        [global::System.Serializable()]
        public partial class droit : global::System.Data.Objects.DataClasses.EntityObject
        {
            /// <summary>
            /// Create a new droit object.
            /// </summary>
            /// <param name="id">Initial value of id.</param>
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            public static droit Createdroit(string id)
            {
                droit droit = new droit();
                droit.id = id;
                return droit;
            }
            /// <summary>
            /// There are no comments for property id in the schema.
            /// </summary>
            [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty = true, IsNullable = false)]
            [global::System.Runtime.Serialization.DataMemberAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            public string id
            {
                get
                {
                    return this._id;
                }
                set
                {
                    this.OnidChanging(value);
                    this.ReportPropertyChanging("id");
                    this._id = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
                    this.ReportPropertyChanged("id");
                    this.OnidChanged();
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            private string _id;
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            partial void OnidChanging(string value);
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            partial void OnidChanged();
            /// <summary>
            /// There are no comments for property idnoeud in the schema.
            /// </summary>
            [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
            [global::System.Runtime.Serialization.DataMemberAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            public string idnoeud
            {
                get
                {
                    return this._idnoeud;
                }
                set
                {
                    this.OnidnoeudChanging(value);
                    this.ReportPropertyChanging("idnoeud");
                    this._idnoeud = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
                    this.ReportPropertyChanged("idnoeud");
                    this.OnidnoeudChanged();
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            private string _idnoeud;
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            partial void OnidnoeudChanging(string value);
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            partial void OnidnoeudChanged();
            /// <summary>
            /// There are no comments for property idrole in the schema.
            /// </summary>
            [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
            [global::System.Runtime.Serialization.DataMemberAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            public string idrole
            {
                get
                {
                    return this._idrole;
                }
                set
                {
                    this.OnidroleChanging(value);
                    this.ReportPropertyChanging("idrole");
                    this._idrole = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
                    this.ReportPropertyChanged("idrole");
                    this.OnidroleChanged();
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            private string _idrole;
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            partial void OnidroleChanging(string value);
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            partial void OnidroleChanged();
            /// <summary>
            /// There are no comments for property description in the schema.
            /// </summary>
            [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
            [global::System.Runtime.Serialization.DataMemberAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            public string description
            {
                get
                {
                    return this._description;
                }
                set
                {
                    this.OndescriptionChanging(value);
                    this.ReportPropertyChanging("description");
                    this._description = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
                    this.ReportPropertyChanged("description");
                    this.OndescriptionChanged();
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            private string _description;
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            partial void OndescriptionChanging(string value);
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            partial void OndescriptionChanged();
        }
        /// <summary>
        /// There are no comments for gestionModel.role in the schema.
        /// </summary>
        /// <KeyProperties>
        /// id
        /// </KeyProperties>
        [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName = "gestionModel", Name = "role")]
        [global::System.Runtime.Serialization.DataContractAttribute(IsReference = true)]
        [global::System.Serializable()]
        public partial class role : global::System.Data.Objects.DataClasses.EntityObject
        {
            /// <summary>
            /// Create a new role object.
            /// </summary>
            /// <param name="id">Initial value of id.</param>
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            public static role Createrole(string id)
            {
                role role = new role();
                role.id = id;
                return role;
            }
            /// <summary>
            /// There are no comments for property id in the schema.
            /// </summary>
            [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty = true, IsNullable = false)]
            [global::System.Runtime.Serialization.DataMemberAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            public string id
            {
                get
                {
                    return this._id;
                }
                set
                {
                    this.OnidChanging(value);
                    this.ReportPropertyChanging("id");
                    this._id = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
                    this.ReportPropertyChanged("id");
                    this.OnidChanged();
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            private string _id;
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            partial void OnidChanging(string value);
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            partial void OnidChanged();
            /// <summary>
            /// There are no comments for property description in the schema.
            /// </summary>
            [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
            [global::System.Runtime.Serialization.DataMemberAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            public string description
            {
                get
                {
                    return this._description;
                }
                set
                {
                    this.OndescriptionChanging(value);
                    this.ReportPropertyChanging("description");
                    this._description = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
                    this.ReportPropertyChanged("description");
                    this.OndescriptionChanged();
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            private string _description;
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            partial void OndescriptionChanging(string value);
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            partial void OndescriptionChanged();
            /// <summary>
            /// There are no comments for property rol in the schema.
            /// </summary>
            [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
            [global::System.Runtime.Serialization.DataMemberAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            public string rol
            {
                get
                {
                    return this._rol;
                }
                set
                {
                    this.OnrolChanging(value);
                    this.ReportPropertyChanging("rol");
                    this._rol = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
                    this.ReportPropertyChanged("rol");
                    this.OnrolChanged();
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            private string _rol;
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            partial void OnrolChanging(string value);
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            partial void OnrolChanged();
        }
        /// <summary>
        /// There are no comments for gestionModel.roleuser in the schema.
        /// </summary>
        /// <KeyProperties>
        /// id
        /// </KeyProperties>
        [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName = "gestionModel", Name = "roleuser")]
        [global::System.Runtime.Serialization.DataContractAttribute(IsReference = true)]
        [global::System.Serializable()]
        public partial class roleuser : global::System.Data.Objects.DataClasses.EntityObject
        {
            /// <summary>
            /// Create a new roleuser object.
            /// </summary>
            /// <param name="id">Initial value of id.</param>
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            public static roleuser Createroleuser(string id)
            {
                roleuser roleuser = new roleuser();
                roleuser.id = id;
                return roleuser;
            }
            /// <summary>
            /// There are no comments for property id in the schema.
            /// </summary>
            [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty = true, IsNullable = false)]
            [global::System.Runtime.Serialization.DataMemberAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            public string id
            {
                get
                {
                    return this._id;
                }
                set
                {
                    this.OnidChanging(value);
                    this.ReportPropertyChanging("id");
                    this._id = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
                    this.ReportPropertyChanged("id");
                    this.OnidChanged();
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            private string _id;
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            partial void OnidChanging(string value);
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            partial void OnidChanged();
            /// <summary>
            /// There are no comments for property iduser in the schema.
            /// </summary>
            [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
            [global::System.Runtime.Serialization.DataMemberAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            public string iduser
            {
                get
                {
                    return this._iduser;
                }
                set
                {
                    this.OniduserChanging(value);
                    this.ReportPropertyChanging("iduser");
                    this._iduser = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
                    this.ReportPropertyChanged("iduser");
                    this.OniduserChanged();
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            private string _iduser;
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            partial void OniduserChanging(string value);
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            partial void OniduserChanged();
            /// <summary>
            /// There are no comments for property idrole in the schema.
            /// </summary>
            [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
            [global::System.Runtime.Serialization.DataMemberAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            public string idrole
            {
                get
                {
                    return this._idrole;
                }
                set
                {
                    this.OnidroleChanging(value);
                    this.ReportPropertyChanging("idrole");
                    this._idrole = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
                    this.ReportPropertyChanged("idrole");
                    this.OnidroleChanged();
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            private string _idrole;
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            partial void OnidroleChanging(string value);
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            partial void OnidroleChanged();
        }
        /// <summary>
        /// There are no comments for gestionModel.userapp in the schema.
        /// </summary>
        /// <KeyProperties>
        /// id
        /// </KeyProperties>
        [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName = "gestionModel", Name = "userapp")]
        [global::System.Runtime.Serialization.DataContractAttribute(IsReference = true)]
        [global::System.Serializable()]
        public partial class userapp : global::System.Data.Objects.DataClasses.EntityObject
        {
            /// <summary>
            /// Create a new userapp object.
            /// </summary>
            /// <param name="id">Initial value of id.</param>
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            public static userapp Createuserapp(string id)
            {
                userapp userapp = new userapp();
                userapp.id = id;
                return userapp;
            }
            /// <summary>
            /// There are no comments for property id in the schema.
            /// </summary>
            [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty = true, IsNullable = false)]
            [global::System.Runtime.Serialization.DataMemberAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            public string id
            {
                get
                {
                    return this._id;
                }
                set
                {
                    this.OnidChanging(value);
                    this.ReportPropertyChanging("id");
                    this._id = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
                    this.ReportPropertyChanged("id");
                    this.OnidChanged();
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            private string _id;
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            partial void OnidChanging(string value);
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            partial void OnidChanged();
            /// <summary>
            /// There are no comments for property login in the schema.
            /// </summary>
            [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
            [global::System.Runtime.Serialization.DataMemberAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            public string login
            {
                get
                {
                    return this._login;
                }
                set
                {
                    this.OnloginChanging(value);
                    this.ReportPropertyChanging("login");
                    this._login = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
                    this.ReportPropertyChanged("login");
                    this.OnloginChanged();
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            private string _login;
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            partial void OnloginChanging(string value);
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            partial void OnloginChanged();
            /// <summary>
            /// There are no comments for property password in the schema.
            /// </summary>
            [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
            [global::System.Runtime.Serialization.DataMemberAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            public string password
            {
                get
                {
                    return this._password;
                }
                set
                {
                    this.OnpasswordChanging(value);
                    this.ReportPropertyChanging("password");
                    this._password = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
                    this.ReportPropertyChanged("password");
                    this.OnpasswordChanged();
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            private string _password;
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            partial void OnpasswordChanging(string value);
            [global::System.CodeDom.Compiler.GeneratedCode("System.Data.Entity.Design.EntityClassGenerator", "4.0.0.0")]
            partial void OnpasswordChanged();
        }
    }
    

                                      Thus , who can help me ?



    Sunday, July 29, 2012 9:43 AM

Answers

  • User197322208 posted

    'DAO1.gestionEntities' does not contain a definition for 'userapp' a

    maybe it is true. Does it contain?

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, July 29, 2012 3:07 PM

All replies

  • User197322208 posted

    'DAO1.gestionEntities' does not contain a definition for 'userapp' a

    maybe it is true. Does it contain?

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, July 29, 2012 3:07 PM
  • User-867185030 posted

                             Mr ignatandrei , yeh u 're right i 've to its défintion ....

    Monday, July 30, 2012 5:43 AM