/Visual Studio 2008/VBVstoExcelWorkbook/SchoolDataSet.xsd
# · XML Schema · 895 lines · 895 code · 0 blank · 0 comment · 0 complexity · e621543b46f373c07dc5bc137bf890e9 MD5 · raw file
- <?xml version="1.0" encoding="utf-8"?>
- <xs:schema id="SchoolDataSet" targetNamespace="http://tempuri.org/SchoolDataSet.xsd" xmlns:mstns="http://tempuri.org/SchoolDataSet.xsd" xmlns="http://tempuri.org/SchoolDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
- <xs:annotation>
- <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
- <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" GeneratorFunctionsComponentClassName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" UserFunctionsComponentName="QueriesTableAdapter" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
- <Connections>
- <Connection AppSettingsObjectName="MySettings" AppSettingsPropertyName="SchoolConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="SchoolConnectionString (MySettings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.VBVstoExcelWorkbook.MySettings.GlobalReference.Default.SchoolConnectionString" Provider="System.Data.SqlClient" />
- </Connections>
- <Tables>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CourseTableAdapter" GeneratorDataComponentClassName="CourseTableAdapter" Name="Course" UserDataComponentName="CourseTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="SchoolConnectionString (MySettings)" DbObjectName="SQLServer2005DB.dbo.Course" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[Course] WHERE (([CourseID] = @Original_CourseID) AND ([Title] = @Original_Title) AND ([Credits] = @Original_Credits) AND ([DepartmentID] = @Original_DepartmentID))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CourseID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CourseID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Credits" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Credits" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_DepartmentID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DepartmentID" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Course] ([CourseID], [Title], [Credits], [DepartmentID]) VALUES (@CourseID, @Title, @Credits, @DepartmentID);
- SELECT CourseID, Title, Credits, DepartmentID FROM Course WHERE (CourseID = @CourseID)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CourseID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CourseID" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Credits" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Credits" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@DepartmentID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DepartmentID" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT CourseID, Title, Credits, DepartmentID FROM dbo.Course</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[Course] SET [CourseID] = @CourseID, [Title] = @Title, [Credits] = @Credits, [DepartmentID] = @DepartmentID WHERE (([CourseID] = @Original_CourseID) AND ([Title] = @Original_Title) AND ([Credits] = @Original_Credits) AND ([DepartmentID] = @Original_DepartmentID));
- SELECT CourseID, Title, Credits, DepartmentID FROM Course WHERE (CourseID = @CourseID)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CourseID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CourseID" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Credits" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Credits" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@DepartmentID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DepartmentID" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CourseID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CourseID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Credits" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Credits" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_DepartmentID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DepartmentID" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="CourseID" DataSetColumn="CourseID" />
- <Mapping SourceColumn="Title" DataSetColumn="Title" />
- <Mapping SourceColumn="Credits" DataSetColumn="Credits" />
- <Mapping SourceColumn="DepartmentID" DataSetColumn="DepartmentID" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CourseGradeTableAdapter" GeneratorDataComponentClassName="CourseGradeTableAdapter" Name="CourseGrade" UserDataComponentName="CourseGradeTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="SchoolConnectionString (MySettings)" DbObjectName="SQLServer2005DB.dbo.CourseGrade" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[CourseGrade] WHERE (([EnrollmentID] = @Original_EnrollmentID) AND ([CourseID] = @Original_CourseID) AND ([StudentID] = @Original_StudentID) AND ((@IsNull_Grade = 1 AND [Grade] IS NULL) OR ([Grade] = @Original_Grade)))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_EnrollmentID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EnrollmentID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CourseID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CourseID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_StudentID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StudentID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Grade" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Grade" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Grade" Precision="3" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Grade" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[CourseGrade] ([CourseID], [StudentID], [Grade]) VALUES (@CourseID, @StudentID, @Grade);
- SELECT EnrollmentID, CourseID, StudentID, Grade FROM CourseGrade WHERE (EnrollmentID = SCOPE_IDENTITY())</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CourseID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CourseID" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@StudentID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StudentID" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Grade" Precision="3" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Grade" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT EnrollmentID, CourseID, StudentID, Grade FROM dbo.CourseGrade</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[CourseGrade] SET [CourseID] = @CourseID, [StudentID] = @StudentID, [Grade] = @Grade WHERE (([EnrollmentID] = @Original_EnrollmentID) AND ([CourseID] = @Original_CourseID) AND ([StudentID] = @Original_StudentID) AND ((@IsNull_Grade = 1 AND [Grade] IS NULL) OR ([Grade] = @Original_Grade)));
- SELECT EnrollmentID, CourseID, StudentID, Grade FROM CourseGrade WHERE (EnrollmentID = @EnrollmentID)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CourseID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CourseID" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@StudentID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StudentID" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Grade" Precision="3" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Grade" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_EnrollmentID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EnrollmentID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CourseID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CourseID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_StudentID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StudentID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Grade" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Grade" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Grade" Precision="3" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Grade" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="EnrollmentID" ColumnName="EnrollmentID" DataSourceName="SQLServer2005DB.dbo.CourseGrade" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@EnrollmentID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="EnrollmentID" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="EnrollmentID" DataSetColumn="EnrollmentID" />
- <Mapping SourceColumn="CourseID" DataSetColumn="CourseID" />
- <Mapping SourceColumn="StudentID" DataSetColumn="StudentID" />
- <Mapping SourceColumn="Grade" DataSetColumn="Grade" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CourseInstructorTableAdapter" GeneratorDataComponentClassName="CourseInstructorTableAdapter" Name="CourseInstructor" UserDataComponentName="CourseInstructorTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="SchoolConnectionString (MySettings)" DbObjectName="SQLServer2005DB.dbo.CourseInstructor" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[CourseInstructor] WHERE (([CourseID] = @Original_CourseID) AND ([PersonID] = @Original_PersonID))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CourseID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CourseID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PersonID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PersonID" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[CourseInstructor] ([CourseID], [PersonID]) VALUES (@CourseID, @PersonID);
- SELECT CourseID, PersonID FROM CourseInstructor WHERE (CourseID = @CourseID) AND (PersonID = @PersonID)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CourseID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CourseID" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PersonID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PersonID" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT CourseID, PersonID FROM dbo.CourseInstructor</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[CourseInstructor] SET [CourseID] = @CourseID, [PersonID] = @PersonID WHERE (([CourseID] = @Original_CourseID) AND ([PersonID] = @Original_PersonID));
- SELECT CourseID, PersonID FROM CourseInstructor WHERE (CourseID = @CourseID) AND (PersonID = @PersonID)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CourseID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CourseID" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PersonID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PersonID" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CourseID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CourseID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PersonID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PersonID" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="CourseID" DataSetColumn="CourseID" />
- <Mapping SourceColumn="PersonID" DataSetColumn="PersonID" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DepartmentTableAdapter" GeneratorDataComponentClassName="DepartmentTableAdapter" Name="Department" UserDataComponentName="DepartmentTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="SchoolConnectionString (MySettings)" DbObjectName="SQLServer2005DB.dbo.Department" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[Department] WHERE (([DepartmentID] = @Original_DepartmentID) AND ([Name] = @Original_Name) AND ([Budget] = @Original_Budget) AND ([StartDate] = @Original_StartDate) AND ((@IsNull_Administrator = 1 AND [Administrator] IS NULL) OR ([Administrator] = @Original_Administrator)))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_DepartmentID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DepartmentID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Budget" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Budget" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Administrator" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Administrator" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Administrator" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Administrator" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Department] ([DepartmentID], [Name], [Budget], [StartDate], [Administrator]) VALUES (@DepartmentID, @Name, @Budget, @StartDate, @Administrator);
- SELECT DepartmentID, Name, Budget, StartDate, Administrator FROM Department WHERE (DepartmentID = @DepartmentID)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@DepartmentID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DepartmentID" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Budget" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Budget" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Administrator" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Administrator" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT DepartmentID, Name, Budget, StartDate, Administrator FROM dbo.Department</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[Department] SET [DepartmentID] = @DepartmentID, [Name] = @Name, [Budget] = @Budget, [StartDate] = @StartDate, [Administrator] = @Administrator WHERE (([DepartmentID] = @Original_DepartmentID) AND ([Name] = @Original_Name) AND ([Budget] = @Original_Budget) AND ([StartDate] = @Original_StartDate) AND ((@IsNull_Administrator = 1 AND [Administrator] IS NULL) OR ([Administrator] = @Original_Administrator)));
- SELECT DepartmentID, Name, Budget, StartDate, Administrator FROM Department WHERE (DepartmentID = @DepartmentID)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@DepartmentID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DepartmentID" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Budget" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Budget" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Administrator" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Administrator" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_DepartmentID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DepartmentID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Budget" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Budget" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Administrator" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Administrator" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Administrator" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Administrator" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="DepartmentID" DataSetColumn="DepartmentID" />
- <Mapping SourceColumn="Name" DataSetColumn="Name" />
- <Mapping SourceColumn="Budget" DataSetColumn="Budget" />
- <Mapping SourceColumn="StartDate" DataSetColumn="StartDate" />
- <Mapping SourceColumn="Administrator" DataSetColumn="Administrator" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OfficeAssignmentTableAdapter" GeneratorDataComponentClassName="OfficeAssignmentTableAdapter" Name="OfficeAssignment" UserDataComponentName="OfficeAssignmentTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="SchoolConnectionString (MySettings)" DbObjectName="SQLServer2005DB.dbo.OfficeAssignment" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[OfficeAssignment] WHERE (([InstructorID] = @Original_InstructorID) AND ([Timestamp] = @Original_Timestamp))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_InstructorID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InstructorID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_Timestamp" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="Timestamp" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[OfficeAssignment] ([InstructorID], [Location]) VALUES (@InstructorID, @Location);
- SELECT InstructorID, Location, Timestamp FROM OfficeAssignment WHERE (InstructorID = @InstructorID)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@InstructorID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InstructorID" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Location" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Location" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT InstructorID, Location, Timestamp FROM dbo.OfficeAssignment</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[OfficeAssignment] SET [InstructorID] = @InstructorID, [Location] = @Location WHERE (([InstructorID] = @Original_InstructorID) AND ([Timestamp] = @Original_Timestamp));
- SELECT InstructorID, Location, Timestamp FROM OfficeAssignment WHERE (InstructorID = @InstructorID)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@InstructorID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InstructorID" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Location" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Location" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_InstructorID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InstructorID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_Timestamp" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="Timestamp" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="InstructorID" DataSetColumn="InstructorID" />
- <Mapping SourceColumn="Location" DataSetColumn="Location" />
- <Mapping SourceColumn="Timestamp" DataSetColumn="Timestamp" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OnlineCourseTableAdapter" GeneratorDataComponentClassName="OnlineCourseTableAdapter" Name="OnlineCourse" UserDataComponentName="OnlineCourseTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="SchoolConnectionString (MySettings)" DbObjectName="SQLServer2005DB.dbo.OnlineCourse" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[OnlineCourse] WHERE (([CourseID] = @Original_CourseID) AND ([URL] = @Original_URL))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CourseID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CourseID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_URL" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="URL" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[OnlineCourse] ([CourseID], [URL]) VALUES (@CourseID, @URL);
- SELECT CourseID, URL FROM OnlineCourse WHERE (CourseID = @CourseID)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CourseID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CourseID" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@URL" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="URL" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT CourseID, URL FROM dbo.OnlineCourse</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[OnlineCourse] SET [CourseID] = @CourseID, [URL] = @URL WHERE (([CourseID] = @Original_CourseID) AND ([URL] = @Original_URL));
- SELECT CourseID, URL FROM OnlineCourse WHERE (CourseID = @CourseID)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CourseID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CourseID" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@URL" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="URL" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CourseID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CourseID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_URL" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="URL" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="CourseID" DataSetColumn="CourseID" />
- <Mapping SourceColumn="URL" DataSetColumn="URL" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OnsiteCourseTableAdapter" GeneratorDataComponentClassName="OnsiteCourseTableAdapter" Name="OnsiteCourse" UserDataComponentName="OnsiteCourseTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="SchoolConnectionString (MySettings)" DbObjectName="SQLServer2005DB.dbo.OnsiteCourse" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[OnsiteCourse] WHERE (([CourseID] = @Original_CourseID) AND ([Location] = @Original_Location) AND ([Days] = @Original_Days) AND ([Time] = @Original_Time))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CourseID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CourseID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Location" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Location" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Days" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Days" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Time" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="Time" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[OnsiteCourse] ([CourseID], [Location], [Days], [Time]) VALUES (@CourseID, @Location, @Days, @Time);
- SELECT CourseID, Location, Days, Time FROM OnsiteCourse WHERE (CourseID = @CourseID)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CourseID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CourseID" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Location" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Location" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Days" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Days" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Time" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="Time" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT CourseID, Location, Days, Time FROM dbo.OnsiteCourse</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[OnsiteCourse] SET [CourseID] = @CourseID, [Location] = @Location, [Days] = @Days, [Time] = @Time WHERE (([CourseID] = @Original_CourseID) AND ([Location] = @Original_Location) AND ([Days] = @Original_Days) AND ([Time] = @Original_Time));
- SELECT CourseID, Location, Days, Time FROM OnsiteCourse WHERE (CourseID = @CourseID)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CourseID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CourseID" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Location" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Location" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Days" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Days" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Time" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="Time" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CourseID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CourseID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Location" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Location" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Days" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Days" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Time" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="Time" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="CourseID" DataSetColumn="CourseID" />
- <Mapping SourceColumn="Location" DataSetColumn="Location" />
- <Mapping SourceColumn="Days" DataSetColumn="Days" />
- <Mapping SourceColumn="Time" DataSetColumn="Time" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PersonTableAdapter" GeneratorDataComponentClassName="PersonTableAdapter" Name="Person" UserDataComponentName="PersonTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="SchoolConnectionString (MySettings)" DbObjectName="SQLServer2005DB.dbo.Person" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[Person] WHERE (([PersonID] = @Original_PersonID) AND ([LastName] = @Original_LastName) AND ([FirstName] = @Original_FirstName) AND ([PersonCategory] = @Original_PersonCategory) AND ((@IsNull_HireDate = 1 AND [HireDate] IS NULL) OR ([HireDate] = @Original_HireDate)) AND ((@IsNull_EnrollmentDate = 1 AND [EnrollmentDate] IS NULL) OR ([EnrollmentDate] = @Original_EnrollmentDate)))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PersonID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PersonID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_LastName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_FirstName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_PersonCategory" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="PersonCategory" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_HireDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HireDate" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_HireDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="HireDate" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EnrollmentDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EnrollmentDate" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EnrollmentDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EnrollmentDate" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Person] ([LastName], [FirstName], [PersonCategory], [HireDate], [EnrollmentDate], [Picture]) VALUES (@LastName, @FirstName, @PersonCategory, @HireDate, @EnrollmentDate, @Picture);
- SELECT PersonID, LastName, FirstName, PersonCategory, HireDate, EnrollmentDate, Picture FROM Person WHERE (PersonID = SCOPE_IDENTITY())</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@LastName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@FirstName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@PersonCategory" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="PersonCategory" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@HireDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="HireDate" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EnrollmentDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EnrollmentDate" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Picture" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="Picture" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT PersonID, LastName, FirstName, PersonCategory, HireDate, EnrollmentDate, Picture FROM dbo.Person</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[Person] SET [LastName] = @LastName, [FirstName] = @FirstName, [PersonCategory] = @PersonCategory, [HireDate] = @HireDate, [EnrollmentDate] = @EnrollmentDate, [Picture] = @Picture WHERE (([PersonID] = @Original_PersonID) AND ([LastName] = @Original_LastName) AND ([FirstName] = @Original_FirstName) AND ([PersonCategory] = @Original_PersonCategory) AND ((@IsNull_HireDate = 1 AND [HireDate] IS NULL) OR ([HireDate] = @Original_HireDate)) AND ((@IsNull_EnrollmentDate = 1 AND [EnrollmentDate] IS NULL) OR ([EnrollmentDate] = @Original_EnrollmentDate)));
- SELECT PersonID, LastName, FirstName, PersonCategory, HireDate, EnrollmentDate, Picture FROM Person WHERE (PersonID = @PersonID)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@LastName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@FirstName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@PersonCategory" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="PersonCategory" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@HireDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="HireDate" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EnrollmentDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EnrollmentDate" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Picture" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="Picture" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PersonID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PersonID" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_LastName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_FirstName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_PersonCategory" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="PersonCategory" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_HireDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HireDate" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_HireDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="HireDate" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EnrollmentDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EnrollmentDate" SourceColumnNullMapping="true" SourceVersion="Original" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EnrollmentDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EnrollmentDate" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="PersonID" ColumnName="PersonID" DataSourceName="SQLServer2005DB.dbo.Person" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PersonID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="PersonID" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="PersonID" DataSetColumn="PersonID" />
- <Mapping SourceColumn="LastName" DataSetColumn="LastName" />
- <Mapping SourceColumn="FirstName" DataSetColumn="FirstName" />
- <Mapping SourceColumn="PersonCategory" DataSetColumn="PersonCategory" />
- <Mapping SourceColumn="HireDate" DataSetColumn="HireDate" />
- <Mapping SourceColumn="EnrollmentDate" DataSetColumn="EnrollmentDate" />
- <Mapping SourceColumn="Picture" DataSetColumn="Picture" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="GetStudentGradesTableAdapter" GeneratorDataComponentClassName="GetStudentGradesTableAdapter" Name="GetStudentGrades" UserDataComponentName="GetStudentGradesTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="SchoolConnectionString (MySettings)" DbObjectName="SQLServer2005DB.dbo.GetStudentGrades" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <SelectCommand>
- <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
- <CommandText>dbo.GetStudentGrades</CommandText>
- <Parameters>
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@StudentID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </SelectCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="EnrollmentID" DataSetColumn="EnrollmentID" />
- <Mapping SourceColumn="Grade" DataSetColumn="Grade" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="InsertOfficeAssignmentTableAdapter" GeneratorDataComponentClassName="InsertOfficeAssignmentTableAdapter" Name="InsertOfficeAssignment" UserDataComponentName="InsertOfficeAssignmentTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="SchoolConnectionString (MySettings)" DbObjectName="SQLServer2005DB.dbo.InsertOfficeAssignment" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <SelectCommand>
- <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
- <CommandText>dbo.InsertOfficeAssignment</CommandText>
- <Parameters>
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@InstructorID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Location" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </SelectCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="Timestamp" DataSetColumn="Timestamp" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="InsertPersonTableAdapter" GeneratorDataComponentClassName="InsertPersonTableAdapter" Name="InsertPerson" UserDataComponentName="InsertPersonTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="SchoolConnectionString (MySettings)" DbObjectName="SQLServer2005DB.dbo.InsertPerson" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <SelectCommand>
- <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
- <CommandText>dbo.InsertPerson</CommandText>
- <Parameters>
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@LastName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@FirstName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@HireDate" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EnrollmentDate" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </SelectCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="NewPersonID" DataSetColumn="NewPersonID" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UpdateOfficeAssignmentTableAdapter" GeneratorDataComponentClassName="UpdateOfficeAssignmentTableAdapter" Name="UpdateOfficeAssignment" UserDataComponentName="UpdateOfficeAssignmentTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="SchoolConnectionString (MySettings)" DbObjectName="SQLServer2005DB.dbo.UpdateOfficeAssignment" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
- <SelectCommand>
- <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
- <CommandText>dbo.UpdateOfficeAssignment</CommandText>
- <Parameters>
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@InstructorID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Location" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@OrigTimestamp" Precision="0" ProviderType="Timestamp" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </SelectCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="Timestamp" DataSetColumn="Timestamp" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CourseListTableAdapter" GeneratorDataComponentClassName="CourseListTableAdapter" Name="CourseList" UserDataComponentName="CourseListTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="SchoolConnectionString (MySettings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="FillCourseList" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetCourseList" GeneratorSourceName="FillCourseList" GetMethodModifier="Public" GetMethodName="GetCourseList" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetCourseList" UserSourceName="FillCourseList">
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="true">
- <CommandText>SELECT Course.Title, Course.Credits, Department.Name AS DepartmentName, Instructors.FirstName + ' ' + Instructors.LastName AS Instructor
- FROM CourseGrade LEFT OUTER JOIN
- Person AS Students ON CourseGrade.StudentID = Students.PersonID RIGHT OUTER JOIN
- Person AS Instructors RIGHT OUTER JOIN
- CourseInstructor RIGHT OUTER JOIN
- Course ON CourseInstructor.CourseID = Course.CourseID LEFT OUTER JOIN
- Department ON Course.DepartmentID = Department.DepartmentID ON Instructors.PersonID = CourseInstructor.PersonID ON
- CourseGrade.CourseID = Course.CourseID
- WHERE (Students.FirstName + ' ' + Students.LastName = @StudentName)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="StudentName" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="String" Direction="Input" ParameterName="@StudentName" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </SelectCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="Title" DataSetColumn="Title" />
- <Mapping SourceColumn="Credits" DataSetColumn="Credits" />
- <Mapping SourceColumn="DepartmentName" DataSetColumn="DepartmentName" />
- <Mapping SourceColumn="Instructor" DataSetColumn="Instructor" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="StudentListTableAdapter" GeneratorDataComponentClassName="StudentListTableAdapter" Name="StudentList" UserDataComponentName="StudentListTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="SchoolConnectionString (MySettings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="FillStudentList" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetStudentList" GeneratorSourceName="FillStudentList" GetMethodModifier="Public" GetMethodName="GetStudentList" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetStudentList" UserSourceName="FillStudentList">
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="true">
- <CommandText>SELECT FirstName + ' ' + LastName AS StudentName
- FROM Person
- WHERE (HireDate IS NULL)
- ORDER BY StudentName</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="StudentName" DataSetColumn="StudentName" />
- </Mappings>
- <Sources />
- </TableAdapter>
- </Tables>
- <Sources>
- <DbSource ConnectionRef="SchoolConnectionString (MySettings)" DbObjectName="SQLServer2005DB.dbo.DeleteOfficeAssignment" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="DeleteOfficeAssignment" MethodsParameterType="CLR" Modifier="Public" Name="DeleteOfficeAssignment" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteOfficeAssignment">
- <SelectCommand>
- <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
- <CommandText>dbo.DeleteOfficeAssignment</CommandText>
- <Parameters>
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@InstructorID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </SelectCommand>
- </DbSource>
- <DbSource ConnectionRef="SchoolConnectionString (MySettings)" DbObjectName="SQLServer2005DB.dbo.DeletePerson" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="DeletePerson" MethodsParameterType="CLR" Modifier="Public" Name="DeletePerson" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="DeletePerson">
- <SelectCommand>
- <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
- <CommandText>dbo.DeletePerson</CommandText>
- <Parameters>
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PersonID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </SelectCommand>
- </DbSource>
- <DbSource ConnectionRef="SchoolConnectionString (MySettings)" DbObjectName="SQLServer2005DB.dbo.UpdatePerson" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="UpdatePerson" MethodsParameterType="CLR" Modifier="Public" Name="UpdatePerson" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="UpdatePerson">
- <SelectCommand>
- <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
- <CommandText>dbo.UpdatePerson</CommandText>
- <Parameters>
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PersonID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@LastName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@FirstName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@HireDate" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EnrollmentDate" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </SelectCommand>
- </DbSource>
- </Sources>
- </DataSource>
- </xs:appinfo>
- </xs:annotation>
- <xs:element name="SchoolDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_DataSetName="SchoolDataSet" msprop:Generator_UserDSName="SchoolDataSet" msprop:EnableTableAdapterManager="true">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="Course" msprop:Generator_UserTableName="Course" msprop:Generator_RowDeletedName="CourseRowDeleted" msprop:Generator_TableClassName="CourseDataTable" msprop:Generator_RowChangedName="CourseRowChanged" msprop:Generator_RowClassName="CourseRow" msprop:Generator_RowChangingName="CourseRowChanging" msprop:Generator_RowEvArgName="CourseRowChangeEvent" msprop:Generator_RowEvHandlerName="CourseRowChangeEventHandler" msprop:Generator_TablePropName="Course" msprop:Generator_TableVarName="tableCourse" msprop:Generator_RowDeletingName="CourseRowDeleting">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="CourseID" msprop:Generator_UserColumnName="CourseID" msprop:Generator_ColumnPropNameInRow="CourseID" msprop:Generator_ColumnVarNameInTable="columnCourseID" msprop:Generator_ColumnPropNameInTable="CourseIDColumn" type="xs:int" />
- <xs:element name="Title" msprop:Generator_UserColumnName="Title" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" msprop:Generator_ColumnPropNameInTable="TitleColumn">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="100" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Credits" msprop:Generator_UserColumnName="Credits" msprop:Generator_ColumnPropNameInRow="Credits" msprop:Generator_ColumnVarNameInTable="columnCredits" msprop:Generator_ColumnPropNameInTable="CreditsColumn" type="xs:int" />
- <xs:element name="DepartmentID" msprop:Generator_UserColumnName="DepartmentID" msprop:Generator_ColumnPropNameInRow="DepartmentID" msprop:Generator_ColumnVarNameInTable="columnDepartmentID" msprop:Generator_ColumnPropNameInTable="DepartmentIDColumn" type="xs:int" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="CourseGrade" msprop:Generator_UserTableName="CourseGrade" msprop:Generator_RowDeletedName="CourseGradeRowDeleted" msprop:Generator_TableClassName="CourseGradeDataTable" msprop:Generator_RowChangedName="CourseGradeRowChanged" msprop:Generator_RowClassName="CourseGradeRow" msprop:Generator_RowChangingName="CourseGradeRowChanging" msprop:Generator_RowEvArgName="CourseGradeRowChangeEvent" msprop:Generator_RowEvHandlerName="CourseGradeRowChangeEventHandler" msprop:Generator_TablePropName="CourseGrade" msprop:Generator_TableVarName="tableCourseGrade" msprop:Generator_RowDeletingName="CourseGradeRowDeleting">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="EnrollmentID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="EnrollmentID" msprop:Generator_ColumnPropNameInRow="EnrollmentID" msprop:Generator_ColumnVarNameInTable="columnEnrollmentID" msprop:Generator_ColumnPropNameInTable="EnrollmentIDColumn" type="xs:int" />
- <xs:element name="CourseID" msprop:Generator_UserColumnName="CourseID" msprop:Generator_ColumnPropNameInRow="CourseID" msprop:Generator_ColumnVarNameInTable="columnCourseID" msprop:Generator_ColumnPropNameInTable="CourseIDColumn" type="xs:int" />
- <xs:element name="StudentID" msprop:Generator_UserColumnName="StudentID" msprop:Generator_ColumnPropNameInRow="StudentID" msprop:Generator_ColumnVarNameInTable="columnStudentID" msprop:Generator_ColumnPropNameInTable="StudentIDColumn" type="xs:int" />
- <xs:element name="Grade" msprop:Generator_UserColumnName="Grade" msprop:Generator_ColumnPropNameInRow="Grade" msprop:Generator_ColumnVarNameInTable="columnGrade" msprop:Generator_ColumnPropNameInTable="GradeColumn" type="xs:decimal" minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="CourseInstructor" msprop:Generator_UserTableName="CourseInstructor" msprop:Generator_RowDeletedName="CourseInstructorRowDeleted" msprop:Generator_TableClassName="CourseInstructorDataTable" msprop:Generator_RowChangedName="CourseInstructorRowChanged" msprop:Generator_RowClassName="CourseInstructorRow" msprop:Generator_RowChangingName="CourseInstructorRowChanging" msprop:Generator_RowEvArgName="CourseInstructorRowChangeEvent" msprop:Generator_RowEvHandlerName="CourseInstructorRowChangeEventHandler" msprop:Generator_TablePropName="CourseInstructor" msprop:Generator_TableVarName="tableCourseInstructor" msprop:Generator_RowDeletingName="CourseInstructorRowDeleting">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="CourseID" msprop:Generator_UserColumnName="CourseID" msprop:Generator_ColumnPropNameInRow="CourseID" msprop:Generator_ColumnVarNameInTable="columnCourseID" msprop:Generator_ColumnPropNameInTable="CourseIDColumn" type="xs:int" />
- <xs:element name="PersonID" msprop:Generator_UserColumnName="PersonID" msprop:Generator_ColumnPropNameInRow="PersonID" msprop:Generator_ColumnVarNameInTable="columnPersonID" msprop:Generator_ColumnPropNameInTable="PersonIDColumn" type="xs:int" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="Department" msprop:Generator_UserTableName="Department" msprop:Generator_RowDeletedName="DepartmentRowDeleted" msprop:Generator_TableClassName="DepartmentDataTable" msprop:Generator_RowChangedName="DepartmentRowChanged" msprop:Generator_RowClassName="DepartmentRow" msprop:Generator_RowChangingName="DepartmentRowChanging" msprop:Generator_RowEvArgName="DepartmentRowChangeEvent" msprop:Generator_RowEvHandlerName="DepartmentRowChangeEventHandler" msprop:Generator_TablePropName="Department" msprop:Generator_TableVarName="tableDepartment" msprop:Generator_RowDeletingName="DepartmentRowDeleting">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="DepartmentID" msprop:Generator_UserColumnName="DepartmentID" msprop:Generator_ColumnPropNameInRow="DepartmentID" msprop:Generator_ColumnVarNameInTable="columnDepartmentID" msprop:Generator_ColumnPropNameInTable="DepartmentIDColumn" type="xs:int" />
- <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Budget" msprop:Generator_UserColumnName="Budget" msprop:Generator_ColumnPropNameInRow="Budget" msprop:Generator_ColumnVarNameInTable="columnBudget" msprop:Generator_ColumnPropNameInTable="BudgetColumn" type="xs:decimal" />
- <xs:element name="StartDate" msprop:Generator_UserColumnName="StartDate" msprop:Generator_ColumnPropNameInRow="StartDate" msprop:Generator_ColumnVarNameInTable="columnStartDate" msprop:Generator_ColumnPropNameInTable="StartDateColumn" type="xs:dateTime" />
- <xs:element name="Administrator" msprop:Generator_UserColumnName="Administrator" msprop:Generator_ColumnPropNameInRow="Administrator" msprop:Generator_ColumnVarNameInTable="columnAdministrator" msprop:Generator_ColumnPropNameInTable="AdministratorColumn" type="xs:int" minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="OfficeAssignment" msprop:Generator_UserTableName="OfficeAssignment" msprop:Generator_RowDeletedName="OfficeAssignmentRowDeleted" msprop:Generator_TableClassName="OfficeAssignmentDataTable" msprop:Generator_RowChangedName="OfficeAssignmentRowChanged" msprop:Generator_RowClassName="OfficeAssignmentRow" msprop:Generator_RowChangingName="OfficeAssignmentRowChanging" msprop:Generator_RowEvArgName="OfficeAssignmentRowChangeEvent" msprop:Generator_RowEvHandlerName="OfficeAssignmentRowChangeEventHandler" msprop:Generator_TablePropName="OfficeAssignment" msprop:Generator_TableVarName="tableOfficeAssignment" msprop:Generator_RowDeletingName="OfficeAssignmentRowDeleting">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="InstructorID" msprop:Generator_UserColumnName="InstructorID" msprop:Generator_ColumnPropNameInRow="InstructorID" msprop:Generator_ColumnVarNameInTable="columnInstructorID" msprop:Generator_ColumnPropNameInTable="InstructorIDColumn" type="xs:int" />
- <xs:element name="Location" msprop:Generator_UserColumnName="Location" msprop:Generator_ColumnPropNameInRow="Location" msprop:Generator_ColumnVarNameInTable="columnLocation" msprop:Generator_ColumnPropNameInTable="LocationColumn">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Timestamp" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Timestamp" msprop:Generator_ColumnPropNameInRow="Timestamp" msprop:Generator_ColumnVarNameInTable="columnTimestamp" msprop:Generator_ColumnPropNameInTable="TimestampColumn" type="xs:base64Binary" minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="OnlineCourse" msprop:Generator_UserTableName="OnlineCourse" msprop:Generator_RowDeletedName="OnlineCourseRowDeleted" msprop:Generator_TableClassName="OnlineCourseDataTable" msprop:Generator_RowChangedName="OnlineCourseRowChanged" msprop:Generator_RowClassName="OnlineCourseRow" msprop:Generator_RowChangingName="OnlineCourseRowChanging" msprop:Generator_RowEvArgName="OnlineCourseRowChangeEvent" msprop:Generator_RowEvHandlerName="OnlineCourseRowChangeEventHandler" msprop:Generator_TablePropName="OnlineCourse" msprop:Generator_TableVarName="tableOnlineCourse" msprop:Generator_RowDeletingName="OnlineCourseRowDeleting">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="CourseID" msprop:Generator_UserColumnName="CourseID" msprop:Generator_ColumnPropNameInRow="CourseID" msprop:Generator_ColumnVarNameInTable="columnCourseID" msprop:Generator_ColumnPropNameInTable="CourseIDColumn" type="xs:int" />
- <xs:element name="URL" msprop:Generator_UserColumnName="URL" msprop:Generator_ColumnPropNameInRow="URL" msprop:Generator_ColumnVarNameInTable="columnURL" msprop:Generator_ColumnPropNameInTable="URLColumn">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="100" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="OnsiteCourse" msprop:Generator_UserTableName="OnsiteCourse" msprop:Generator_RowDeletedName="OnsiteCourseRowDeleted" msprop:Generator_TableClassName="OnsiteCourseDataTable" msprop:Generator_RowChangedName="OnsiteCourseRowChanged" msprop:Generator_RowClassName="OnsiteCourseRow" msprop:Generator_RowChangingName="OnsiteCourseRowChanging" msprop:Generator_RowEvArgName="OnsiteCourseRowChangeEvent" msprop:Generator_RowEvHandlerName="OnsiteCourseRowChangeEventHandler" msprop:Generator_TablePropName="OnsiteCourse" msprop:Generator_TableVarName="tableOnsiteCourse" msprop:Generator_RowDeletingName="OnsiteCourseRowDeleting">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="CourseID" msprop:Generator_UserColumnName="CourseID" msprop:Generator_ColumnPropNameInRow="CourseID" msprop:Generator_ColumnVarNameInTable="columnCourseID" msprop:Generator_ColumnPropNameInTable="CourseIDColumn" type="xs:int" />
- <xs:element name="Location" msprop:Generator_UserColumnName="Location" msprop:Generator_ColumnPropNameInRow="Location" msprop:Generator_ColumnVarNameInTable="columnLocation" msprop:Generator_ColumnPropNameInTable="LocationColumn">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Days" msprop:Generator_UserColumnName="Days" msprop:Generator_ColumnPropNameInRow="Days" msprop:Generator_ColumnVarNameInTable="columnDays" msprop:Generator_ColumnPropNameInTable="DaysColumn">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Time" msprop:Generator_UserColumnName="Time" msprop:Generator_ColumnPropNameInRow="Time" msprop:Generator_ColumnVarNameInTable="columnTime" msprop:Generator_ColumnPropNameInTable="TimeColumn" type="xs:dateTime" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="Person" msprop:Generator_UserTableName="Person" msprop:Generator_RowDeletedName="PersonRowDeleted" msprop:Generator_TableClassName="PersonDataTable" msprop:Generator_RowChangedName="PersonRowChanged" msprop:Generator_RowClassName="PersonRow" msprop:Generator_RowChangingName="PersonRowChanging" msprop:Generator_RowEvArgName="PersonRowChangeEvent" msprop:Generator_RowEvHandlerName="PersonRowChangeEventHandler" msprop:Generator_TablePropName="Person" msprop:Generator_TableVarName="tablePerson" msprop:Generator_RowDeletingName="PersonRowDeleting">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="PersonID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="PersonID" msprop:Generator_ColumnPropNameInRow="PersonID" msprop:Generator_ColumnVarNameInTable="columnPersonID" msprop:Generator_ColumnPropNameInTable="PersonIDColumn" type="xs:int" />
- <xs:element name="LastName" msprop:Generator_UserColumnName="LastName" msprop:Generator_ColumnPropNameInRow="LastName" msprop:Generator_ColumnVarNameInTable="columnLastName" msprop:Generator_ColumnPropNameInTable="LastNameColumn">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="FirstName" msprop:Generator_UserColumnName="FirstName" msprop:Generator_ColumnPropNameInRow="FirstName" msprop:Generator_ColumnVarNameInTable="columnFirstName" msprop:Generator_ColumnPropNameInTable="FirstNameColumn">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="PersonCategory" msprop:Generator_UserColumnName="PersonCategory" msprop:Generator_ColumnPropNameInRow="PersonCategory" msprop:Generator_ColumnVarNameInTable="columnPersonCategory" msprop:Generator_ColumnPropNameInTable="PersonCategoryColumn" type="xs:short" />
- <xs:element name="HireDate" msprop:Generator_UserColumnName="HireDate" msprop:Generator_ColumnPropNameInRow="HireDate" msprop:Generator_ColumnVarNameInTable="columnHireDate" msprop:Generator_ColumnPropNameInTable="HireDateColumn" type="xs:dateTime" minOccurs="0" />
- <xs:element name="EnrollmentDate" msprop:Generator_UserColumnName="EnrollmentDate" msprop:Generator_ColumnPropNameInRow="EnrollmentDate" msprop:Generator_ColumnVarNameInTable="columnEnrollmentDate" msprop:Generator_ColumnPropNameInTable="EnrollmentDateColumn" type="xs:dateTime" minOccurs="0" />
- <xs:element name="Picture" msprop:Generator_UserColumnName="Picture" msprop:Generator_ColumnPropNameInRow="Picture" msprop:Generator_ColumnVarNameInTable="columnPicture" msprop:Generator_ColumnPropNameInTable="PictureColumn" type="xs:base64Binary" minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="GetStudentGrades" msprop:Generator_UserTableName="GetStudentGrades" msprop:Generator_RowDeletedName="GetStudentGradesRowDeleted" msprop:Generator_TableClassName="GetStudentGradesDataTable" msprop:Generator_RowChangedName="GetStudentGradesRowChanged" msprop:Generator_RowClassName="GetStudentGradesRow" msprop:Generator_RowChangingName="GetStudentGradesRowChanging" msprop:Generator_RowEvArgName="GetStudentGradesRowChangeEvent" msprop:Generator_RowEvHandlerName="GetStudentGradesRowChangeEventHandler" msprop:Generator_TablePropName="GetStudentGrades" msprop:Generator_TableVarName="tableGetStudentGrades" msprop:Generator_RowDeletingName="GetStudentGradesRowDeleting">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="EnrollmentID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="EnrollmentID" msprop:Generator_ColumnPropNameInRow="EnrollmentID" msprop:Generator_ColumnVarNameInTable="columnEnrollmentID" msprop:Generator_ColumnPropNameInTable="EnrollmentIDColumn" type="xs:int" />
- <xs:element name="Grade" msprop:Generator_UserColumnName="Grade" msprop:Generator_ColumnPropNameInRow="Grade" msprop:Generator_ColumnVarNameInTable="columnGrade" msprop:Generator_ColumnPropNameInTable="GradeColumn" type="xs:decimal" minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="InsertOfficeAssignment" msprop:Generator_UserTableName="InsertOfficeAssignment" msprop:Generator_RowDeletedName="InsertOfficeAssignmentRowDeleted" msprop:Generator_TableClassName="InsertOfficeAssignmentDataTable" msprop:Generator_RowChangedName="InsertOfficeAssignmentRowChanged" msprop:Generator_RowClassName="InsertOfficeAssignmentRow" msprop:Generator_RowChangingName="InsertOfficeAssignmentRowChanging" msprop:Generator_RowEvArgName="InsertOfficeAssignmentRowChangeEvent" msprop:Generator_RowEvHandlerName="InsertOfficeAssignmentRowChangeEventHandler" msprop:Generator_TablePropName="InsertOfficeAssignment" msprop:Generator_TableVarName="tableInsertOfficeAssignment" msprop:Generator_RowDeletingName="InsertOfficeAssignmentRowDeleting">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Timestamp" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Timestamp" msprop:Generator_ColumnPropNameInRow="Timestamp" msprop:Generator_ColumnVarNameInTable="columnTimestamp" msprop:Generator_ColumnPropNameInTable="TimestampColumn" type="xs:base64Binary" minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="InsertPerson" msprop:Generator_UserTableName="InsertPerson" msprop:Generator_RowDeletedName="InsertPersonRowDeleted" msprop:Generator_TableClassName="InsertPersonDataTable" msprop:Generator_RowChangedName="InsertPersonRowChanged" msprop:Generator_RowClassName="InsertPersonRow" msprop:Generator_RowChangingName="InsertPersonRowChanging" msprop:Generator_RowEvArgName="InsertPersonRowChangeEvent" msprop:Generator_RowEvHandlerName="InsertPersonRowChangeEventHandler" msprop:Generator_TablePropName="InsertPerson" msprop:Generator_TableVarName="tableInsertPerson" msprop:Generator_RowDeletingName="InsertPersonRowDeleting">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="NewPersonID" msdata:ReadOnly="true" msprop:Generator_UserColumnName="NewPersonID" msprop:Generator_ColumnPropNameInRow="NewPersonID" msprop:Generator_ColumnVarNameInTable="columnNewPersonID" msprop:Generator_ColumnPropNameInTable="NewPersonIDColumn" type="xs:decimal" minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="UpdateOfficeAssignment" msprop:Generator_UserTableName="UpdateOfficeAssignment" msprop:Generator_RowDeletedName="UpdateOfficeAssignmentRowDeleted" msprop:Generator_TableClassName="UpdateOfficeAssignmentDataTable" msprop:Generator_RowChangedName="UpdateOfficeAssignmentRowChanged" msprop:Generator_RowClassName="UpdateOfficeAssignmentRow" msprop:Generator_RowChangingName="UpdateOfficeAssignmentRowChanging" msprop:Generator_RowEvArgName="UpdateOfficeAssignmentRowChangeEvent" msprop:Generator_RowEvHandlerName="UpdateOfficeAssignmentRowChangeEventHandler" msprop:Generator_TablePropName="UpdateOfficeAssignment" msprop:Generator_TableVarName="tableUpdateOfficeAssignment" msprop:Generator_RowDeletingName="UpdateOfficeAssignmentRowDeleting">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Timestamp" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Timestamp" msprop:Generator_ColumnPropNameInRow="Timestamp" msprop:Generator_ColumnVarNameInTable="columnTimestamp" msprop:Generator_ColumnPropNameInTable="TimestampColumn" type="xs:base64Binary" minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="CourseList" msprop:Generator_UserTableName="CourseList" msprop:Generator_RowDeletedName="CourseListRowDeleted" msprop:Generator_TableClassName="CourseListDataTable" msprop:Generator_RowChangedName="CourseListRowChanged" msprop:Generator_RowClassName="CourseListRow" msprop:Generator_RowChangingName="CourseListRowChanging" msprop:Generator_RowEvArgName="CourseListRowChangeEvent" msprop:Generator_RowEvHandlerName="CourseListRowChangeEventHandler" msprop:Generator_TablePropName="CourseList" msprop:Generator_TableVarName="tableCourseList" msprop:Generator_RowDeletingName="CourseListRowDeleting">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Title" msprop:Generator_UserColumnName="Title" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" msprop:Generator_ColumnPropNameInTable="TitleColumn">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="100" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Credits" msprop:Generator_UserColumnName="Credits" msprop:Generator_ColumnPropNameInRow="Credits" msprop:Generator_ColumnVarNameInTable="columnCredits" msprop:Generator_ColumnPropNameInTable="CreditsColumn" type="xs:int" />
- <xs:element name="DepartmentName" msprop:Generator_UserColumnName="DepartmentName" msprop:Generator_ColumnPropNameInRow="DepartmentName" msprop:Generator_ColumnVarNameInTable="columnDepartmentName" msprop:Generator_ColumnPropNameInTable="DepartmentNameColumn" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Instructor" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Instructor" msprop:Generator_ColumnPropNameInRow="Instructor" msprop:Generator_ColumnVarNameInTable="columnInstructor" msprop:Generator_ColumnPropNameInTable="InstructorColumn" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="101" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="StudentList" msprop:Generator_UserTableName="StudentList" msprop:Generator_RowDeletedName="StudentListRowDeleted" msprop:Generator_TableClassName="StudentListDataTable" msprop:Generator_RowChangedName="StudentListRowChanged" msprop:Generator_RowClassName="StudentListRow" msprop:Generator_RowChangingName="StudentListRowChanging" msprop:Generator_RowEvArgName="StudentListRowChangeEvent" msprop:Generator_RowEvHandlerName="StudentListRowChangeEventHandler" msprop:Generator_TablePropName="StudentList" msprop:Generator_TableVarName="tableStudentList" msprop:Generator_RowDeletingName="StudentListRowDeleting">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="StudentName" msdata:ReadOnly="true" msprop:Generator_UserColumnName="StudentName" msprop:Generator_ColumnPropNameInRow="StudentName" msprop:Generator_ColumnVarNameInTable="columnStudentName" msprop:Generator_ColumnPropNameInTable="StudentNameColumn" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="101" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- </xs:complexType>
- <xs:unique name="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Course" />
- <xs:field xpath="mstns:CourseID" />
- </xs:unique>
- <xs:unique name="CourseGrade_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:CourseGrade" />
- <xs:field xpath="mstns:EnrollmentID" />
- </xs:unique>
- <xs:unique name="CourseInstructor_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:CourseInstructor" />
- <xs:field xpath="mstns:CourseID" />
- <xs:field xpath="mstns:PersonID" />
- </xs:unique>
- <xs:unique name="Department_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Department" />
- <xs:field xpath="mstns:DepartmentID" />
- </xs:unique>
- <xs:unique name="OfficeAssignment_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:OfficeAssignment" />
- <xs:field xpath="mstns:InstructorID" />
- </xs:unique>
- <xs:unique name="OnlineCourse_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:OnlineCourse" />
- <xs:field xpath="mstns:CourseID" />
- </xs:unique>
- <xs:unique name="OnsiteCourse_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:OnsiteCourse" />
- <xs:field xpath="mstns:CourseID" />
- </xs:unique>
- <xs:unique name="Person_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Person" />
- <xs:field xpath="mstns:PersonID" />
- </xs:unique>
- <xs:unique name="GetStudentGrades_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:GetStudentGrades" />
- <xs:field xpath="mstns:EnrollmentID" />
- </xs:unique>
- </xs:element>
- <xs:annotation>
- <xs:appinfo>
- <msdata:Relationship name="FK_Course_Department" msdata:parent="Department" msdata:child="Course" msdata:parentkey="DepartmentID" msdata:childkey="DepartmentID" msprop:Generator_UserRelationName="FK_Course_Department" msprop:Generator_RelationVarName="relationFK_Course_Department" msprop:Generator_UserChildTable="Course" msprop:Generator_UserParentTable="Department" msprop:Generator_ParentPropName="DepartmentRow" msprop:Generator_ChildPropName="GetCourseRows" />
- <msdata:Relationship name="FK_CourseGrade_Course" msdata:parent="Course" msdata:child="CourseGrade" msdata:parentkey="CourseID" msdata:childkey="CourseID" msprop:Generator_UserRelationName="FK_CourseGrade_Course" msprop:Generator_RelationVarName="relationFK_CourseGrade_Course" msprop:Generator_UserChildTable="CourseGrade" msprop:Generator_UserParentTable="Course" msprop:Generator_ParentPropName="CourseRow" msprop:Generator_ChildPropName="GetCourseGradeRows" />
- <msdata:Relationship name="FK_CourseGrade_Student" msdata:parent="Person" msdata:child="CourseGrade" msdata:parentkey="PersonID" msdata:childkey="StudentID" msprop:Generator_UserRelationName="FK_CourseGrade_Student" msprop:Generator_RelationVarName="relationFK_CourseGrade_Student" msprop:Generator_UserChildTable="CourseGrade" msprop:Generator_UserParentTable="Person" msprop:Generator_ParentPropName="PersonRow" msprop:Generator_ChildPropName="GetCourseGradeRows" />
- <msdata:Relationship name="FK_CourseInstructor_Course" msdata:parent="Course" msdata:child="CourseInstructor" msdata:parentkey="CourseID" msdata:childkey="CourseID" msprop:Generator_UserRelationName="FK_CourseInstructor_Course" msprop:Generator_RelationVarName="relationFK_CourseInstructor_Course" msprop:Generator_UserChildTable="CourseInstructor" msprop:Generator_UserParentTable="Course" msprop:Generator_ParentPropName="CourseRow" msprop:Generator_ChildPropName="GetCourseInstructorRows" />
- <msdata:Relationship name="FK_CourseInstructor_Person" msdata:parent="Person" msdata:child="CourseInstructor" msdata:parentkey="PersonID" msdata:childkey="PersonID" msprop:Generator_UserRelationName="FK_CourseInstructor_Person" msprop:Generator_RelationVarName="relationFK_CourseInstructor_Person" msprop:Generator_UserChildTable="CourseInstructor" msprop:Generator_UserParentTable="Person" msprop:Generator_ParentPropName="PersonRow" msprop:Generator_ChildPropName="GetCourseInstructorRows" />
- <msdata:Relationship name="FK_OfficeAssignment_Person" msdata:parent="Person" msdata:child="OfficeAssignment" msdata:parentkey="PersonID" msdata:childkey="InstructorID" msprop:Generator_UserRelationName="FK_OfficeAssignment_Person" msprop:Generator_RelationVarName="relationFK_OfficeAssignment_Person" msprop:Generator_UserChildTable="OfficeAssignment" msprop:Generator_UserParentTable="Person" msprop:Generator_ParentPropName="PersonRow" msprop:Generator_ChildPropName="GetOfficeAssignmentRows" />
- <msdata:Relationship name="FK_OnlineCourse_Course" msdata:parent="Course" msdata:child="OnlineCourse" msdata:parentkey="CourseID" msdata:childkey="CourseID" msprop:Generator_UserRelationName="FK_OnlineCourse_Course" msprop:Generator_RelationVarName="relationFK_OnlineCourse_Course" msprop:Generator_UserChildTable="OnlineCourse" msprop:Generator_UserParentTable="Course" msprop:Generator_ParentPropName="CourseRow" msprop:Generator_ChildPropName="GetOnlineCourseRows" />
- <msdata:Relationship name="FK_OnsiteCourse_Course" msdata:parent="Course" msdata:child="OnsiteCourse" msdata:parentkey="CourseID" msdata:childkey="CourseID" msprop:Generator_UserRelationName="FK_OnsiteCourse_Course" msprop:Generator_RelationVarName="relationFK_OnsiteCourse_Course" msprop:Generator_UserChildTable="OnsiteCourse" msprop:Generator_UserParentTable="Course" msprop:Generator_ParentPropName="CourseRow" msprop:Generator_ChildPropName="GetOnsiteCourseRows" />
- </xs:appinfo>
- </xs:annotation>
- </xs:schema>