diff --git a/samples/ef-core/get-started/README.md b/samples/ef-core/get-started/README.md index 67f4ca6f..ffc6095e 100644 --- a/samples/ef-core/get-started/README.md +++ b/samples/ef-core/get-started/README.md @@ -1,7 +1,7 @@ # Getting Started with Oracle Entity Framework Core There are two sets of sample code showing how to perform several basic tasks with Oracle EF Core. -1. [Getting Started with Oracle EF Core 6 and 7](https://github.com/oracle/dotnet-db-samples/blob/master/samples/ef-core/get-started/create-model-save-query-scaffold-efc6.cs) +1. [Getting Started with Oracle EF Core 6 and higher](https://github.com/oracle/dotnet-db-samples/blob/master/samples/ef-core/get-started/create-model-save-query-scaffold-efc.cs) 2. [Getting Started with Oracle EF Core 5 and earlier releases](https://github.com/oracle/dotnet-db-samples/blob/master/samples/ef-core/get-started/create-model-save-query-scaffold.cs) The sample code and below instructions show how to create a data model, save it to an Oracle database, insert data, query the data, use migrations to modify the schema, and reverse engineer. diff --git a/samples/ef-core/get-started/create-model-save-query-scaffold-efc6.cs b/samples/ef-core/get-started/create-model-save-query-scaffold-efc.cs similarity index 72% rename from samples/ef-core/get-started/create-model-save-query-scaffold-efc6.cs rename to samples/ef-core/get-started/create-model-save-query-scaffold-efc.cs index d119df96..495d92c2 100644 --- a/samples/ef-core/get-started/create-model-save-query-scaffold-efc6.cs +++ b/samples/ef-core/get-started/create-model-save-query-scaffold-efc.cs @@ -1,10 +1,10 @@ using Microsoft.EntityFrameworkCore; -namespace OracleEFCore6 +namespace OracleEFCore { class Program { - //Demonstrates how to get started using Oracle Entity Framework Core 6 + //Demonstrates how to get started using Oracle Entity Framework Core 6 and higher //Code connects to on-premises Oracle DB or walletless Oracle Autonomous DB public class BloggingContext : DbContext @@ -61,20 +61,21 @@ static void Main(string[] args) } } -/* Copyright (c) 2018, 2022 Oracle and/or its affiliates. All rights reserved. */ -/* Copyright (c) .NET Foundation and Contributors */ +/* Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. */ /****************************************************************************** - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * You may not use the identified files except in compliance with The MIT + * License (the "License.") + * + * You may obtain a copy of the License at + * https://github.com/oracle/dotnet-db-samples/blob/master/LICENSE.txt + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and + * limitations under the License. * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * *****************************************************************************/