Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1d40df3

Browse files
authored
Updates to intro Oracle EF Core sample for version 8 (#340)
* Update create-model-save-query-scaffold-efc6.cs Updates for EFC8 and new license. * Rename create-model-save-query-scaffold-efc6.cs to create-model-save-query-scaffold-efc.cs Updated file name * Update README.md
1 parent ee914df commit 1d40df3

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

‎samples/ef-core/get-started/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Getting Started with Oracle Entity Framework Core
22

33
There are two sets of sample code showing how to perform several basic tasks with Oracle EF Core.
4-
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)
4+
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)
55
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)
66

77
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.

‎samples/ef-core/get-started/create-model-save-query-scaffold-efc6.cs‎ renamed to ‎samples/ef-core/get-started/create-model-save-query-scaffold-efc.cs‎

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
using Microsoft.EntityFrameworkCore;
22

3-
namespace OracleEFCore6
3+
namespace OracleEFCore
44
{
55
class Program
66
{
7-
//Demonstrates how to get started using Oracle Entity Framework Core 6
7+
//Demonstrates how to get started using Oracle Entity Framework Core 6 and higher
88
//Code connects to on-premises Oracle DB or walletless Oracle Autonomous DB
99

1010
public class BloggingContext : DbContext
@@ -61,20 +61,21 @@ static void Main(string[] args)
6161
}
6262
}
6363

64-
/* Copyright (c) 2018, 2022 Oracle and/or its affiliates. All rights reserved. */
65-
/* Copyright (c) .NET Foundation and Contributors */
64+
/* Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. */
6665

6766
/******************************************************************************
68-
* Licensed under the Apache License, Version 2.0 (the "License");
69-
* you may not use this file except in compliance with the License.
70-
* You may obtain a copy of the License at
7167
*
72-
* http://www.apache.org/licenses/LICENSE-2.0
68+
* You may not use the identified files except in compliance with The MIT
69+
* License (the "License.")
70+
*
71+
* You may obtain a copy of the License at
72+
* https://github.com/oracle/dotnet-db-samples/blob/master/LICENSE.txt
73+
*
74+
* Unless required by applicable law or agreed to in writing, software
75+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
76+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
77+
*
78+
* See the License for the specific language governing permissions and
79+
* limitations under the License.
7380
*
74-
* Unless required by applicable law or agreed to in writing, software
75-
* distributed under the License is distributed on an "AS IS" BASIS,
76-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
77-
* See the License for the specific language governing permissions and
78-
* limitations under the License.
79-
*
8081
*****************************************************************************/

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /