subsonic
Subsonic 3 - Simple repository and creating a foreign key
There seems to be hardly any examples out there so here goes: Here are my three structures but it doesn\'t seem to create the tables properly and when I call the following line it says Id is not reco[详细]
2023-01-24 21:37 分类:问答Complex Type in Subsonic 3
I am going to use subsonic 3 ina large enterprise winform application. what i saw in my personal tests is that subsonic cannot handle complex type references well.[详细]
2023-01-24 17:19 分类:问答Subsonic load objects by a list of ids
Is it possible to load objects by a list of ids using subsonic ActiveRecord? My code looks like: IList<Video> videos = Video.Find(v => videoIds.Contains(v.ID));[详细]
2023-01-24 15:06 分类:问答Subsonic 3.0.0.4 ActiveRecord Template for MySQL error on inserting new record
public void Add(IDataProvider provider){ var key=KeyValue(); if(key==null){ var newKey=_repo.Add(this,provider);[详细]
2023-01-24 02:03 分类:问答If use the ActiveRecord,generate models each I modify the database structure? [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari[详细]
2023-01-23 23:17 分类:问答SubSonic 3, build dynamic or expression at runtime
I have a situation where I have to dynamically build a linq query b开发者_如何学JAVAased on user selections.[详细]
2023-01-22 06:47 分类:问答Get item and all related tags with one query
I have the following tables structure: Item: Id, Description Tags: Id, TagName ItemXrefTag Id, TagId, ItemId[详细]
2023-01-21 16:00 分类:问答.NET BackgroundWorker and SQLTransactions
Where can I find information or how can I handle SQL Server transactions in a BackgroundWorker thread? It\'s my understanding that error handling should not be set in the \"DoWork\" event and that the[详细]
2023-01-21 08:04 分类:问答LINQ GroupBy month
I am having trouble getting an IQueryable list of a (subsonic) object grouped by Month and Year. Basic view of the object...[详细]
2023-01-20 14:41 分类:问答How to address "Can't decide which property to consider the Key" error
I\'m getting this error message: \"Can\'t decide which property to consider the Key - you can create one called \'ID开发者_Go百科\' or mark one with SubSonicPrimaryKey attribute\"[详细]
2023-01-19 14:27 分类:问答