public override string GetStoreType(EdmProperty property) { switch (property.TypeUsage.EdmType.Name) { case "datetime": return("DATE"); case "int": return("NUMBER"); case "numeric": return(property.ToStoreType().Replace("numeric", "NUMBER")); case "nvarchar": return(property.ToStoreType().Replace("nvarchar", "VARCHAR2")); default: return(base.GetStoreType(property)); } }
public override string GetStoreType(EdmProperty property) { switch (property.TypeUsage.EdmType.Name) { case "datetime": return("TIMESTAMP"); case "nvarchar": return(property.ToStoreType().Replace("nvarchar", "VARCHAR")); default: return(base.GetStoreType(property)); } }
public virtual string GetStoreType(EdmProperty property) { return(property.ToStoreType().ToUpper()); }