c# - Using Vici cool Storage with monodroid -
Oh, for the moment I am not sure how it is officially supported, but for the success of the people Using Monodroid Vic Cool Storage I am able to leave and compile assemblies in my project, but while trying to use some classes, the errors of time have to be gathered. Especially when trying to connect like the example for Mono Touch
string dbName = path. Cobain (environment. Gatefolder path (environment specialfolder personal), "mydb.db3"); // The following line will be called coolestation, where is the database, // to make it if it does not exist, and call a delegate that creates the necessary tables (only when the database file was newly created //) CSConfig.SetDB (DbName, true, () => {CSDatabase.ExecuteNonQuery ("Subscriber Integer Primary Key Attribute, Name Text (50) No, Number, Date First Text (30)");); There is no difference when I try to use the methods of CSConfig and when I cscfif If I try to pass 3 aggregates to STDB (3) then I get the invalid number of algos.
I think their spec is farther if you are using the Visual Studio Assembly Browser, or the Mono Developer Assembly Browser Use, or even just Monop-R: Wiki.Coolstorage.mt.il Wiki.Coolstorage.Cassiff , you will see these charges by SETBB : public static zero setdb (CSDataProvider db); Public Fixed Zero SetDB (CSDataProvider db, string reference name); Public Fixed Zero SetDB (string dbName); Public Static Zero SetDB (String DBN, Action Generation Specified); Public Static Zero SetDB (String DBNN, Esclitoption sqliteOption); Public Static Zero SetDB (String DBN, Scalptation sqliteOption, Action Creation Delegate); None of these accepts as bool as another parameter, so I think their buggy is. The fix is to make it as compiler, and use a surcharge actually present:
CSConfig.SETDB (dbName, () = & gt; {CSDatabase.ExecuteNonQuery (@ "Create table individual (PersonID integer primary key, AutoConnect, Name text (50) No tap, dateoffbirth text (30))"););
Comments
Post a Comment