bltoolkit

How to connect SqliteDB using BLToolkit on ASP.NET?

拥有回忆 提交于 2020-06-28 14:33:39
问题 Hi i got an error while connection to my sqlitedb. I create my sqlitedb using Firefox Sqlite Addon. MyConn : (webconfig) <connectionStrings> <add name="TARKMANCAS_CONNECTION" connectionString="Data Source=C:/TARKMANCAS_DB.sqlite;"/> </connectionStrings> MyClass: public TarkBaseDb() : base("TARKMANCAS_CONNECTION") { } // start // public Table<TarkBaseSchema.KadroGrubuCls> KadroGrubu { get { return GetTable<TarkBaseSchema.KadroGrubuCls>(); } } TarkBaseSchema: [TableName("EGITIM_KADROSU_GRUBU

BLToolkit using a MySQL connection

送分小仙女□ 提交于 2020-01-25 08:56:05
问题 I am making an attempt to establish a connection to a MySQL server using BLToolkit, and have installed MySql.Data (6.5.4), BLToolkit (4.1.12) and BLToolkit.MySql (4.1.12) via NuGet. I can make a connection to a MSSQL server in a single line, but have had trouble with MySQL and ended up with the following configuration file ... <?xml version="1.0" encoding="utf-8"?> <configuration> <BLToolkit> <dataProviders> <add type="BLToolkit.Data.DataProvider.MySqlDataProvider" /> </dataProviders> <

How can i connect to oracle database as sysdba using bltoolkit?

佐手、 提交于 2019-12-12 03:16:41
问题 i can connect to oracle normal user successfully but when i try to connect sys user i got this error. ORA-28009: connection as SYS should be as SYSDBA or SYSOPER because i have to connect as sysdba but how can do it on bltoolkit ? How can solve this problem ? I have to connect as sys user to oracle using bltoolkit My Connstring: Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_‌​DATA=(SID=prod)));User Id=sys;Password=manager;DBA Privilege=SYSDBA;Data Source

BLToolkit: Multiple resultsets?

不问归期 提交于 2019-12-10 06:49:50
问题 I haven't found a way to retrieve two lists of objects from an SP with two select statements. Is it possible with BLToolkit, or can only hierarchical data be fetched in such a manner? I'm trying to replace a dataset containing two unrelated tables. 回答1: It turns out it was really simple. :) Here's how you return multiple unrelated resultsets using BLToolkit. List<Apple> apples = new List<Apple>(); List<Orange> oranges = new List<Orange>(); MapResultSet[] sets = new MapResultSet[2]; sets[0] =

BLToolkit: Multiple resultsets?

梦想与她 提交于 2019-12-05 16:24:21
I haven't found a way to retrieve two lists of objects from an SP with two select statements. Is it possible with BLToolkit, or can only hierarchical data be fetched in such a manner? I'm trying to replace a dataset containing two unrelated tables. It turns out it was really simple. :) Here's how you return multiple unrelated resultsets using BLToolkit. List<Apple> apples = new List<Apple>(); List<Orange> oranges = new List<Orange>(); MapResultSet[] sets = new MapResultSet[2]; sets[0] = new MapResultSet(typeof(Apple), apples); sets[1] = new MapResultSet(typeof(Orange), oranges); //Make sure

Why isn't BLToolkit more popular? [closed]

∥☆過路亽.° 提交于 2019-12-05 09:12:26
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 8 years ago . While searching around the net for light, fast ORMs targeting .NET, I came across BLToolKit, which seems absolutely amazing in terms