Esempio n. 1
0
        /// <summary>
        /// Deserializes the specified configuration in an <see cref="IsNotParameterPresent"/> object
        /// </summary>
        /// <param name="configuration">The configuration.</param>
        /// <returns></returns>
        public override SqlTag Deserialize(IConfiguration configuration)
        {
            IsNotParameterPresent isNotParameterPresent = new IsNotParameterPresent(accessorFactory);

            isNotParameterPresent.Prepend = ConfigurationUtils.GetStringAttribute(configuration.Attributes, "prepend");

            return(isNotParameterPresent);
        }
Esempio n. 2
0
        public SqlTag Deserialize(XmlNode node)
        {
            IsNotParameterPresent present    = new IsNotParameterPresent(this._configScope.DataExchangeFactory.AccessorFactory);
            NameValueCollection   attributes = NodeUtils.ParseAttributes(node, this._configScope.Properties);

            present.Prepend = NodeUtils.GetStringAttribute(attributes, "prepend");
            return(present);
        }