Beispiel #1
0
        public static SqlState Create(object obj1, object obj2)
        {
            SqlState state = new SqlState(2);

            state.Append(obj1).Append(obj2);
            return(state);
        }
Beispiel #2
0
        public static SqlState Create(object obj1, object obj2, object obj3, object obj4, object obj5)
        {
            SqlState state = new SqlState(5);

            state.Append(obj1).Append(obj2).Append(obj3).Append(obj4).Append(obj5);
            return(state);
        }
Beispiel #3
0
        public static SqlState Create(object obj)
        {
            SqlState state = new SqlState(1);

            state.Append(obj);
            return(state);
        }
Beispiel #4
0
        public static SqlState Create(params object[] objs)
        {
            if (objs == null)
            {
                return(new SqlState());
            }

            SqlState state = new SqlState(objs.Length);

            return(state.Append(objs));
        }