Public Function SetForeignKeys (Of T,TU)( _ ByVal parentObject As T, _ ByVal childObjects As List(Of TU) _ ) As Boolean
Dim instance As ObjectCrud Dim parentObject As T Dim childObjects As List(Of TU) Dim value As Boolean value = instance.SetForeignKeys(Of T, TU)(parentObject, childObjects)
public bool SetForeignKeys<T,TU>( T parentObject, List<TU> childObjects )
public: bool SetForeignKeys<T,TU>( T* parentObject, List<TU*>* childObjects )
public: bool SetForeignKeysgeneric<typename T> generic<typename TU> ( T^ parentObject, List<TU^>^ childObjects )
Parameters
- parentObject
- The parent object
- childObjects
- A list of child objects
Type Parameters
- T
- Generic class type
- TU
Return Value
True if a foreign primaryKey was found