subsonic Questions

5

Solved

I have a lot of services which query the database. All of them work fine but one service calling a stored procedure gives me following error: Could not find server 'dbo' in sys.servers. Verify ...
Shaeshaef asked 20/3, 2009 at 10:46

14

Solved

I am trying to do a simple JSON return but I am having issues I have the following below. public JsonResult GetEventData() { var data = Event.Find(x => x.ID != 0); return Json(data); } I ge...
Yokoyama asked 20/7, 2009 at 12:46

2

Solved

I'm writing a utility for myself, partly as an exercise in learning C# Reflection and partly because I actually want the resulting tool for my own use. What I'm after is basically pointing the app...
Atli asked 12/9, 2008 at 15:7

1

I'm getting the following error when using a web service: Cannot serialize member 'XXX' of type System.Nullable`1[System.Decimal]. XmlAttribute/XmlText cannot be used to encode complex types....
Sweetheart asked 4/10, 2011 at 11:9

4

Solved

I searched all over this site and the web for a good and simple example of autocomplete using jQuery and ASP.NET. I wanted to expose the data used by autocomplete with a webservice (and will probab...
Augustine asked 20/11, 2008 at 16:46

3

Solved

I meet a problem about: Object of type 'System.Int64' cannot be converted to type 'System.Int32' when run the SubSonic.Examples.SimpleRepo project base on SQLite provider. I fond that the data typ...
Freeholder asked 24/8, 2009 at 2:56

2

Solved

For an application I need to send personalized invitation emails to end-users every hour. Those users email-addresses, and the rest of their information are in the database. All users that have ...
Farmelo asked 15/6, 2011 at 12:44

3

Solved

I'm looking for new ORM for a important project, im used to nHibernate with ActiveRecord and I already have a very bad experiencia with EF4, performance and crashing GUI. So search on web I found...
Loquitur asked 8/6, 2011 at 18:15

3

Solved

I have a Subsonic3 Active Record generated partial User class which I've extended on with some methods in a separate partial class. I would like to know if it is possible to add Data Annotations t...

1

Does Subsonic supports SQLite, if so can subsonic work with Win7 Phone ?
Persist asked 6/9, 2010 at 14:1

4

Solved

I have need to provide a way for users to edit tables in ASP.Net. The tables are simple (no master/detail relationships), but there are likely to be a lot of them. What's the quickest/simplest way ...
Dessau asked 4/6, 2010 at 13:52

4

Solved

Ok I have the following, set-up and working great. These lines of code should do a conversion from DAL Entity (Subsonic) to a ViewModel. IList<ProductOptionModel> OptionsRetData = new List...
Opportune asked 25/5, 2010 at 15:2

1

I've got a DLL that contains Subsonic-generated and augmented code to access a data model. Actually, it is a merged DLL of that original assembly, Subsonic itself and a few other referenced DLL's i...
Asgard asked 7/5, 2010 at 16:0

3

Solved

I'm developing an application which will have these classes: class Shortcut { public string Name { get; } public IList<Trigger> Triggers { get; } public IList<Action> Actions { get;...
Metrology asked 25/4, 2010 at 18:24

5

I am working with Subsonic 2 more than 3 years now... After Linq appears and then Subsonic 3, I start thinking about moving to the new Linq futures that are connected to sql. I must say that I st...
Thorne asked 2/3, 2010 at 14:23

4

Solved

I have a SQL Server 2008 database with a bunch of stored procedures. When I use the ActiveRecord Template provided with Subsonic 3.0.0.3, it generates methods for all of my stored procedures, but t...
Tlemcen asked 28/8, 2009 at 20:34

4

Solved

So I'm having a head against the wall moment and hoping somebody can come help either remove the wall or stop my head from moving!! Over the last 3/4 weeks I've been investigating ORM's in readyne...
Absorbent asked 9/2, 2010 at 10:51

6

Solved

I used to work with a custom data mapping library, and curently I'm trying to switch to a more widespread ORM solution. After some experimentation, I refined my requirements to the following: ab...
Fabrianne asked 11/1, 2010 at 16:0

2

Solved

I'm playing around with SubSonic 3.0 at the moment, and it looks really straight-forward (except that I still have to decide between SimpleRepository and ActiveRecord, but that's another story). H...
Munger asked 11/7, 2009 at 21:33

4

Solved

I'm real interested in using SubSonic, I've downloaded it and I'm enjoying it so far, but looking at the activity on github and googlegroups it doesn't seem to be very active and looks a lot like a...
Scrutinize asked 10/1, 2010 at 13:1

2

Solved

Anyone worked with Subsonic3 and Entity Framework here who can tell me the pros and cons? This is my first time attempting to try these. Subsonic is easy to setup so as the Entity Framework. I am n...
Aloisius asked 20/7, 2009 at 13:42

2

Solved

The error I'm getting seems to be coming out of the Structs.tt file. I'm using the Northwind db and only using the Products table (I excluded all other tables). I return Json(Product.All()). Here'...
Subsequence asked 28/7, 2009 at 12:44

1

Solved

I am playing around with Subsonic 3's simple repository and am hitting walls in understanding how to deal with foreign keys... If I have a product object containing int ID; string name; strin...
Softhearted asked 24/7, 2009 at 9:27

2

Is there any way that I can access my SQL views in SubSonic 3.0? The code generation seems to skip views altogether
Christoper asked 3/7, 2009 at 8:14

3

Solved

In Visual Web Developer Express 2008 the SubSonic ASP.NET MVC template doesn't seem to work with a new database I added. I removed the Chinook Database and created my own one. I understand the the ...
Chantellechanter asked 24/4, 2009 at 16:55

© 2022 - 2024 — McMap. All rights reserved.