I added a Linq to SQL data access class to my project and dragged a table to the design surface and I looked at the code generated in the .cs file. I am trying to understand this snippet:
[global::System.Data.Linq.Mapping.DatabaseAttribute(Name="AdventureWorks2008R2")]
public partial class AdventureWorksDataContext : System.Data.Linq.DataContext
{
private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource();
I think I understand attributes in a general way and even in this specific case but my real question is "What is meant by the double colon syntax?" Is the above attribute a "global attribute" as discussed elsewhere (for example, here at http://www.switchonthecode.com/tutorials/creating-and-reading-global-attributes-in-csharp1 )
A corollary question would be how to search for the meaning of the :: syntax in Google and/or within StackOverflow? I've tried placing it within quotes and ended up posting this.