Comments (2)
I just tried to change the line and see if it fixed the problem, but since I'm on a Mac and Xamarin Studio doesn't seem to like the Lex.Db solution, I can't verify anything.
from lex.db.
Yes. This is the one …
From: Emanuel Palm [mailto:[email protected]]
Sent: Thursday, February 11, 2016 1:25 PM
To: demigor/lex.db [email protected]
Subject: [lex.db] ArgumentException when using 3 member index on iOS. (#40)
While running code equivalent to that below on iOS, an ArgumentException is thrown with the message:
method return type is incompatible
The code that causes the error is equivalent to the below pseudocode, with the exception being thrown as a response to the invocation of WithIndex. Using the WithIndex method with only two arguments work as expected.
var database = new DbInstance(path, "");
database
.Map()
.Automap(i => i.Key)
.WithIndex("some-index", i => i.Name, i => i.Color, i => i.Size);
database.Initialize();
While searching through the Lex.Db source code, I found the following line
lex.db/lib/Lex.Db.Shared/Db/DbTable.cs
Line 558 in 58f9521
—
Reply to this email directly or view it on GitHub #40 . https://github.com/notifications/beacon/ACo4IWM-oycFJ5b6oItR3BmogCuVvTGCks5pjHUlgaJpZM4HYG4D.gif
from lex.db.
Related Issues (20)
- Xamarin iOS Error HOT 5
- System.NullReferenceException on Save HOT 1
- LoadByCompositeKey? HOT 1
- Windows 10 Universal App Platform error HOT 4
- Specified method is not supported.
- Publish XML comments with NuGet
- Add support for unsigned data types HOT 1
- UWP release build error HOT 6
- Feature request: Sorting index-query results by index key. HOT 3
- Unable to target portable .NET profile 111 HOT 4
- System.Reflection.TargetException after upgrading to v 1.2.6 HOT 3
- Database upgrade problem from 8.1 to 10 HOT 1
- Xamarin Forms iOS - Path is Null HOT 4
- .Net Native Error HOT 3
- Read database data
- Is db.Dispose() necessary? HOT 1
- Same model objects in different tables HOT 1
- [iOS] - Cannot store/retrieve float data type
- .netstandard support HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lex.db.