Questions tagged [subsonic2.2]
82 questions
0
votes
3 answers
Error with Subsonic 2.1
I'm getting very odd errors when compiling our Data Access library (all subsonic). Errors are
Error 35 The type name 'Web' does not exist in the type 'S3.DACL.System'
C:\Projects\S3\src\DACL\AspnetUser.cs 369 63 DACL
And
Error 37 The…

Matt Dawdy
- 19,247
- 18
- 66
- 91
0
votes
1 answer
Can we use subsonic version 2.2 with Visual Studio 2010
I extensively make use of Subsonic version 2.2 in my visual studio 2005 projects. I moved one of my projects to visual studio 2010. Upon compiling, it gives me host of errors pertaining to Subsonic.
Can't we use subsonic version 2.2 with Visual…

Jiternity
- 11
- 3
0
votes
1 answer
Add additional namespace to SubSonic 2.2 generated files
I think it should be possible to add additional namespaces to the generated classes without modifing SubSonic's core or the CS_ClassTemplate.aspx, but instead with a SubSonic config parameter. But atm I can't find any example.
Does anyone know how…

Jürgen Steinblock
- 30,746
- 24
- 119
- 189
0
votes
1 answer
How to obtain primary key from table in Subsonic 2.0
I've a method like below, given a table name and where condition (column and value) the idea is obtain the primary key value for this condition
public static int getid(string table, string wherecolumn, string wherevalue) {
…

cesarlinux
- 37
- 1
- 7
0
votes
1 answer
What's the best way of using coalesce keyword in Subsonic 2.2 query?
I want to create the following query using Subsonic 2.2:
SELECT coalesce(col1, col2) AS result
FROM someTable

Stewart Alan
- 1,521
- 5
- 23
- 45
0
votes
2 answers
Casting to varchar using Subsonic 2.2
How can I reproduce
SELECT CAST(ID AS varchar(20)) AS IdAsString
FROM Table
Using Subsonic 2.2?

Stewart Alan
- 1,521
- 5
- 23
- 45
0
votes
1 answer
Column aliasing with Subsonic 2.2
Is there any way I can do
Select TableName.SomeColumn As SomeAlias FROM TableName
In Subsonic v2.2

Stewart Alan
- 1,521
- 5
- 23
- 45