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
UPDATE 开发者_JAVA技巧 Scenarios.Blocks SETOrderId = OrderId - 1 So, it\'s basically updating a column with its current value minus one.This should help:
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.
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.
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));
public void Add(IDataProvider provider){ var key=KeyValue(); if(key==null){ var newKey=_repo.Add(this,provider);
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)
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\"
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
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