static ClientEdmModel() { foreach (DataServiceProtocolVersion version in Enum.GetValues(typeof(DataServiceProtocolVersion)).Cast <DataServiceProtocolVersion>()) { ClientEdmModel model = new ClientEdmModel(version); model.SetEdmVersion(version.ToVersion()); modelCache.Add(version, model); } }
static ClientEdmModel() { foreach (DataServiceProtocolVersion version in Enum.GetValues(typeof(DataServiceProtocolVersion)).Cast<DataServiceProtocolVersion>()) { ClientEdmModel model = new ClientEdmModel(version); model.SetEdmVersion(version.ToVersion()); modelCache.Add(version, model); } }