2

I came across this snippet of code on MSDN:

entityBuilder.Metadata = @"res://*/AdventureWorksModel.csdl|
                            res://*/AdventureWorksModel.ssdl|
                            res://*/AdventureWorksModel.msl";

What does the res://*/ mean and how does it work? I think it has to do with resource files, but I am not sure.

Google is no help because of the punctuation.

casperOne
  • 73,706
  • 19
  • 184
  • 253
Ryan Michela
  • 8,284
  • 5
  • 33
  • 47
  • It should be noted that in this specific case, the resources pointed to are for the metadata definitions using the Entity Framework. – casperOne May 16 '11 at 16:39

2 Answers2

3

You've got the right idea:

res protocol

EDIT: Incidentally, you should check searchdotnet for technical searches, it still uses google but filters on .net stuff.

Scott
  • 850
  • 7
  • 13
0

The 'res' protocol allows only access to unmanaged win32 resources, for managed .net assemblies use the new 'resx' protocol: MSDN

Maestro
  • 9,046
  • 15
  • 83
  • 116