Exemplo n.º 1
0
 private void IssueInsertCommand(string property, string value)
 {
     _repository.Insert("INSERT INTO [ConfigurationProperties](Property,Value) VALUES (@property,@value)",
                        new Dictionary <string, object>
     {
         { "value", value },
         { "property", property }
     });
 }
Exemplo n.º 2
0
        /// <inheritdoc/>
        public void AddSubContainer(IContainer parent, IContainer child)
        {
            if (!(child is FilterContainer))
            {
                throw new NotSupportedException();
            }

            _dataExportRepository.Insert("INSERT INTO FilterContainerSubcontainers(FilterContainer_ParentID,FilterContainerChildID) VALUES (@FilterContainer_ParentID, @FilterContainerChildID)", new Dictionary <string, object>
            {
                { "FilterContainer_ParentID", parent.ID },
                { "FilterContainerChildID", child.ID }
            });
        }