Questions tagged [dataobjects.net]

DataObjects.Net is an ORM and business logic layer development framework.

DataObjects.Net is a persistence and object-relational mapping framework for the Microsoft .NET. It allows developers to define persistent objects as well as business logic directly in C#, Visual Basic or F#. The persistent objects can be retrieved by LINQ queries. Persistent data can be stored in SQL Servers. In contrast to many other ORM frameworks the database model is generated and maintained automatically.

9 questions
8
votes
2 answers

How to get metadata of classes without compiling the project

In our project we use a lot of T4 code generation. We use an ORM called DataObjects.Net of X-Tensive. We have a bit a chicken-egg problem. We need to compile the classes of the ORM before we can use the assembly's metadata to generate code. Then…
Paul Sinnema
  • 2,534
  • 2
  • 20
  • 33
4
votes
4 answers

DataObjects.NET: a good (flawless, documented, support) ORM?

I am looking for ORM frameworks, came along to NHibernate, Genome, L2S, Entity Framework and now the DataObjects.NET.. So far a I read the documentation it seems pretty cabable, but have you ever tried this ORM? Any issues/bugs with DO.NET would be…
1
vote
1 answer

Include Foreign Key Properties in DataObjects.Net

I'm recently concerned in the problems we have with Entity Framework and we may need to find a replacement. According to ORMBattle, the best candidate is DataObjects.Net, the result of my initial investigations are very promising, except one feature…
Alireza
  • 5,421
  • 5
  • 34
  • 67
0
votes
1 answer

select records for each page in dataobjects.net

I have lots of records in the database, and I have a control that pages those records. How do I select records for each page? For example I need to select records from 51st record to 100th record. And I can't use LINQ expressions. I am using…
Bogdan Verbenets
  • 25,686
  • 13
  • 66
  • 119
0
votes
1 answer

How to null-annotate a property of a reference type which is always initialized by a generated code?

var x = something.Relation.Where(x => ...); // no warning here I am wondering how to tell the compiler that a certain property will never be null, despite the compiler does not see any initialization code. Currently the compiler issues a…
Ondrej Tucny
  • 27,626
  • 6
  • 70
  • 90
0
votes
4 answers

Hold a data structure over several pages?

I'm using .NET 3.5 and I need some help with how to hold a data object when you transfer between different pages. This is my setup: I have a four step registration where each step includes its own web page. I want to be able to hold a object in…
Marthin
  • 6,413
  • 15
  • 58
  • 95
0
votes
1 answer

Data access layer design pattern

I need to build a data access layer and I am looking for the right design pattern. what I need is: object mapping: it shouldn't be too complicated and not generic. I have a lot of look up tables and I need to a good way to load them. I don't care…
0
votes
2 answers

Can DataObjects.NET support SQL identity columns?

While there's lots to like about DataObjects.NET, I've found help resources to be a lean, and can't find a solit example of using DataObjects.NET with RDBMS generated primary keys. It would seem as though D4O won't do inserts against SQL Server…
Mark
  • 9,320
  • 6
  • 57
  • 70
0
votes
1 answer

DataObjects.NET 4.0 Save certain data

I am creating a WinForms application in C# using DataObjects.NET. I'm a little bit stuck on a certain point. I have some data in a database. It are objects as below: [HierarchyRoot] [Index("Id", Unique = true)] public class Object : Entity { …
K.L
  • 7
  • 5