Exemplo n.º 1
0
        //
        // static factory methods
        //

        #region public static DBAssign Set(DBClause item, DBClause toValue)

        /// <summary>
        /// Creates a new Assignment clause
        /// </summary>
        /// <param name="item"></param>
        /// <param name="toValue"></param>
        /// <returns></returns>
        public static DBAssign Set(DBClause item, DBClause toValue)
        {
            DBAssignRef aref = new DBAssignRef();

            aref._item  = item;
            aref._toval = toValue;

            return(aref);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Creates a new Empty assignment
        /// </summary>
        /// <returns></returns>
        internal static DBAssign Assign()
        {
            DBAssignRef aref = new DBAssignRef();

            return(aref);
        }