anil john

anil john

  • NA
  • 156
  • 211.1k

.net

Aug 23 2012 1:44 AM
I am working with thre-tire now,i wrote a DL file but i didnt get the class of DL in my BL, why this happend? i already imported the correspondingDL's Namespace also
DL:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MagnaDL
{
    public class AddUserDL
    {
        #region Declaration
        int _Uid;
        string _UserName;
        string _UserId;
        string _Password;
        int _UserLevel;
        #endregion
      
        #region Property

        public int Uid
        {
            get
            {
                return _Uid;
            }
            set
            {
                _Uid = value;
            }
        }
        public string UserName
        {
            get
            {
                return _UserName;
                            }
            set
            {
                _UserName = value;
            }
        }
        public string UserId
        {
            get {

                return _UserId;
            }
            set
            {
                _UserId = value;
            }
        }
        public string Password
        {

            get
            {

                return _Password;
            }
            set
            {
                _Password = value;
            }
        }
        public int UserLevel
        {
            get
            {
                return _UserLevel;

            }
            set
            {

                _UserLevel = value;
            }
        }
        #endregion

    }
}
BL:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MagnaDL;
namespace MagnaBL
{
    public class AddUserBL
    {
        /*
          string _ContactPerson;
        string _Pan;
        CompanyMasterDL objCompanyMasterDL = new CompanyMasterDL();*/
        #region Declaration
        int _Uid;
        string _UserName;
        string _UserId;
        string _Password;
        int _UserLevel;
       
        #endregion
    }
}