Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm trying to access the SqlFunctions class under System.Data.Objects.SqlClient on my UmbracoViewPage
SqlFunctions
System.Data.Objects.SqlClient
I've added the System.Data.Entity reference to my project.
System.Data.Entity
@using System.Data.Objects.SqlClient works on a public static class.
@using System.Data.Objects.SqlClient
But when I try to add @using System.Data.Objects.SqlClient to my UmbracoViewPage it tells me "Objects" doesn't exist in "System.Data"
Is there a way to make this work?
I just moved the code into a function in my public static class and used that on my UmbracoViewPage
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
System.Data.Objects.SqlClient on UmbracoViewPage
I'm trying to access the
SqlFunctions
class underSystem.Data.Objects.SqlClient
on my UmbracoViewPageI've added the
System.Data.Entity
reference to my project.@using System.Data.Objects.SqlClient
works on a public static class.But when I try to add
@using System.Data.Objects.SqlClient
to my UmbracoViewPage it tells me "Objects" doesn't exist in "System.Data"Is there a way to make this work?
I just moved the code into a function in my public static class and used that on my UmbracoViewPage
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.