SQLite Entry Info


Node Information
Gets the specified SQLite Entry information.
General Information
• This node doesn't have other available options.
Visual
Visual

Ports
Text Type DataType Accepts IsList CustomAcception
ColumnName OUT String MULTIPLE FALSE FALSE
Type OUT DbType MULTIPLE FALSE FALSE
Value OUT Object MULTIPLE FALSE FALSE
Entry IN SQLiteEntry ONE FALSE FALSE

Source
namespace Korduene.KGraph.Nodes.Database.SQLite
{
    [IsNode("Entry Info")]
    public class EntryInfo : Node
    {
        Port entry = new Port(PortType.IN, typeof(Korduene.Database.SQLite.SQLiteEntry), AcceptsLinks.ONE, "Entry");
        Port colname = new Port(PortType.OUT, typeof(string), AcceptsLinks.MULTIPLE, "ColumnName");
        Port type = new Port(PortType.OUT, typeof(System.Data.DbType), AcceptsLinks.MULTIPLE, "Type");
        Port val = new Port(PortType.OUT, typeof(object), AcceptsLinks.MULTIPLE, "Value");
        public EntryInfo()
        {
            Name = "SQLite Entry Info";
            Dependency = DependencyLibraries.SQLITE;
            AddPort(colname);
            AddPort(type);
            AddPort(val);
            AddPort(entry);
            colname.Instructions = "init";
            type.Instructions = "init";
            val.Instructions = "init";
            Information = "Gets the specified SQLite Entry information.";
        }
        public override void UpdateResults()
        {
            string e = GetValue(entry);
            colname.Instructions = e + ".ColumnName";
            type.Instructions = e + ".Type";
            val.Instructions = e + ".Value";
        }
    }
}