Example #1
0
 public object Create(Type type)
 {
     return(FSGlobalContext.Create(type));
 }
Example #2
0
 /// <summary>
 ///     Creates a new instance. Instance must be saved with SaveChanges
 /// </summary>
 /// <returns>new instance</returns>
 internal T Create()
 {
     return(_global.Create <T>());
 }
Example #3
0
 public TFSEntity Create <TFSEntity>()
     where TFSEntity : class, IDevFrameworkObject
 {
     return(FSGlobalContext.Create <TFSEntity>());
 }