mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-26 19:31:29 +01:00
CSInto unit tests
This commit is contained in:
@@ -41,6 +41,17 @@ import CoreData
|
||||
*/
|
||||
public struct Into<T: NSManagedObject>: Hashable {
|
||||
|
||||
/**
|
||||
The associated `NSManagedObject` entity class
|
||||
*/
|
||||
public let entityClass: AnyClass
|
||||
|
||||
/**
|
||||
The `NSPersistentStore` configuration name to associate objects from.
|
||||
May contain a `String` to pertain to a named configuration, or `nil` to pertain to the default configuration
|
||||
*/
|
||||
public let configuration: String?
|
||||
|
||||
/**
|
||||
Initializes an `Into` clause.
|
||||
```
|
||||
@@ -145,8 +156,6 @@ public struct Into<T: NSManagedObject>: Hashable {
|
||||
return "PF_DEFAULT_CONFIGURATION_NAME"
|
||||
}
|
||||
|
||||
internal let entityClass: AnyClass
|
||||
internal let configuration: String?
|
||||
internal let inferStoreIfPossible: Bool
|
||||
|
||||
internal func upcast() -> Into<NSManagedObject> {
|
||||
|
||||
Reference in New Issue
Block a user