public IList<Core.Business.AccountRole> GetAllAccountRole()
        {
            IList<Core.Business.AccountRole> accountRolelist = new List<Core.Business.AccountRole>();
            SqlServerUtility sql = new SqlServerUtility();

            SqlDataReader reader = sql.ExecuteSqlReader(SqlGetAllAccountRole);

            if (reader != null)
            {
                while (reader.Read())
                {
                    Core.Business.AccountRole accountRole = new Core.Business.AccountRole();

                    accountRole.Id = new Core.Business.AccountRoleKey();
                    if (!reader.IsDBNull(0)) accountRole.Id.RoleId = reader.GetInt32(0);
                    if (!reader.IsDBNull(1)) accountRole.Id.AccountId = reader.GetInt32(1);
                    if (!reader.IsDBNull(2)) accountRole.Status = reader.GetInt32(2);
                    if (!reader.IsDBNull(3)) accountRole.AddDate = reader.GetDateTime(3);

                    accountRole.MarkOld();
                    accountRolelist.Add(accountRole);
                }
                reader.Close();
            }
            return accountRolelist;
        }