Class Repository
Base class for custom repositories
			 public 
			
			
			
		 | 
		|
			 public 
			integer
			
			
		 | 
		
		#
		 persist( 
		Stored modified fields of entity into database and creates new row in database when entity is in detached state  | 
	
			 public 
			
			
			
		 | 
		
		#
		 delete( 
		Removes given entity (or entity with given id) from database  | 
	
			 protected 
			mixed
			
			
		 | 
		
		#
		 createEntity( DibiRow $row, string|null $entityClass = null, string|null $table = null )
		Helps to create entity instance from given DibiRow instance  | 
	
			 protected 
			array
			
			
		 | 
		
		#
		 createEntities( array $rows, string|null $entityClass = null, string|null $table = null )
		Helps to create array of entites from given array of DibiRow instances  | 
	
			 protected 
			string
			
			
		 | 
		|
			 protected 
			string
			
			
		 | 
		
			public static 
			string
		 | 
		
				$defaultEntityNamespace
			 | 
		
			 
				#
				 
		'Model\Entity'
			 | 
	
			protected  
			DibiConnection
		 | 
		
				$connection
			 | 
		|
			protected  
			string
		 | 
		
				$table
			 | 
		|
			protected  
			string
		 | 
		
				$entityClass
			 |