protected internal Type LookupEntityType(String entityTypeName) {
var delims = new string[] { ":#" };
var parts = entityTypeName.Split(delims, StringSplitOptions.None);
var shortName = parts[0];
var ns = parts[1];
var typeName = ns + "." + shortName;
var type = BreezeConfig.ProbeAssemblies
.Select(a => a.GetType(typeName, false, true))
.FirstOrDefault(t => t != null);
if (type != null) {
return type;
} else {
throw new ArgumentException("Assembly could not be found for " + entityTypeName);
}
}