Пример #1
0
    private void initFrom()
    {
        //初始库房下拉列表
        string sql = "select a.depotid,a.depotname from dp_dmdepot a left join REL_USER_DMDEPOT b on a.depotid=b.depotid where b.user_code='" + theUserCode + "' and b.PROGRAM_CODE='INV9900'  ";

        //string sql = "Select depotid,depotname from dp_dmdepot order by depotId";
        SqlFrom.SelectCommand = sql;
        SqlFrom.DataBind();
    }
Пример #2
0
 /// <summary>
 /// Visits the specified <see cref="SqlFrom"/>.
 /// </summary>
 /// <param name="expression">
 /// The expression to visit.
 /// </param>
 public virtual void Visit(SqlFrom expression)
 {
 }
Пример #3
0
        public void ExpressionType_ReturnsFrom()
        {
            var from = new SqlFrom((SqlTable)"Users");

            Assert.Equal(SqlExpressionType.From, from.ExpressionType);
        }
Пример #4
0
        public void ExpressionType_ReturnsFrom()
        {
            var from = new SqlFrom((SqlTable)"Users");

            Assert.Equal(SqlExpressionType.From, from.ExpressionType);
        }
Пример #5
0
 /// <summary>
 /// Visits the specified <see cref="SqlFrom"/>.
 /// </summary>
 /// <param name="expression">
 /// The expression to visit.
 /// </param>
 public virtual void Visit(SqlFrom expression)
 {
 }