Removing dictionary from DataTypeDefinition as it wasn't used.
Updating package xml to include DatabaseType for testing.
This commit is contained in:
@@ -2256,7 +2256,7 @@ table th, td {border: 0px solid #fff;}
|
||||
<DictionaryItems />
|
||||
<Languages />
|
||||
<DataTypes>
|
||||
<DataType Name="SW Page Picker" Id="7e062c13-7c41-4ad9-b389-41d88aeef87c" Definition="d719387b-8261-48ac-b94b-00654896d114">
|
||||
<DataType Name="SW Page Picker" Id="7e062c13-7c41-4ad9-b389-41d88aeef87c" Definition="d719387b-8261-48ac-b94b-00654896d114" DatabaseType="Ntext">
|
||||
<PreValues>
|
||||
<PreValue Id="5" Value="content" />
|
||||
<PreValue Id="6" Value="" />
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
|
||||
using System.Collections;
|
||||
using System.Linq;
|
||||
using Umbraco.Core.Models;
|
||||
using umbraco.DataLayer;
|
||||
using System.Xml;
|
||||
using umbraco.interfaces;
|
||||
@@ -25,14 +21,6 @@ namespace umbraco.cms.businesslogic.datatype
|
||||
#region Private fields
|
||||
private Guid _controlId;
|
||||
|
||||
private static Dictionary<string, DataTypeDatabaseType> _databaseTypes =
|
||||
new Dictionary<string, DataTypeDatabaseType>
|
||||
{
|
||||
{"Integer", DataTypeDatabaseType.Integer},
|
||||
{"Date", DataTypeDatabaseType.Date},
|
||||
{"Ntext", DataTypeDatabaseType.Ntext},
|
||||
{"Nvarchar", DataTypeDatabaseType.Nvarchar}
|
||||
};
|
||||
private static Guid _objectType = new Guid("30a2a501-1978-4ddb-a57b-f7efed43ba3c");
|
||||
private string _dbType;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user