public SqlTag Deserialize(XmlNode node) { IsParameterPresent present = new IsParameterPresent(this._configScope.DataExchangeFactory.AccessorFactory); NameValueCollection attributes = NodeUtils.ParseAttributes(node, this._configScope.Properties); present.Prepend = NodeUtils.GetStringAttribute(attributes, "prepend"); return(present); }
/// <summary> /// Deserializes the specified configuration in an <see cref="IsParameterPresent"/> object /// </summary> /// <param name="configuration">The configuration.</param> /// <returns></returns> public override SqlTag Deserialize(IConfiguration configuration) { IsParameterPresent isParameterPresent = new IsParameterPresent(accessorFactory); isParameterPresent.Prepend = ConfigurationUtils.GetStringAttribute(configuration.Attributes, "prepend"); return(isParameterPresent); }