哪一个更好?为什么?有人能给我解释一下吗?非常感谢。if($var == 1) echo "text text text..."; //Note: large text like 1MB 或if($var == 1) echo file_get_contents("path/to/file"); //content of this file same as echo text above
在域层中,我有以下两个mongodb集合实体{ public string LeagueName但这意味着在我的服务层,它需要了解ObjectId,因此我必须在其中有一个mongoDb引用。所以我的问题是,您是否必须将关系引用存储为ObjectId的一种类型,mongodb中关系的标准是什么?在c#内部