Indeed, there would be probably more repository classes for your project.
After playing like that for a while I decided to do something different which still sucked but better. I must accept that I could be doing something against OOP here which I have no idea what they are. Im used to using the "Using" statement to make the connections, and im not seeing this being done...
Chris Ok I answered part of my own question :) I added a 'Select' tag inside the Info HTML. Number Decimal Separator = "."; // New if (Is Numeric(p Num Value)) else I hope you will use this in next release, or make your own type of code ;)I think most of the people know how to read an sql table and load values in variable. I didn't want to make my sample to tightly bind with SQL Database.
Sure would appreciate a small example; I've been struggling with this one for days.
In fact, I won’t touch the repository interfaces at all. Actually, it wasn't there on my code but while I was writing the post, I wanted to add there. As for your suggestion, yes it can be dropped and even as you suggested, we can have one method which accepts an optional paramater that is type of x. With a 2nd method you'd end up needing to basically duplicate the above mock but forward the where predicate to Foo Repository. comment by scott gu near the bottom) Thanks though... I want to be able to make model classes any ole way I want and persist them with EF (with some generic implementation if possible) or any other persistence model/device be it NHibernate, XML or simple Db. @Chris IGeneric Repository is not specific to the EF.
What I did here first is to create an abstract class which implements IGeneric Reposity abstract class to access an instance of Db Context. IGeneric Repository would be defined in your Model somewhere.
If you needed to access any other data sources, you could build out your own implemenation of the IGeneric Repository for that type of datasource, whether it be NHiberante, XML, or whatever.
The length of the string exceeds the value set on the max Json Length property. However, if I want to click on specific street or house in the neighborhood, the Map Clicked function doesn't fire anymore after the previous three postback. However, it will not compile and gives these errors: Type 'Samples_Simple Map With Moving Push Pins' already defines a member called 'Page_Load' with the same parameter types Type 'Map With Auto Moving Pushpins' already defines a member called 'Timer1_Tick' with the same parameter types Type 'Map With Auto Moving Pushpins' already defines a member called 'Page_Load' with the same parameter types The type or namespace name 'Google Object' could not be found (are you missing a using directive or an assembly reference? I have tried to create a new project with API 1.92 but all in vain can anybody assist us asap us. I have some trouble when I open two or more pages with maps.
Thanks & Regards, Hanu I just wanted to say that I enjoyed reviewing and using this control. ) The type or namespace name 'Google Object' could not be found (are you missing a using directive or an assembly reference? Thanks hi Lately my google maps web app developed with API 1.7 in ASP. In this case, the markers, polylines and poligons are cloned in all pages.
The server-side code records the selection and changes the marker icon color. Redirect("default.aspx")Hey, this is very useful and i love that you can dynamically set the push pins by longitude and latitude, but is there a way of setting them by a postcode? Hi In denmark we use "," as the default seperator, but the converter function use systemet setting, it must be hardcodet to use "." as Seperator. Is it possible to hide the map control on the page and then show it on the click of a Button ?
When clicked, it fires a server-side event and passes the marker's id. The only work around I have found is to do a post-back --Response. That's the reason I didn't include it in my samples as well.