subsonic3
Subsonic 3.0.0.4 active record templates for mysql not returning last inserted id
Steps to reproduce error: CREATE TABLE person ( per开发者_如何学Pythonson_id int(11) NOT NULL AUTO_INCREMENT, firstname varchar(20) DEFAULT NULL, lastname varchar(20) DEFAULT NULL, age int(11) DEFAUL[详细]
2023-01-28 11:44 分类:问答How to write this sql query with SubSonic3?
UPDATE 开发者_JAVA技巧 Scenarios.Blocks SETOrderId = OrderId - 1 So, it\'s basically updating a column with its current value minus one.This should help:[详细]
2023-01-27 09:16 分类:问答Subsonic ActiveRecord fails on compilation due to GUID
I have just downloaded subsonic 3, but when I try to compile my website, I get some errors. The errors all seem to relate to cases where I use GUIDs as foreign key.[详细]
2023-01-25 20:28 分类:问答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 分类:问答Issue using silverlight 4 as development environment
i am running visual studio 2010, and as soon I choose Silverlight 4 as build environment, it prompts me to download developer tools for silverlight 4 (http://go.microsoft.com/fwlink/?LinkId=168436)[详细]
2023-01-21 04:37 分类:问答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 分类:问答Subsonic ActiveRecord and SQL Server Express
I am trying out Subsonic ActiveRecord to determine if I want to use it on any upcoming projects, and I gotta say I really like it so far. It worked great with MS SQL Server 2005 and 2008, but I am hav[详细]
2023-01-19 12:21 分类:问答Subsonic Active Record Execute Direct SQL
How can I execute direct/raw SQL through subsonic 3.0 开发者_JS百科when using the Active Record pattern? Found it http://subsonicproject.com/docs/CodingHorror[详细]
2023-01-19 10:42 分类:问答