public virtual IStorageEngine GetClientStorageEngine(IBaseIdentification baseIdentification) { if (baseIdentification is NeoDatis.Odb.Core.Layers.Layer3.IOFileParameter) { return new NeoDatis.Odb.Impl.Core.Layers.Layer3.Engine.LocalStorageEngine(baseIdentification ); } if (baseIdentification is NeoDatis.Odb.Core.Layers.Layer3.IOSocketParameter) { NeoDatis.Odb.Core.Layers.Layer3.IOSocketParameter p = (NeoDatis.Odb.Core.Layers.Layer3.IOSocketParameter )baseIdentification; return new NeoDatis.Odb.Impl.Core.Server.Layers.Layer3.Engine.ClientStorageEngine (p); } throw new NeoDatis.Odb.ODBRuntimeException(NeoDatis.Odb.Core.NeoDatisError.UnsupportedIoType .AddParameter(baseIdentification.ToString())); }
public virtual IStorageEngine GetClientStorageEngine(IBaseIdentification baseIdentification) { if (baseIdentification is NeoDatis.Odb.Core.Layers.Layer3.IOFileParameter) { return(new NeoDatis.Odb.Impl.Core.Layers.Layer3.Engine.LocalStorageEngine(baseIdentification )); } if (baseIdentification is NeoDatis.Odb.Core.Layers.Layer3.IOSocketParameter) { NeoDatis.Odb.Core.Layers.Layer3.IOSocketParameter p = (NeoDatis.Odb.Core.Layers.Layer3.IOSocketParameter )baseIdentification; return(new NeoDatis.Odb.Impl.Core.Server.Layers.Layer3.Engine.ClientStorageEngine (p)); } throw new NeoDatis.Odb.ODBRuntimeException(NeoDatis.Odb.Core.NeoDatisError.UnsupportedIoType .AddParameter(baseIdentification.ToString())); }
public ExtendedLocalStorageEngine(IBaseIdentification parameters) : base(parameters) { provider = new ExtendedCoreProvider(); }
public override IStorageEngine GetClientStorageEngine(IBaseIdentification baseIdentification) { return new ExtendedLocalStorageEngine(baseIdentification); }