6579795-block-5
TRANSCRIPT
-
8/11/2019 6579795-Block-5
1/20
Fujitsu Computer Systems
Data Access in the .NET
EnvironmentFujitsu Software Corporation
Customer Training Series
Presented by:
Tim OBrienSenior Systems EngineerFujitsu Software Corporation
-
8/11/2019 6579795-Block-5
2/20
PAGE 2 Fujitsu Computer Systems
Data Access in the .NET Environment
Types of file I/O available
.NET file I/O classes
S! in t"e .NET Environment
#$O.NET
Create a CO%O! application using stan&ar&CO%O! file I/O
-
8/11/2019 6579795-Block-5
3/20
PAGE 3 Fujitsu Computer Systems
Data Access in the .NET Environment
(Cont)
Create a CO%O! application using .NET &ata
streaming classes
Create a CO%O! application using S!
Create a CO%O! application using #$O.NET
-
8/11/2019 6579795-Block-5
4/20
PAGE 4 Fujitsu Computer Systems
Types of fie !"# avaia$e
Tra&itional Stan&ar& CO%O! file I/O is available
' Se(uential) *elative an& In&e+e& file I/O
.NET provi&es &ata streaming classes for file I/O
t"at are accessible from CO%O!
-
8/11/2019 6579795-Block-5
5/20
PAGE % Fujitsu Computer Systems
Types of fie !"# avaia$e (Cont)
Embe&&e& S! is supporte& for O$%C access
#$O.NET classes are available to CO%O!
-
8/11/2019 6579795-Block-5
6/20
PAGE & Fujitsu Computer Systems
.NET fie !"# casses
Foun& in System.IO.File namespace
Complete set of functions for manipulating t"e
file system
,rovi&es support for creating) managing an&
&eleting files an& &irectories
-
8/11/2019 6579795-Block-5
7/20PAGE ' Fujitsu Computer Systems
* in the .NET environment
Embe&&e& S! may be co&e& &irectly in
CO%O! programs
%ot" static an& &ynamic S! are supporte&
-aes use of O$%C to access &ata sources atruntime
-
8/11/2019 6579795-Block-5
8/20PAGE + Fujitsu Computer Systems
AD#.NET
,referre& mec"anism for accessing relational
&atabases
Tec"nology focus on scalability) performance)
an& interoperability on multiple platforms
Implements a &isconnecte& &ata access
arc"itecture
-
8/11/2019 6579795-Block-5
9/20PAGE , Fujitsu Computer Systems
AD#.NET (Cont)
Integrate& wit" -!
0roupe& in content component classes an&
manage& provi&er classes to separate &ata
manipulation from &atabase access
-
8/11/2019 6579795-Block-5
10/20
-
8/11/2019 6579795-Block-5
11/20PAGE -- Fujitsu Computer Systems
AD#.NET Dia/ram
-
8/11/2019 6579795-Block-5
12/20PAGE -2 Fujitsu Computer Systems
tan0ar0 C#1#* fie !"#
Illustrate t"at stan&ar& tra&itional CO%O! file I/O is
available in t"e .NET environment
Create a CO%O! Class
*ea& a Se(uential file
S"ow t"e &ifference between Static an& Instance-et"o&s accessing files
Implement E+ception 2an&ling
-
8/11/2019 6579795-Block-5
13/20PAGE -3 Fujitsu Computer Systems
DE#
-
8/11/2019 6579795-Block-5
14/20PAGE -4 Fujitsu Computer Systems
.NET 0ata streamin/ casses
Illustrate t"at .NET &ata streaming classes are
accessible from CO%O!
Create a se(uential file
3rite &ata to t"e new file 4Stream3riter5
*ea& &ata bac from t"e new file
4Stream*ea&er5
-
8/11/2019 6579795-Block-5
15/20
PAGE -% Fujitsu Computer Systems
Demo
-
8/11/2019 6579795-Block-5
16/20
PAGE -& Fujitsu Computer Systems
C#1#* appication sin/ *
Illustrate t"at embe&&e& S! is available
from CO%O!
Illustrate "ow to set up an O$%C &ata
source
Create) !oa& an& *ea& a table in
-icrosoft #ccess
$isplay t"e &ata retrieve& to t"e console
-
8/11/2019 6579795-Block-5
17/20
PAGE -' Fujitsu Computer Systems
Demo
-
8/11/2019 6579795-Block-5
18/20
PAGE -+ Fujitsu Computer Systems
C#1#* appication sin/ AD#.NET
Illustrate t"at #$O.NET is available from
CO%O!
Illustrate "ow to set up an #$O.NET
connection
#ccess a table in S! Server retrieving
&ata
$isplay t"e &ata retrieve& to t"e console
-
8/11/2019 6579795-Block-5
19/20
PAGE -, Fujitsu Computer Systems
Demo
-
8/11/2019 6579795-Block-5
20/20
PAGE 2 Fujitsu Computer Systems
estions