2 instantiations of SqlTypesAssembly
System.Data.Entity (2)
System\Data\SqlClient\SqlTypesAssembly.cs (2)
118
return new
SqlTypesAssembly
(sqlTypesAssembly);
127
sqlAssembly = new
SqlTypesAssembly
(assembly);
16 references to SqlTypesAssembly
System.Data.Entity (16)
System\Data\SqlClient\SqlProviderServices.cs (5)
292
internal static
SqlTypesAssembly
GetSqlTypesAssembly()
294
SqlTypesAssembly
sqlTypes;
307
SqlTypesAssembly
notUsed;
312
private static bool TryGetSqlTypesAssembly(out
SqlTypesAssembly
sqlTypesAssembly)
314
sqlTypesAssembly =
SqlTypesAssembly
.Latest;
System\Data\SqlClient\SqlSpatialServices.cs (6)
36
private readonly Singleton<
SqlTypesAssembly
> _sqlTypesAssemblySingleton;
38
private SqlSpatialServices(Func<
SqlTypesAssembly
> getSqlTypes)
41
this._sqlTypesAssemblySingleton = new Singleton<
SqlTypesAssembly
>(getSqlTypes);
68
SqlTypesAssembly
sqlAssembly;
69
if (
SqlTypesAssembly
.TryGetSqlTypesAssembly(assembly, out sqlAssembly))
88
private
SqlTypesAssembly
SqlTypes { get { return this._sqlTypesAssemblySingleton.Value; } }
System\Data\SqlClient\SqlTypesAssembly.cs (5)
97
private static
SqlTypesAssembly
BindToLatest()
123
internal static bool TryGetSqlTypesAssembly(Assembly assembly, out
SqlTypesAssembly
sqlAssembly)
146
private static Singleton<
SqlTypesAssembly
> latestVersion = new Singleton<
SqlTypesAssembly
>(BindToLatest);
151
internal static
SqlTypesAssembly
Latest { get { return latestVersion.Value; } }