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…
Example of Cache aspect using of Bltoolkit (http://bltoolkit.net/doc/Aspects/CacheAspect.htm) works for one instance only. If I create another instance and call cached method it will return value cached for first instance.
To achieve the goal I…
I have this entity :
namespace Entities.dbo
{
[TableName("tbl_snapshot")]
public class Snapshot : AbstractEntity
{
[MapField("track")]
public int TrackId { get; set; }
[Association(CanBeNull = false, OtherKey =…
i have this entity:
namespace Entities.dbo
{
[TableName("tbl_question")]
public class Question : AbstractEntity
{
[MapField("c_from")]
[Association(CanBeNull = false, OtherKey = "id", ThisKey = "c_from")]
public…
is there any way in bltoolkit how to add to an entity property which is not mapped to the database table?
something like:
[NoMap()]
public string Something {get; set;}
?
Thanks
I installed BLToolkit PostgreSql Data Provider 4.1.17 via package manager console. BlToolkit.4 is also installed to the project. But I couldn't connect to db yet. The error I encountered and web config is below. Any advice?
Error String:
key=value…
I tried to insert an entity to oracle database with BlToolkit. The connection is with System.Data.OracleClient. Everything is ok with ms sql server. But, when I migrate to oracle, insert for guid gives me error. Select works perfectly. Any…
I am using BLToolkit and find out an interesting behaviour. I don't understand why using the same request in link give me different results:
SQL request:
select TOP 1 * from table where coverCode='1+4'
…
the image is the project folder and files.
this is what I doing:
1.Create a Console Project.
2.in the Nuget Console input "install-package BLToolkit"
3.in the Nuget Console input "install-package MySql.Data"
4.Copy the Templates folder to root…
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…
i'd like to add some new records to a set of tables in a parent/child relationship by using BLToolkit. Unfortunately, i can't figure out what i'm missing, since after the commit, i only have the parent rows in my database.
When I inspect the…
With BLToolkit, it's very easy to map from a stored procedures output to an object, but can it be done the other way? To go from an object to a stored procedures input, such that each of an objects properties becomes a parameter
I'd like to be able…
Here I found how to join tables using Linq2Sql and count amount of linked records LINQ - Left Join, Group By, and Count
I've implemented it and it works ok for me: the following expression
var v = from c in db.GetTable()
join t0 in…