Search:
Type: Posts; User: Bill Crawley
Search:
Search took 0.28 seconds.
-
Hi, Yes, I got automapper Via NuGet. I finally managed to trace the problem. Was a strange one as it was a dll in one of the package files still at version 2. I deleted this and now version 3 is...
-
Hi All,
I have a large solution made up of a number of projects that I have attempted to upgrade to VS2013. In the main most of it has ported. I've upgraded out of date packages via NuGet, I've...
-
For all those that are interested, this is the answer:
var tempvar =
_dataRepository.Retrieve<Hierarchy>(r => r.HierarchyID == hierarchyId,
...
-
Hi All, I have the following linq statement and so far it returns all the results that I expect. I now want to place a filter on the set currently being returned by company name
var tempvar =
...
-
Ok everyone,
for future reference, I have solved my problem. Here's the full code for anyone that's interested.
public static object SetUpdated(object objA, int? Id)
{
//...
-
Hi all,
I have a parent object, that has both properties and child objects on it. The objects, both parent and child will always have a bunch of properties on it that include things like...
-
Hi All,
I'm trying to make a generic filter.
So far I have:
public class GenericFilter<T>
{
public IQueryable<T> Filter(IQueryable<T> source, Dictionary<string,string>...
-
HI All,
I have a Repository Layer using Entity Framework and this stores all my data object structures. I then have a service layer that uses the repository. i.e. I may have a User object in the...
-
HI All,
I have a number of controllers they are in different namespaces. In the Application I have generic menu bar and so depending upon the namespace that you are in, I need the buttons on the...
-
Resolved. was a duff user on the connection string, it had not been set up correctly.
-
This is the Calling code
public List<Title> GetTitles()
{
try
{
return _dllayer.GetTitles().ToList();
}
catch...
-
This is the stack trace, which is why I think it's a connection issue:
Event Type: Warning
Event Source: ASP.NET 4.0.30319.0
Event Category: Web Event
Event ID: 1309
Date: ...
-
my_Connection has been renamed for this thread to protect the product I'm working on at the moment. It is the Reference to the code generated by the Entity Framework. I've placed some extra error...
-
Hi Techgnome,
I'm using IIS6 not 7.
-
The Event viewer tells me the method that it's trying to run:
try
{
using (my_Connection ctx = new my_Connection())
{
return...
-
Hi All,
I'm using VS2010 with EF5. to an Existing DB. As usual everything works fine on my dev machine. On the server that we are deploying to it is an windows Server 2003 with IIS6. We have...
-
Against my object context, I have the following call's There are methods in between these that populate my object's but I didn't want to clutter my example here.
_context.AttachTo("Cases",...
-
I've had a look again ay my DB design, and have managed to remove the table.
-
I first created the DB in SQL Server, then I built the EF model from the DB. EF decided that it didn't need the primary key table and did a many-to-many relationship between the 2 tables in the...
-
Hi All,
On my underlying DB I have 3 tables. 1 of those tables comprises of just the primary keys of the other 2 tables. When I built the Model, it recognised this and so didn't actually generate...
-
Hi All,
This is a standard web app (no MVC). In my aspx page I have:
<img src="Images/btnNext.gif" alt="Next" onclick="sendScreen()" />
then in script I have:
-
Hi All,
I have a class Library project with 2 files an IInterface.cs file and an Class1.cs file. Both are declared as public and Class1 implements the IIntrerface
public class Class1 :...
-
I forgot to put in the MasterType directive in the aspx page
-
Hi all,
I'm using WCf to send data back to my Business Objects and I want to send an object with all its subordinates. I have the following entities Case, Policy, Client
I want to do the...
-
Ok, I've realised that I cannot use the context directly since this cannot be serialised. instead, I have done the following and now my question changes slightly. I have also had to move to EF5.0
...
-
Hi All,
I created my Entity Framework model from a Database.
I have a Table called User that has a number of columns on it and one of those columns is UserType. declared as int not null without...
-
Hi All,
I'm using the EF4.1 to interact with the underlying DB. I Need to expose the DBContext etc via a WCF Service, what is the best way to do this I'm using VS2010
-
Hi All,
I have some popups that are created via CSS on my page using Div's. One of the popups also has Tab's made up of divs with some JQuery thrown in to hop from 1 tab to the next. all of this...
-
Ok I have added a runat="server" to my span in the master page.
In the contentpage aspx file I have added a MasterType with VirtualPath set.
In the page_load event of my content page, when I...
-
Hi All,
I have the following in my master page:
<span id="Quote" class="hide">..........
In my code behind on the content page of page load I want to change the class="hide" to...
-
Hi All,
In my project (VS2010). I have a directory called JQuery in this directory I have placed 2 files:
jquery-1.8.0.js = Core JQuery
jquery-ui-1.8.23.custom.min.js = JQuery UI.
In a...
-
After speaking with Ops, it appears that development are on network printers, but the users where the printers do not work are local. I'm wondering if they need to be opened up for sharing at a...
-
It's a printer on the network. I thought it might be a permissions thing, but If the user presses the standard print button on the browser, then the page will print to the designated printer.
Even...
-
Hi All,
I have been handed a program written by someone else, that has been deployed and doesn't work correctly after deployment.
Basically we have a button with the following:
protected...
-
set the 2 hr timeout value to 00:00:00
-
To add a little flesh to Entity Framework (i'm talking 4.0 and up), when you first open the designer, you make a connection to the database that you want to use. Now let's say you have written a load...
-
an ocx file has nothing to do with .NET, so installing any .Net framework will not help.
Place the OCX in a folder e.g. c:\myFolder\my.ocx
then use go Start/Run and enter Regsvr32...
-
you need : if (Convert.ToInt32(textBox1.Text) > num[i]) Though why you need an Array and loop I dont know. Just do if (Convert.ToInt32(textBox1.Text) > 13)
-
This error is as it states. There is more than one process trying to access the stream at one time. I can see this might happen if you have more than one user since you have declared the class as...
-
In that case, I'm not going to re-invent the wheel. There are lots of examples out there. To get you started google using ado.net with excel This will gove you lots of start points....
|
Click Here to Expand Forum to Full Width
|