摘要 在.NET平台下利用LINQ的一系列特性以及LINQ to Entities框架建立对象关系映射模型,从而实现SQLite数据库的快速操作。台站地面综合观测业务软件(ISOS)中的气象观测业务软件(MOI)采用SQLite数据库作为本地数据的存储方式,利用传统的数据库访问技术对SQLite数据库进行二次开发,其过程复杂、易出错。由于LINQ技术具有编码快速、代码可读性强、数据访问性能高、后期代码维护方便的优点,使得开发者更易上手。LINQ技术为二次开发利用气象台站的本地SQLite数据库提供了一条快捷途径。
Abstract:Utilizing a series of characteristics of LINQ in .NET platform and LINQ to Entities framework,the object-relation mapping model is established in order to fast operate SQLite database.The meteorological observation business software (MOI) of integrated surface observation system adopts the SQLite database for storing local data.The process of secondary development for SQLite database by using traditional database access technology is complicated and error-prone.Because of the advantages of LINQ technology such as coding fast,code readable,high data access performance and post code maintenance handily,it allows developers more approachable.LINQ technology provides a quick way for secondary utilization of the local SQLite database at meteorological stations.