<?xml version="1.0"?>
<Entity>
	<Name>PurchaseFlowCheckList</Name>
	<Type>Single</Type>
	<Table>
		<Name>PurchaseFlowCheckList</Name>
		<Column>
			<Name>PurchaseFlowCheckListCode</Name>
			<DataType>System.String</DataType>
			<IsKey>true</IsKey>
			<IsAllowNull>false</IsAllowNull>
			<ColumnSize>50</ColumnSize>
		</Column>
		<Column>
			<Name>CheckListName</Name>
			<DataType>System.String</DataType>
			<IsKey>false</IsKey>
			<IsAllowNull>true</IsAllowNull>
			<ColumnSize>50</ColumnSize>
		</Column>
		<Column>
			<Name>CheckListChecked</Name>
			<DataType>System.String</DataType>
			<IsKey>false</IsKey>
			<IsAllowNull>true</IsAllowNull>
			<ColumnSize>50</ColumnSize>
		</Column>
		<Column>
			<Name>PurchaseCode</Name>
			<DataType>System.String</DataType>
			<IsKey>false</IsKey>
			<IsAllowNull>true</IsAllowNull>
			<ColumnSize>50</ColumnSize>
		</Column>
		<Sql>
			<Name>Select</Name>
			<String>select * from PurchaseFlowCheckList where  PurchaseFlowCheckListCode=@PurchaseFlowCheckListCode</String>
			<CommandType>Text</CommandType>
			<Param>
				<Name>@PurchaseFlowCheckListCode</Name>
				<Column>PurchaseFlowCheckListCode</Column>
				<SqlDbType>VarChar</SqlDbType>
			</Param>
		</Sql>
		<Sql>
			<Name>SelectAll</Name>
			<String>select * from PurchaseFlowCheckList</String>
			<CommandType>Text</CommandType>
		</Sql>
		<Sql>
			<Name>Insert</Name>
			<String> Insert into PurchaseFlowCheckList (  PurchaseFlowCheckListCode, CheckListName, CheckListChecked, PurchaseCode ) values (  @PurchaseFlowCheckListCode, @CheckListName, @CheckListChecked, @PurchaseCode )</String>
			<CommandType>Text</CommandType>
			<Param>
				<Name>@PurchaseFlowCheckListCode</Name>
				<Column>PurchaseFlowCheckListCode</Column>
				<SqlDbType>VarChar</SqlDbType>
			</Param>
			<Param>
				<Name>@CheckListName</Name>
				<Column>CheckListName</Column>
				<SqlDbType>VarChar</SqlDbType>
			</Param>
			<Param>
				<Name>@CheckListChecked</Name>
				<Column>CheckListChecked</Column>
				<SqlDbType>VarChar</SqlDbType>
			</Param>
			<Param>
				<Name>@PurchaseCode</Name>
				<Column>PurchaseCode</Column>
				<SqlDbType>VarChar</SqlDbType>
			</Param>
		</Sql>
		<Sql>
			<Name>Update</Name>
			<String> Update PurchaseFlowCheckList set CheckListName=@CheckListName,CheckListChecked=@CheckListChecked,PurchaseCode=@PurchaseCode where  PurchaseFlowCheckListCode=@PurchaseFlowCheckListCode</String>
			<CommandType>Text</CommandType>
			<Param>
				<Name>@PurchaseFlowCheckListCode</Name>
				<Column>PurchaseFlowCheckListCode</Column>
				<SqlDbType>VarChar</SqlDbType>
			</Param>
			<Param>
				<Name>@CheckListName</Name>
				<Column>CheckListName</Column>
				<SqlDbType>VarChar</SqlDbType>
			</Param>
			<Param>
				<Name>@CheckListChecked</Name>
				<Column>CheckListChecked</Column>
				<SqlDbType>VarChar</SqlDbType>
			</Param>
			<Param>
				<Name>@PurchaseCode</Name>
				<Column>PurchaseCode</Column>
				<SqlDbType>VarChar</SqlDbType>
			</Param>
		</Sql>
		<Sql>
			<Name>Delete</Name>
			<String> Delete from PurchaseFlowCheckList  where  PurchaseFlowCheckListCode=@PurchaseFlowCheckListCode</String>
			<CommandType>Text</CommandType>
			<Param>
				<Name>@PurchaseFlowCheckListCode</Name>
				<Column>PurchaseFlowCheckListCode</Column>
				<SqlDbType>VarChar</SqlDbType>
			</Param>
		</Sql>
	</Table>
</Entity>