OrientDB-NET.binary
OrientDB-NET.binary copied to clipboard
System.ArgumentException : propertyType List`1 is not yet supported.
Was trying to create class with list or enumerable property and are getting this error. You can easily replicate it by modifying the test case like that.
public class GitHub_issue38
{
[Test]
public void ShouldCreateRecordContainingSingleQuote()
{
using (TestDatabaseContext testContext = new TestDatabaseContext())
using (var db = new ODatabase(TestConnection.GlobalTestDatabaseAlias))
{
if (!db.Schema.IsClassExist<TestClass>())
{
db.Create.Class<TestClass>().CreateProperties<TestClass>().Run();
}
db.Command("delete from TestClass");
var text = @"Jim'n";
var test = new TestClass() { SomeString = text };
db.Insert(test).Run();
var result = db.Select().From<TestClass>().ToList<TestClass>();
Assert.AreEqual(text, result.Single().SomeString);
}
}
public class TestClass
{
public TestClass()
{
}
public List<string> SomeList { get; set; }
public string SomeString { get; set; }
}
}
Is this project dead? 16 days no reply?