DCSIMG
DEV,XML - Gil Fink's Blog

Gil Fink's Blog

Fink about IT

News

Microsoft MVP

My Facebook Profile My Twitter Profile My Linkedin Profile

Locations of visitors to this page

Creative Commons License

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.
© Copyright 2013 Gil Fink

Hebrew Articles

Index Pages

My OSS Projects

English Articles

Browse by Tags

All Tags » DEV » XML (RSS)
Defining Custom Functions in Entity Framework
Defining Custom Functions in Entity Framework During the SDP conference I have been asked about the   use of functions inside the EDM . This post will try to answer one such question of how to define a custom function in EF . Custom Functions in Entity Framework One of the capabilities of EF since EF1 was the creation of custom functions inside the SSDL part of the model. After their creation we could consume them like other imported functions. In that way we could define functions in the...
Reading a Xml File in T4 Templates
Reading a Xml File in T4 Templates After I wrote the post about the use of T4 templates in EF4 , I played with them for a while (not in EF but generally with T4 templates ). In an old project that I’ve created almost 3 years ago which automated the use of lookup tables I had an enum. That enum was meant to be the connection between an Xml node names and was heavily used in the application. For each Xml node I needed to add an entry in the enum. So I thought what the hell lets see if I could have...
Enabling Xml Schema Validation in Visual Studio
Enabling Xml Schema Validation in Visual Studio The post is a simple tip which will help you to enable Xml schema validation and intellisense while writing an Xml file inside Visual Studio . The Problem Writing Xml files according to a specific Xml schema definition is sometime very hard and can be a very “painful” task for a developer. You need to remember all the small details and elements in order to do it properly. So how can we validate the Xml files while writing them? The Solution Having the...
Back to Basics – Zip in .NET
Back to Basics – Zip in .NET In today’s post I’m going to share a problem I solved this week. The solution was to use the framework’s System.IO.Compression namespace and the GZipStream object. The Problem In my current project we save Xml data in our database. The field to save the data was of type varchar(6000). This way of saving the data raised a problem of big Xml data (over 8000 kb for every Xml data) which were saved in the database and for the long run could raise space and performance problems...
How And Why To Use DefiningQuery Element
In this post I describe how to use DefiningQuery elements in entity framework and to use them at all....