Calling UDFs from Entity Framework - Not what you might have expected

Posted by: Julia Lerman Blog - Dont Be Iffy..., on 29 Nov 2008 | View original | Bookmarked: 0 time(s)

Along with Stored Procedures, you can bring UDFs into an EF Entity Data Model which also surfaces as a function in SSDL. Unlike Stored Procedures, however, a UDF is composable on the server side and this is reflected in its attributes. Function Name="ufnLBtoKG" ReturnType="nvarchar" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="true" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo"> Parameter Name="Pounds" Type="int" Mode="In" /> Function>.csharpcode, .csharpcode...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: Data | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1225 | Hits: 23

Similar Posts

  • Checking out one of the new stored procedure features in EF4 more
  • You should NOT use ASP.NET MVC if. . . more
  • Talking Points: ADO.NET Entity Framework more
  • Best approach for teaching first exposure to Entity Framework more
  • More on Foreign Keys in EF more
  • Overloading Entity Framework Methods: More GetObjectStateEntries more
  • Full frontal entities? A little privacy please! more
  • Delete Stored Procs and Navigations in the Entity Data Model more
  • Sneak Peek at the EntityDataSource Control more
  • Entity SQL difference when using ObjectQuery vs EntityClient more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD