-
The current templates use the following when creating the output file: Code: using (StreamWriter sw = System.IO.File.CreateText(fname)) { sw.Write(text); } System.IO.File.CreateText() does not create the StreamWriter so that the BOM is written. As a result, some tools like MS VSS do not correctly auto-detect the encoding and treat the file as ANSI.
-
Hi csteinhardt, The developer documenation is based on an 'Employee' example. I believe the context of the code snippet is that LoadByEmployeeType() is a method of the "Custom Class" http://www.developer.entityspaces.net/documentation/CustomClasses/CustomClasses.aspx . Thus, in this context 'this' refers to an instance of the custom class. Since the
-
Yes. Take a look at the class esUtility. esUtility.ExecuteScalar() should do the trick.
-
Yes. Take a look at the esEntity.Load() method in the API Reference help. There is also an example at http://www.developer.entityspaces.net/documentation/DynamicQuery/LoadStoredProcedure.aspx
-
Try esEntityCollection strategyCol; strategyColl.es.Query.Load()
-
You can't use that version to install 2.x or 3.x assemblies. Microsoft no longer installs GacUtil as part of the runtime redistributable. GacUtil is distributed in the SDK. Your options are: 1 - Install SDK on web server 2 - Copy correct version of GacUtil to the webserver 3 - write a deployment project in VS2008 that installs the assembly in the cache
-
Version: 2009.1.0209.0 Summary: Code is not generated when a template is recorded for 1 or more views and the 'LINQ to SQL Support' check box is enabled. Steps to Reproduce: Connect to a SQL Server 2005 database with 1 or more view definitions Record a template using 'Generated - Classes Master (C#)' In the 'Tables or Views' dropdown select Views Select
-
Version: 2009.1.0290.0 Description: On the 'Projects' tab, the tool tip for the most recently used projects has the text 'Most Recently Used Settings File' On the 'Settings' tab, the tool tip for the most recently used settings has the text 'Most Recently Used Projects'
-
Description: The order in which a project and settings file is loaded affects the templates you can select when recording. If the project is loaded first and then the settings file then the templates are taken from the default location specified in the esSettings.xml file in C:\Documents and Settings\All Users\Application Data\EntitySpaces\ES2009 and
-
I have the following code below. When I call PurchaseOption.Load(qry), the sql sent to sql server is: select p.* from PurchaseOption p inner join PurchaseOptionSite s on p.PurchaseOptionId = s.PurchaseOptionId Why are my where criteria missing? What am I doing wrong? I expected this sql to be sent to the server select p.* from PurchaseOption p inner