Telerik OpenAccess ORM is a tool that supports development of data-oriented software applications. Telerik OpenAccess ORM tool is targeted at solving the object-relational impedance mismatch.
Questions tagged [openaccess]
52 questions
0
votes
1 answer
How do I fix "multiple threads" and "new transaction is not allowed" errors when using Telerik Open Access?
We have a asp.net MVC application that uses Telerik Open Access. We're having all kinds of problems just saving data once we put it into production. Telerik no longer supports Open Access, so we can't get any help from them, but we're supposed to…

boilers222
- 1,901
- 7
- 33
- 71
0
votes
2 answers
Optimizing JSON Serialization Performance of .NET POCOs
I have been trying to optimize the JSON Serialization of over 500K POCO's to be importd into a MongoDB, and been running into nothing but headaches. I originally tried the Newtonsoft Json.Convert() function but that was taking too long. Then, based…

Gary O. Stenstrom
- 2,284
- 9
- 38
- 59
0
votes
1 answer
Telerik OpenAccess cross configuration file reference problem?
I have 2 libraries and one of them is a core library with some core persistent objects such as Person, Address, etc. I have another library which contains some different persistent objects that need to reference the core objects as well.
When I try…

David Hollins
- 13
- 1
- 4
0
votes
1 answer
telerik OpenAccess NULL reference in ASP.NET MVC
I use telerik Domain Model for ASP.NET MVC 5. When I use context at Unit test project, all thing works perfectly. but when I use it at MVC Controllers I got this Exception:
System.NullReferenceException: Object reference not set to an instance of an…

Jake Terro
- 11
- 2
0
votes
1 answer
Telerik OpenAccess : Mapping for class is specified in file 'config' but the class could not be found
I have a windows service, in C#, that is using Telerik Open Access. When I call the following code (query), I get the error below.
Code
var updateRecords =
_context.Contracts.First(
…

user3524244
- 43
- 1
- 5
0
votes
1 answer
Telerik OpenAccess generating the same query for every function call
I'm using a Generic Repository like pattern to fetch data. There are 100+ entities so creating a separate repository for each is not really an option. here are a few functions from the same class:
public int Count(Func x=null)
…

Simple Fellow
- 4,315
- 2
- 31
- 44
0
votes
1 answer
Delete from multiple Tables in Transaction
I would like to delete from multiple tables using telerik open access within the one transaction - so if there is a problem with any of the deletions, they all roll back.
This is the code I have come up with after reading documentation, however I…

DaManJ
- 373
- 2
- 15
0
votes
1 answer
How to avoid the cache or concurrency in telerik data access ORM?
Now I want to calculate the average concentration of pm2.5 these days in each city through stored procedure .The first input parameter of the stored procedure is cityname string like Beijing,NewYork,and the other input parameters are beginTime and…

flower
- 2,212
- 3
- 29
- 44
0
votes
1 answer
Telerik Open Access Profiler Does Not Catch Error Message, what should I do?
On the data side:
I have a table.
This table has a number of fields.
And this table has been added an index that is unique. The intention of this index was to not allow the insertion of Duplicate values.
The table has been manually tested and it…

Katara
- 1
0
votes
1 answer
WCF Service and LightSwitch using Telerik OpenAccess ORM - editing doesn't work, claims "Specified entity is not managed by a context"
I stumbled upon an issue after following the steps described in http://documentation.telerik.com/openaccess-orm/quick-start-scenarios/getting-started-root-quickstart-vs-light-switch-wcf-ria . I can generate the Model and the Service just fine and…

martyna_bb
- 1
- 3
0
votes
1 answer
OpenAccess ORM - WithCascadeDelete Not Available
I am using ORM version 2013.2.702.1 and ASP.NET MVC 4.5. I am trying to use WithCascadeDelete like the documentation: Cascade Delete on Class Level, but the method is not available:
using FluentModel.Entity;
using Telerik.OpenAccess.Metadata;
using…

Michel Andrade
- 4,056
- 5
- 27
- 28
0
votes
1 answer
Generate Enums from Tables using Telerik OpenAccess
Reading the Telerik OpenAccess documentation, I see that I can set the data type of a Domain Class Property to an enumeration I have explicitly coded. Instead of coding them, can I use OpenAccess to generate (and maintain) enumeration types from my…

Mat
- 470
- 7
- 12
0
votes
1 answer
Setting ID from related table in Telerik Open Access ORM
I'm quite new using OpenAccess so please bear with me.
I have a table called Messages which has a column called MessageTypeID, the available IDs are in a table called MessageTypes, how can I programmatically obtain the ID for a specific MessageType…

franklores
- 375
- 3
- 14
0
votes
1 answer
Telerik OpenAccess GUID is blanked off
I am trying to add a relatively simple entity via Telerik.OpenAccess.
One property of this entity is a GUID set via c#'s GUID.NewGuid().
The property is set fine right before the call to SaveChanges() but then looking in SQL Profiler the value is…

chris stevens
- 316
- 4
- 14
0
votes
2 answers
Simple bind value to textbox in code behind using Telerik OpenAccess
I cannot find a complete example. Found tons on grid and combobox, but not textbox. This test is to lookup a “PhoneTypeName” from a UserPhoneType table with TypeCode = “0” and assign that first value to a asp.net textbox.
Currently, I am getting…

Ted
- 123
- 3
- 13