コード例 #1
0
ファイル: EntityHelper.cs プロジェクト: aoki1210/kigg
        internal static void EnsureEntityCollectionLoaded <TInterface>(IEntityCollection <TInterface> entityCollection)
            where TInterface : class
        {
            Check.Argument.IsNotNull(entityCollection, "entityCollection");

            if (entityCollection == null || entityCollection.IsLoaded)
            {
                return;
            }

            entityCollection.Load();
        }